06-22-2007 6:06 AM
Does anybody have experience in using Change Doc for table Z.
I want to track all changing in my Z table. the changing can be via program, tcode SM31, SE16.
I have try to use/create change doc for my table, but I got stuck, The log of changing isn't created. If there is anybody, have experience in create change doc, please share the steps of creating.
Hengky
06-22-2007 6:08 AM
Hi,
To Know if the change document pertains to a Insert / Update / Delete you can use the Table BDCP
the field CDCHGID gives the--> Change type (U, I, E, D)
<b>Reward points</b>
Regards
06-22-2007 6:42 AM
Could you tell me more detail about this table and what should I do.
Thanks,
Hengky
06-22-2007 7:45 AM
Hi
Check the Tcode SCDO for creating the Change documents
You have to Click the button LOG DATA CHANGES in the technical settings of your table.
Also check the tables CDHDR and CDPOS to know the Field wise tableswise changes for your table.
Reward points for useful Answers
Regards
Anji
06-22-2007 8:04 AM
Hi,
To generate Change docs for ur Z table follow these steps
1)in Tcode SE11
For the data elements of the respective fields which has to trigger change documents: you have to set the attribute Change Document(checkbox selection)
in the Further characterisitics tab of the DE)
2) Create a Change Doc Object for the table in Tcode SCDO
Check out the Programs / includes that it will generate
3) Generate the Table maintenance for ur table in SE54.
Goto the function group and insert the Change document logic.
Note:
"Commit work" is required after calling the Change doc function since it is called using Update Task.
4)Same way you have to add this change doc call in any program also.
Regards.
Varma
06-22-2007 12:09 PM
Hi , friend ...
Here is the programs for change log displaying in the Format ofWhich ever you want you can take print out also .
<b>
RSVTPROT -> Evaluation of change logs
RSWBO052 -> Change Object Directory Entries
</b>
reward points if it is usefull
Girish