05-14-2009 6:01 AM
Dear Gurus,
As per my requirement, I've a Z-table which will be huge. Now, after the records are frozen into the Z table and later for some other purpose if the user wants to change the records, then the log of Old and New records should be saved under CDPOS table. And a report will be displayed by fetching the old and new values from CDPOS table.
But the initial requirement would be creation of Object Class just like - EINKBELEG.
I want to know where exactly the Object Class is created....
I've checked SCDO ...SDCC..... and checking the Log Changes check box in the z-table is not advisable.
If anyone has worked on the same requirement, kindly requested to reply with the same.
Regards,
-Syed.
05-14-2009 6:12 AM
Hi ,
You can create CHANGED OBJECT going to the transaction SCDO .
For more details information check the link bellow - -
[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fwiki%2fsdn_wiki%2fwiki%2fdisplay%2fabap%2fchange%2bdocument]
Regards
Pinaki
05-14-2009 6:10 AM
05-14-2009 6:14 AM
Hi Gayathri,
I know about this table, but can you explain me how to create Object Class using this table???
Regards,
-Syed.
05-14-2009 6:32 AM
Hi Wahid,
Make sure that the data element you have created has the Change Document checkbox checked.
Only then your changes will be reflected.Also check the above wiki for a detailed step by step procedure.
Much Regards,
Amuktha.
05-14-2009 7:02 AM
Hi Amuktha,
I'm using a z table which has standard data elements, some of them are checked and some of them are not.
But the real issue here is to create the Object Class. If I get that, then everything is over.
Thanks,
-Syed.
05-14-2009 7:14 AM
Hi,
for the ztable for which ever fields you had checked for log, did you create any entry from SCDO which will create a function moudule....
if so did you use it in the program.... if you use that function module in the program then only entries in CDHDR and CDPOS will be created and also apart from that the object class will be the object you create for ztable in SCDO transaction...
Hope you understood what i meant...
Regards,
Siddarth
05-14-2009 6:12 AM
hi,
The object class is for Schedule agreements , tr code: me37, me38, me40.
Chandan
05-14-2009 6:12 AM
Hi ,
You can create CHANGED OBJECT going to the transaction SCDO .
For more details information check the link bellow - -
[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fwiki%2fsdn_wiki%2fwiki%2fdisplay%2fabap%2fchange%2bdocument]
Regards
Pinaki
05-14-2009 7:40 AM
Hi Pinaki,
Thanks for the help, I've got the answer and able to work on the requirement now.
Regards,
-Syed.
06-29-2009 7:51 AM
hi wahid,
i have the same requirement as u have got.i want to track the records of original aswell as changed in cdpos or cdhdr.for that like u i have to create an object class.i don't know that could u give me detailed step to step to update the data into those tables.this is a bit urgent.ls help me in this.
regards
bhanu