Skip to Content
0
Former Member
Jun 14, 2011 at 07:23 PM

Application logging in SLG1..

49 Views

Hello Gurus,

I want to know how can I insert message to application log through ABAP. In one of the programs following condition occurs. When this happens , I want the error message to be written to error log so that later it can be accessed by SLG1 T-code.

IF SY-SUBRC <> 0.

lv_error_msg = 'User Workitem creation failed'.

ENDIF.

Please help.

Regards,

Tushar.