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: 

Using Change Document for table Z*

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

0 Kudos

Could you tell me more detail about this table and what should I do.

Thanks,

Hengky

Former Member
0 Kudos

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

varma_narayana
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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