1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
t_log TYPE bapirettab. MESSAGE e009(zloy) WITH <fs_record>-external_card_nu INTO sv_message. PERFORM bapi_add_sy_message USING abap_true CHANGING t_log. CALL FUNCTION 'SUSR_DISPLAY_LOG' EXPORTING display_in_popup = abap_true TABLES it_log_bapiret2 = t_log. FORM bapi_add_sy_message USING iv_first CHANGING ct_log TYPE bapiret2_t. DATA: ls_log LIKE LINE OF ct_log. FIELD-SYMBOLS: <ls_log> LIKE LINE OF ct_log. IF iv_first = abap_false. APPEND INITIAL LINE TO ct_log ASSIGNING <ls_log>. <ls_log>-type = sy-msgty. <ls_log>-id = sy-msgid. <ls_log>-number = sy-msgno. <ls_log>-message_v1 = sy-msgv1. <ls_log>-message_v2 = sy-msgv2. <ls_log>-message_v3 = sy-msgv3. <ls_log>-message_v4 = sy-msgv4. ELSE. ls_log-type = sy-msgty. ls_log-id = sy-msgid. ls_log-number = sy-msgno. ls_log-message_v1 = sy-msgv1. ls_log-message_v2 = sy-msgv2. ls_log-message_v3 = sy-msgv3. ls_log-message_v4 = sy-msgv4. APPEND ls_log TO ct_log. ENDIF. ENDFORM. |
1 |
C14ALD_BAPIRET2_SHOW |