EXIT CONSTRUCT instruction

The EXIT CONSTRUCT instruction terminates the CONSTRUCT instruction and resumes the program execution at the instruction following the CONSTRUCT block.

CONSTRUCT BY NAME where_part ON ...
  ...
  ON ACTION exit_now
    EXIT CONSTRUCT
  ...
END CONSTRUCT

Performing an EXIT CONSTRUCT instruction during a dialog is equivalent to canceling the dialog: No field validation will occur, and the AFTER FIELD or AFTER CONSTRUCT blocks will not be executed.

EXIT CONSTRUCT does not set int_flag to TRUE as when the cancel action is fired.

The EXIT CONSTRUCT instruction can only be used in a singular CONSTRUCT dialog, it cannot be used in a DIALOG / END DIALOG multiple dialog block.