ABAP Control Flow Statements CHECK


CHECK is a simple statement that evaluates a logical expression and exits the current processing block if it is false.

METHOD do_something.
  CHECK iv_input IS NOT INITIAL. "Exits method immediately if iv_input is initial

  "The rest of the method is only executed if iv_input is not initial