Skip to Content
0
Former Member
Aug 25, 2010 at 12:05 PM

Error Message Handling

21 Views

Hi,

I am trying to execute the below code resulting in a 'refernce to null'. Could any one please help me with some sample code.

DATA : IM_MESSAGE_HANDLER type ref to IF_HRBAS_MESSAGE_HANDLER.

DATA message TYPE symsg.

MESSAGE E015(zhr) WITH 'ERROR MESSAGE' INTO message_dummy1.

MOVE-CORRESPONDING sy TO message.

im_message_handler->add_message( EXPORTING message = message ).

Thanks,

Vind.