校驗

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.