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 create Application Log

bikash_bansal
Advisor
Advisor
0 Kudos

Hi,

I have written a report which gathers errors in a test data container.

These errors are stored in a internal table of type stringtab.

I want to create a Application Log of these errors so that the user can

view it at a later time.

Are there predefined function modules available in ABAP for creating and viewing log?

Kindly provide me the details.

Regards,

Bikash.

4 REPLIES 4

Former Member
0 Kudos

What u can do is...u can store all these logs in a string type internal table and use GUI_DOWNLOAD for downloading the file from the internal table.

Reward if helpful.

Kartavya

Former Member
0 Kudos

Hi,

Try this function module:

APPL_LOG_WRITE_MESSAGES

Thanks and Best Regards,

Vikas Bittera.

Former Member
0 Kudos

Hi Bikash,

Please go through following link :-

<u>/people/kamalkumar.ramakrishnan/blog/2007/01/10/a-primer-on-using-and-creating-sap-application-log

Reward Points if useful.

Regards,

Monika

0 Kudos

Hi Monika,

Is it necessary to add messages from message class in

BAL_LOG_MSG_ADD --> Put message in log.

Is there any way where a string can also be added and viewed from a application

log?

For my use case i actually have a stringtab for which i want to have a log.

Regards,

Bikash.