Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Application logging in SLG1..

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

Please refer to the below thread and look for Sandra Rossi's answer