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: 

How to log information in ABAP program?

Former Member
0 Kudos

I used to work with other logging frameworks like log4j in Java. Is there any feature in ABAP which I can use to log information and view it later? Thanks!

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

Hello Anthony

The links provided by the previous postings give you in-depth details about application logging.

However, there is simpler way to do the logging by using the ultimate message handler IF_RECA_MESSAGE_LIST.

This interface provides you with all the required methods yet hides almost all of the complexity from its user.

For a sample report you may have a look at my Wiki posting

[Message Handling - Finding the Needle in the Haystack|https://wiki.sdn.sap.com/wiki/display/profile/2007/07/09/MessageHandling-FindingtheNeedleintheHaystack]

Regards

Uwe

5 REPLIES 5

Former Member
0 Kudos

Hi,

yes there is a logging function in ABAP.

Here is explained how it works:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70bfbaf6-0d01-0010-9581-815adc6d...

Regards,

Martin

former_member194669
Active Contributor
0 Kudos

Check demo program SBAL_DEMO_01

naimesh_patel
Active Contributor
0 Kudos

Check this: [Generate Application Log|http://help-abap.blogspot.com/2008/10/generate-application-log.html]

Regards,

Naimesh Patel

uwe_schieferstein
Active Contributor
0 Kudos

Hello Anthony

The links provided by the previous postings give you in-depth details about application logging.

However, there is simpler way to do the logging by using the ultimate message handler IF_RECA_MESSAGE_LIST.

This interface provides you with all the required methods yet hides almost all of the complexity from its user.

For a sample report you may have a look at my Wiki posting

[Message Handling - Finding the Needle in the Haystack|https://wiki.sdn.sap.com/wiki/display/profile/2007/07/09/MessageHandling-FindingtheNeedleintheHaystack]

Regards

Uwe

Former Member
0 Kudos

Thank you very much!