Application Development and Automation 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: 
Read only

Application log - SLG1

Former Member
0 Likes
1,446

Hi,

I am using MIGO transaction for Goods receipt and a output type is associated for this. The output type triggers a routine where another document is being created using a idoc. Now the requirement is to update the Application Log if there is any error in the idoc. How do i add entries in Application log so that the error details can viewed in SLG1.

Currently iam just updating the NAST protocol for the document.

Thanks....

Anand

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
824

Is there somewhere you can add custom coding into these steps?

If so, determine the Object and Subobject for this process, otherwise create an object / subobject in transaction SLG0. Now there are several ways of adding messages for the application log. BUt have a look at this first:

http://help.sap.com/saphelp_nw70/helpdata/EN/2a/fa0216493111d182b70000e829fbfe/frameset.htm

Read only

Former Member
0 Likes
824

Hi Micky,

Thanks for the reply. Yes its a custom code and i can modify the program to create the log.

Thanks..

Anand

Read only

Sm1tje
Active Contributor
0 Likes
824

Well, than I would suggest to have a look at the link I gave you and create an Object / Subobject in transaction SLG0.

When issueing a message using the function modules from Function group SBAL, you should use these Object/subobjects.

Also have a look at demo reports from Package SZAL.

Good luck.