SAP Message 40539 - Select the end of the block

Diagnosis
You have flagged the start of the block.

Procedure
Please flag the end of the block.