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 for custom table to use in CDHDR and CDPOS tables.

0 Kudos

Hi All,

I am trying to find the changed data in custom tables through CDHDR and CDPOS tables, But i am unable to find the object class for that custom table.

Could you please advise me on  how to get object class for custom table.

Thanks in advance.

Regards,

Upendra.

1 ACCEPTED SOLUTION

Former Member
6 REPLIES 6

deepak_sharma_sap
Active Participant
0 Kudos

Hi,

Please check the table TCDOB.

Thanks

Deepak

0 Kudos

I tried TCDOB but i didn't get object class for custom table

Former Member

0 Kudos

Is there any other way to see the modified data instead of change header and change positon tables

Hi Upendra,

no, if you want to check the modified data, the only standard solution is to create in SCDO your Change Document with its FMs, to use those FMs in the reports which updates the custom tables to write change documents and then read it from CDHDR and CDPOS.

A custom and ugly solution is to create your own historical table, with the same structure of your Z one + date, time, user as additional key and save it each time you change your custom table.

But it's a really ugly solution: my suggestion is to stick with the standard one.

raymond_giuseppi
Active Contributor
0 Kudos

Change documents are customized (SCDO) and coded, don't confuse with Table change log (where only some ddic flags and a system parameter are required) here an Abaper is required.

Read first some documentation like BC Extended Applications Function Library, Change Documents, Concept, Procedure, Defining Change Document Objects, Set change document flag, Generate Update and INCLUDE Objects, Integrating the functionality into the program.

Regards,

Raymond