Code: Alles auswählen.
mmpur_message_forced 'W' 'ME' '303' text-001 text-004 '' ''.
Code: Alles auswählen.
CALL METHOD cl_message_handler_mm=>get_handler
IMPORTING
ex_handler = l_msg_handler.
" Liste mit Nachrichten
CALL METHOD l_msg_handler->getlist
IMPORTING
ex_events = lt_events[].
LOOP AT lt_events INTO ls_event.
" nach Nachricht suchen
IF ls_event-signature = 'ZME20610'.
" удаляю
CALL METHOD l_msg_handler->remove
EXPORTING
im_event_obj = ls_event-event_obj.
ENDIF.
ENDLOOP.