TYPES: BEGIN OF esp1_message_wa_type, msgid LIKE sy-msgid, msgty LIKE sy-msgty, msgno LIKE sy-msgno, msgv1 LIKE sy-msgv1, msgv2 LIKE sy-msgv2, msgv3 LIKE sy-msgv3, msgv4 LIKE sy-msgv4, lineno LIKE mesg-zeile, END OF esp1_message_wa_type.
DATA: lt_message_popup TYPE TABLE OF esp1_message_wa_type. DATA: lt_bapiret_tab TYPE TABLE OF bapiret2. " BAPIRETTAB
FIELD-SYMBOLS: <fs_bapiret> like LINE OF lt_bapiret_tab. FIELD-SYMBOLS: <fs_message> like LINE OF lt_message_popup.
LOOP AT lt_bapiret_tab ASSIGNING <fs_bapiret> WHERE type is NOT INITIAL. " avoid dumb for none relevant message
Social Plugin