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: 

CDHDR and CDPOS - for Inserts

Former Member
0 Kudos
472

I have noticed in or R3 system that when a sales order is created(TRANSACTION VA01), inserts to the Sales Order Partner table, VBPA, (OBJECTCLAS = VERKBELEG) are not recorded in the CDHDR and CDPOS tables. However any changes to a partner are recorded with a "U" Change Indicator and an old value, new value. Is there some configuration somewhere that will write the "I"nsert values to these tables, or are they (as the name implies, only for changes?

2 REPLIES 2

Former Member
0 Kudos
160

These tables are only used for recording changes done in SAP transaction.No new entries can be inserted in these tables.You can use the FMs CHANGEDOCUMENT_READ_HEADERS and CHANGEDOCUMENT_READ_POSITIONS to read these tables.

0 Kudos
160

... not completely.

It depends on the way the tables are written. Most applications record only changes, but not all of them.

I just found a couple of INSERT records for objectclass EINKBELEG, INFOSATZ, DEBI, KRED and others.

But values are not recorded, just the table key.

regards,

Clemens