Quantcast
Channel: SCN : Popular Discussions - Code Exchange
Viewing all articles
Browse latest Browse all 1399

Dump in cl_message_handler_mm Remove method

$
0
0

Hi all,

         

     i'm encountering an error in method Remove of class cl_message_handler_mm.

 

here's its logic statements inside.

 

METHOD remove.

*

   DATA: l_event     LIKE LINE OF events.

 

   LOOP AT events INTO l_event WHERE event_obj = im_event_obj.

     IF configuration-keep_deleted_events EQ mmpur_yes.

       INSERT l_event INTO deleted_events[].

     ENDIF.

     DELETE events.

   ENDLOOP.

 

   DELETE current_events WHERE event_obj = im_event_obj.

 

ENDMETHOD.

 

in the INSERT l_event INTO deleted_events[]. line it's getting a dump. What is was trying to do is remove an error message upon meeting the conditions set. it was in tcode me21n for my additional tab with custom fields.

 

Thanks for your replies in advance.


Viewing all articles
Browse latest Browse all 1399

Trending Articles