‎2008 Feb 05 2:59 AM
Hi,
I have created a custom table with maintenance table view SM30.
If I checked "Change Document" for the data elements in SE11 and necessary settings in SCD0, will I be able to see the changes in "Change Log" under "Utilities" in the menu bar of SM30?
If not, how will we be able to access the change logs other than going directly to SE11? I supposed I have to add a change log button manually?
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 25, 2008 1:48 PM
‎2008 Feb 05 3:09 AM
‎2008 Feb 05 3:17 AM
>
> If I checked "Change Document" for the data elements in SE11 and necessary settings in SCD0, will I be able to see the changes in "Change Log" under "Utilities" in the menu bar of SM30?
Yes, you will be able to see the change documents (change logs) but before you activate a table for change logs please make sure your table does not contain transactional data which are normally changed quite often by the users as a result the change documents will grow in size and can have adverse effect on the system. Normally one would activate the change logs in a master data table where data is not often changed/added/deleted.
Cheers,
Sougata.
‎2008 Feb 06 5:02 AM
Thanks for the replies.
Yes, the table does not contain transactional data and is not updated frequently.
Actually I still do not quite understand how it works.
After going through SCDO, I have a function module Z...WRITE_DOCUMENT to make entries in document history tables.
Where do I insert the codes? Inside the maintenance table function group's PAI?
Is there a good guide somewhere which I can refer to?
‎2008 Feb 08 7:21 AM
I have been searching SDN and it seems that any changes would be stored in tables CDPOS and CDHRD. Since user cannot access SE16, how will they see the changes via maintenance table SM30?
Am I in the right direction or am I missing something?
‎2008 Apr 25 1:57 PM
Hi,
You seem to have hit two different things.
Change Documents and Change logs.
Change documents - This contains documents giving change information for objects (can be collection of objects/structures). The enabling is governed by first setting the Change Document attribute at Data Element level.
The change doc obj needs to be maintained in SCDO, where you mentioned which table(s) you wish to write CD for, and then generate the object. It in turn generates a function module for you. You are expected to call this fm in all the applications where you call and maintain your objects (tables). You can view the same using the report RSSCD100 (formatted read of data present in CDPOS and CDHRD).
Change Logs - these are log information written for customizing objects which can be accessed and read from txn SCU3. For this, you need to enable the 'Log Data Changes' in the technical settings at table level. Further, you need to enable system-wide logging using RZ11 txn (parameter rec/client).
Set the last 3 parameters to the required client.
*This may turn to be a costly affair since log will start getting registered for all objects (tables) where logging is enabled. You may want to check the system load before such a step!
Cheers
Rekha