DATA: i_smesg TYPE tsmesg WITH HEADER LINE. i_smesg-msgty = 'E'. i_smesg-arbgb = '00'. i_smesg-txtnr = '001'. i_smesg-msgv1 = 'test1'. i_smesg-msgv2 = '箱码未扫描装车'. i_smesg-msgv3 = ''. APPEND i_smesg. IF i_smesg[] IS NOT The INITIAL . The CLEAR i_smesg. I_smesg -msgty = ' E ' . I_smesg -arbgb = ' 00 ' . I_smesg -txtnr = ' 001 ' . I_smesg -msgv1 = ' The following code is not scanned loading box ' . The INSERT i_smesg the INDEX . 1 . The CALL the FUNCTION ' FB_MESSAGES_DISPLAY_POPUP ' EXPORTING it_smesg = i_smesg [] the EXCEPTIONS no_messages =1 popup_cancelled = 2 OTHERS = 3. IF sy-subrc <> 0. RETURN. ENDIF. ENDIF.