Friday, March 23, 2018

ABAP Messages

If there is an output message coming in the below format
 message id sy-msgid type 'S' number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

You can actually pas the whole message into a text variable using INTO
 message id sy-msgid type 'S' number sy-msgno  INTO DATA(lv_error_text)
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

No comments:

Post a Comment