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

hymavathi_oruganti
Active Contributor
0 Likes
1,600

Can any one explain me when can and how can i make use of application log facility.

I have gone through SLG0 and SLG1 but i am not clear.

Can we get the logs of a database table by making use of this application logging facility?

Should logging check box be activated for this or we can get the log details even if logging in technical seetings is not active?

Please let me know the details.

Thanks and Regards,

Hyma

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,120

When you mark the check box in technical settings , the logs will be available in table DBTABLOG.

7 REPLIES 7
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,121

When you mark the check box in technical settings , the logs will be available in table DBTABLOG.

Read only

0 Likes
1,120

Hi Keshav,

Thanks for the reply.

That i know.When we mark check box we ca see the logs in scu3 as well.

My question is reagrding application log facility.

Thanks,

Hyma

Read only

Former Member
0 Likes
1,120

Hi,

Did you try debugging program SAPLSLG3 ? Also, check out this function module - APPL_LOG_DISPLAY_WITH_LOGNO.

Regards,

Danish.

Read only

Former Member
0 Likes
1,120

Application Log is not just for database table change log, for example, in SCM there are many jobs/process chains runs in the system with huge number of data for planning/ordering etc etc... Now if some of the job or process chain fails then you can have the perticular prodcut/location for which the error happned( not like back ground job failure) from that log.. it will give you all the record wise analysis.. based on configaration in application log , u can have details log, only header log etc.

Read only

Phillip_Morgan
Contributor
0 Likes
1,120

I do not understand what your question is.

Basically, if you want to use it in the standard, it must have been implemented technically and you will need to look for a customizing setting to activate it (or it already is logging and you need object and sub-object to list log in SLG1).

Otherwise, if you want to implement it in a custom development you should look at examples using functions from function groups SLG0, SLG1, SLG2, SLG3, SLG9. These are functions for creating, modifying, and reading logs.

phillip

Read only

0 Likes
1,120

actually my question is,

whether i can catch the modifications done to a dbatable thru a custom program.

I have used the FM "APPL_LOG_READ_DB".

I have passed object,subobject etc.

But it returned nothing.

I am doing a modify to a database table using modify statement.

I am calling tis FM right down that.

My intention is to catch the logs.

Can i get logs using the above FM

Read only

0 Likes
1,120

That is a different story.

You want to log the modifications done to one or more custom tables. You should look into change documents. This system is used by SAP in all modules (look at changes on sales contract). The changes are written to tables CDHDR and CDPOS.

There is customizing to do in SCDO and function modules to integrate in your application.

Look [here|http://help.sap.com/saphelp_nw70/helpdata/en/c7/69bccff36611d3a6510000e835363f/frameset.htm] for a start.