Handling error message

IF sy-subrc <> 0.
    MESSAGE e100 WITH p_planclass 'YPLANCLASS'
                 INTO l_message.
*   Planning Classification & was not found in master data table
    p_ref_ypc_util->log_sy( syst ).
    p_error = 'X'.
  ENDIF.

Comments

Popular posts from this blog

Export data to xls using OOPS

Factory method ALV sap abap

Delete Selected Record in ALV Report