2008 Jun 08 9:24 PM
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.
2008 Jun 08 9:42 PM
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.
2008 Jun 08 9:51 PM
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