Cursor not allowed outside the dynpro

Message type: E = Error

Message class: 37 - Screen Painter

Message number: 071

Message text: Cursor not allowed outside the dynpro



What causes this issue?

Mark fields and blocks to be moved, cut and copied by positioning the
cursor in the appropriate field or block and pressing F2. You cannot
position the cursor in the command field.

Error message extract from SAP system. Copyright SAP SE.