DATA: lv_ef_continue TYPE boolean.
DATA(it_message) = VALUE bssp_t_message( ( msgid = 'SY' msgty = 'E' msgno = 100 msgv1 = 'Text1' msgv2 = '' msgv3 = '' msgv4 = '' row = 0 fieldname = '' )
( msgid = 'SY' msgty = 'W' msgno = 101 msgv1 = 'Text2' msgv2 = '' msgv3 = '' msgv4 = '' row = 0 fieldname = '' )
( msgid = 'SY' msgty = 'i' msgno = 102 msgv1 = 'Text3' msgv2 = '' msgv3 = '' msgv4 = '' row = 0 fieldname = '' ) ).
CALL FUNCTION 'BSSP2_MESSAGE_POPUP'
EXPORTING
it_message = it_message
if_save_necessary = abap_true
IMPORTING
ef_continue = lv_ef_continue.
IF lv_ef_continue = abap_true.
* Sichern
ELSE.
* Abbrechen
ENDIF.