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: 

Object Class of CDHDR & CDPOS

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

9 REPLIES 9

Former Member
0 Kudos

Check this table TCDOB - Objects for change document creation

0 Kudos

Hi Gayathri,

I know about this table, but can you explain me how to create Object Class using this table???

Regards,

-Syed.

0 Kudos

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.

0 Kudos

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.

0 Kudos

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

former_member1240896
Participant
0 Kudos

hi,

The object class is for Schedule agreements , tr code: me37, me38, me40.

Chandan

Former Member
0 Kudos

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

0 Kudos

Hi Pinaki,

Thanks for the help, I've got the answer and able to work on the requirement now.

Regards,

-Syed.

0 Kudos

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