2007 Sep 03 6:33 AM
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.
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.
2007 Sep 03 6:37 AM
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
2007 Sep 03 6:43 AM
Hi,
Try this function module:
APPL_LOG_WRITE_MESSAGES
Thanks and Best Regards,
Vikas Bittera.
2007 Sep 03 6:46 AM
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
2007 Sep 03 11:09 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |