校验

CHECK 是一个简单的语句,用于计算逻辑表达式,如果为假,则退出当前处理块。

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
ENDMETHOD.