ACCEPT INPUT instruction

The ACCEPT INPUT instruction validates the INPUT instruction and exits the dialog block if no error is raised.

The AFTER FIELD, ON CHANGE, etc. control blocks will be executed.

The statements after the ACCEPT INPUT instruction will not be executed.
INPUT BY NAME cust_rec.*
  ...
  ON ACTION process_order
    CALL set_missing_defaults()
    ACCEPT INPUT
  ...
END INPUT

The INPUT instruction creates the default accept action to let the user validate the dialog. Use of the ACCEPT INPUT instruction is recommended only in specific cases when the default accept action is not appropriated.