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 document in data element creation.

Former Member
0 Kudos

Hi all,

I have created a ztable.For some fields i have checked the 'change document' check box in 'Further characteristics' while creating a data element.

This will store change records for changed entries in a table.

Can any body tell me where these records stored?

I think these will sotre in SCDO transaction.But i dont know how can we search those records in SCDO for a perticular table.

Can any body help on this?

Rewards to all.

Thanks

Anu.

1 ACCEPTED SOLUTION

varma_narayana
Active Contributor
0 Kudos

Hi Anupama..

Just by flagging Change Document Option in Data element it will not create any change document entries.

This flag is only a pre requisite to generate the Change documents.

But we have to create a Change document object in Tcode SCDO and

Call the Change document FMs from the Program.

For more info refer to SAP Library on Change documents concept.

<b>reward if Helpful.</b>

4 REPLIES 4

varma_narayana
Active Contributor
0 Kudos

Hi Anupama..

Just by flagging Change Document Option in Data element it will not create any change document entries.

This flag is only a pre requisite to generate the Change documents.

But we have to create a Change document object in Tcode SCDO and

Call the Change document FMs from the Program.

For more info refer to SAP Library on Change documents concept.

<b>reward if Helpful.</b>

Former Member
0 Kudos

Hi,

You need to create a chage document class for your table in SCDO transaction providing your table name. Once this is activated you will get some program and subroutine and Function module get generated. this you can find from the generation info from the transaction. This will also create an entry in table TCDOB.

then from the update program of the table you need to call the subroutine (generated in the above step) passing the new/changed data in x<tablename> and old data in y<tablename> format.

This will create entry in CDHDR AND CDPOS table.

Hope this will help..

0 Kudos

Can you explain some more briefly?

Thanks

Anu.

0 Kudos

Can u explain how can we create object class in SMDO transaction?

Iam not able to create it.

Thanks

Anu.