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: 

Writing to the application log

Former Member
0 Kudos
90

Greetings Abapers

Ive written a program which outputs a csv file with salescode information. As it writes the information to the file, it displays some messages in the bottom left hand corner of the screen but this information is excluded from the file. I want to write this information out to an application log. Please inform me of how to do this. Much appreciated.

2 REPLIES 2

BGarcia
Active Contributor
0 Kudos
65

Hello Lovemore.

There is a very cool article about this in SDN WIKI.

Check it in:

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/using%2bapplication%2blog

Kind regards.

uwe_schieferstein
Active Contributor
0 Kudos
65

Hello

The most elegant way to collect messages within a report or transaction is using interface IF_RECA_MESSAGE_LIST. This interface allows to link the collected messages to the application log.

For a sample report 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