Sei sulla pagina 1di 4

Change Document – Tables CDHDR and CDPOS

Changes to a lot of SAP documents are stored in table CDHDR and table CDPOS. This
include changes such as: change data in Material Master, changes to Purchase Req (PR),
Purch Orders, Contracts, Sales Orders, and many more.

Lets look at an example where an existing purchase order (PO) is changed.


• Create a PO (number 4500000616)

• Now lets make a change to the PO. Lets change the Short text in item 10 from
"FLOWERS" to "SAP123".

The change information can be see in Purchase Order. Menu: Environment > Item Changes

This changed information are stored in table CDHDR and table CDPOS. Lets see if we can
find it by displaying the table using transaction se16 (display table):
The detail of what was changed is in table CDPOS. The link is via the document number, field
CHANGENR. Lets look at table CDPOS
These tables contains not just PO changes but changes to most SAP documents (accross all
functional areas). So, as you can imagine these tables get huge. Entries in tables are grouped
by Object Class (field OBJECTCLAS -- Change doc object). Some of these options include:

OBJECTCLAS - transaction (fields in CDHDR)


• ADRESSE - xk01

• ADRESSE3 - su01

• BANF - me54n

• BELEG - vf21

• BETRIEB - vd02

• COND_A - me31k

• DEBI - xd02

• EINKBELEG - me22n <<< example above

• ENTRYSHEET - ml85

• FEATURE - ct04

• INCOMINGINVOICE - mrbr

• INFOSATZ - me13

• KLASSE - cl02
• KRED - xk02

• LIEFERUNG - vl03n

• MATERIAL - mm01

• MM_SERVICE - me22n

• MRP_AREA - mm01

• NRINTERVAL - omh6

• PFCG - pfcg

• REVISION - me32k

• SACH - fs00

• SPEC_TMP - ml10

• STLV - ml02

• VASMD - ac03

• VERKBELEG - va02

• .... etc

Additional notes

Some systems have T-code AUT10 set up. This is an audit trail report in which you
can request to see the effects of any 'change data' transactions, held in tables CDHDR
and CDPOS, through a user-friendly front screen. Selection by a combination of T-
code, date, user, data table, data field, etc, can be made. The change shows the 'before'
and 'after' content of each data field changed by the transaction. AUT10 is usally
configured for businesses that require highly sophisticated change management
controls (pharmaceutical, medical, aerospace, etc). This is not available on 4.6C

Program RSSCD100 is a SAP standard to look at change history, you


need to use the object class as shown above

Potrebbero piacerti anche