Application Development 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: 

Change log indicator

Former Member
0 Kudos

Hi,

I have turned on "Log data changes" indicator for a Z table. The changes to the table gets logged when I update it through SM30 but not when I do it through my Z program that does a direct update using the "Update" , "Delete" statements. Is there any other setting that I need to do? I am not doing any lock/unlock in the Z program. Could this be the reason?

Regards,

Hari.

3 REPLIES 3

Former Member
0 Kudos

Hi Hari,

The logging takes places only if the parameter rec/client in the system profile is set correctly.

Please check the same.

Award points if helpful

Regards,

Bharati

Former Member
0 Kudos

Hello Hari,

<b>Only selecting the flag(<u><b>Log data changes</b></u> indicator) in the ABAP Dictionary is not sufficient to trigger logging.</b>

You can use logging to record and store modifications to the entries of a table.

To activate logging, the corresponding field(<b>Log data changes</b> indicator) must be selected in the technical settings.

Logging, however, only takes place if the SAP System was started with a profile

containing parameter <b>rec/client</b>. Parameter “rec/client” can have the following settings:

<b>rec/client</b> =ALL All the clients should be logged.

<b>rec/client</b> = 000[...] Only the specified clients should be logged.

<b>rec/client</b> = OFF Logging is deactivated in this system.

The data modifications are logged independently of the update. You can display the

logs with the Transaction Table History (SCU3).

<u><i><b>Reward Points If Useful</b></i></u>

Regards, Srikanth

0 Kudos

Thanks but sadly this does not help. The value of the parameter is 'ALL' and all the fields have log data chnages turned on. But still the chnages are not being logged when i update through the Z transaction. All the chnages that I make through SM30 is getting logged.