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

Who uses Application Logs?

0 Kudos
480

Hey there, I just wanted to understand more about the usage of application logs. Do any of you use it for debugging/analysis purposes of your applications? For those that use it, would you mind explain how you use it etc.

Sorry, I'm pretty much an ABAP newbie.

7 REPLIES 7
Read only

0 Kudos
417

I just also wanted to add, I found the thread that pretty much outlines most of the interfaces into creating an application log, but there's quite a bit of FM's in the groups, so I'd also like it if those who actually use it can tell me which are the most helpful.

And thanks in advance.

Read only

0 Kudos
417

Did you check this <a href="http://help.sap.com/saphelp_47x200/helpdata/en/d6/5d7f38f52f923ae10000009b38f8cf/frameset.htm">SAP Help</a>

Regards,

Suresh Datti

Read only

0 Kudos
417

I used Application Logs to get errors or other messages for RFC Calls etc in most of my Custom BAPIs.

See this\

http://help.sap.com/saphelp_nw04/helpdata/en/3a/c8263712c79958e10000009b38f936/content.htm

It doesnt help you much but definetly gives you some idea.

There are a bunch of function modules to help in getting Application Logs. Theoritically an Application Log is similar to System Log. But System Log is for the whole SAP system where are an Application log is specific to the Custom Object (and sometimes even sub-object) that you create and assign to.

Pros: If improves performance by reducing number of database hits and writing the logs locally.

Cons: A lot of effort is needed for initial setup.

If this helps, award points suitably.

Read only

0 Kudos
417

A very good example would be for getting changes done to Characteristics Dependencies. Since Standard SAP does not give us a way to log changes, we can use application logs. Even in other cases where stansard SAP ddoesnt give us a log or errors/messages/changes/deletes, an application log could be of great help.

Read only

0 Kudos
417

Hi Jam & Suresh,

Thank you thus far for the information you have provided, it has certainly been helpful.

I'm not sure if I should start another thread or not, but a followup question is, is there an alternative to use the Application Logs for the purpose of Debugging/analysis- from a program/FM. I know that you can run performance traces and such, but I'm not sure that this is the most helpful.

Thanks again

Read only

0 Kudos
417

hi michael,

based on the application log we can make many useful decisions.for instance you have an application log which states that the document was not posted.based on this information we can debug our program/transaction again with the respective input to find the cause.application log plays a vital role in sap applications.

Cheers,

Abdul Hakim

Read only

0 Kudos
417

Hi Abdul,

Thanks for your response, I'm basically trying to compile a list of possibilities for logging and tracing API's that are possible in ABAP. Obviously, application logs are a part of it, but wanted to see if there are alternatives.

Thanks again.