09-27-2007 6:18 AM
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.
09-27-2007 6:53 AM
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>
09-27-2007 6:53 AM
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>
09-27-2007 6:59 AM
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..
09-27-2007 1:06 PM
09-27-2007 2:05 PM
Can u explain how can we create object class in SMDO transaction?
Iam not able to create it.
Thanks
Anu.