Q
Problem solve Get help with specific problems with your technologies, process and projects.

Connection between application logs and IDocs

Need to find out how the connection between the log and IDoc is created? Get the answer here.

I know about SAP application logs and have used them in the past in batch programs. Recently I have seen a log connected to an IDoc in the IDoc display (we02). How is the connection between the log and IDoc created?

For example, in a user exit, if I create and write a message to a custom application log, then if it fails in status 51, how do I link the log and the IDoc so the button that allows the log to be viewed is active in the IDoc display transactions?

IDocs are usually processed by some application transaction or BAPI. Many such transactions write an application log. Some IDoc handlers are smart enough to be aware that there is a log file, while some handler might even write its own application log (functions BAL…). You can view the log with transaction SLOG.

Dig Deeper on SAP integration

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close