What is SAP CDPOS?

CDPOS is the SAP table that stores change document items: the table, field, old value and new value for each logged change.

CDPOS is the SAP table that stores change document items, holding the table, field, old value and new value for each logged change. In ECC it is physically stored in the CDCLS cluster; in S/4HANA it is a transparent table. Each CDPOS row belongs to a header in CDHDR.

How CDPOS works

A save on a change-logged object creates one CDHDR header and one CDPOS row per changed field. The rows share the key of object class, object ID and change number, then add table name (TABNAME), table key (TABKEY) and field name (FNAME).

VALUE_OLD and VALUE_NEW hold the before and after values as character strings. CHNGIND shows the type of change, such as U for update, I for insert and D for delete. Long or string fields are handled in newer releases by companion tables CDPOS_STR and CDPOS_UID.

Because CDPOS was a cluster table in ECC, you could only select it efficiently with the full header key. That restriction disappears in S/4HANA.

How to query CDPOS correctly

  1. Start in CDHDR. Filter by object class, date range and user to find change numbers.
  2. Read CDPOS in SE16 with OBJECTCLAS, OBJECTID and CHANGENR from step 1.
  3. Add TABNAME and FNAME to narrow to one field, such as bank account in vendor master.
  4. Use RSSCD100 if you need a formatted report rather than raw rows.
  5. For housekeeping, archive change documents with their application object, or with CHANGEDOCU in SARA when none exists.
  6. Run CHANGEDOCU in test mode first and restrict by object class and date.

In ECC, never run SE16 on CDPOS without key fields in production. It scans the whole cluster.

Key parameters

Parameter or field What it controls Recommended setting or note
OBJECTCLAS / OBJECTID / CHANGENR Link to the CDHDR header Always supply in ECC
TABNAME / TABKEY Table and record changed Use TABKEY to find the exact row
FNAME Field changed Filter here for sensitive fields
VALUE_OLD / VALUE_NEW Before and after values Stored as text, so convert for amounts and dates
CHNGIND Change type U, I and D are the most common values
Object Purpose When to use it Status
CDPOS Change document items Field-level audit detail Current
CDHDR Change document header Who and when Current
CDCLS Cluster holding CDPOS ECC storage Obsolete in S/4HANA
CDPOS_STR / CDPOS_UID Long and string field changes Newer releases Current
DBTABLOG Table logging Customizing tables Current

Common issues and troubleshooting

Why does SE16 on CDPOS time out?

In ECC, CDPOS lives in CDCLS and only key fields are usable for selection. Query CDHDR first, then read CDPOS with the full key.

Why are VALUE_OLD and VALUE_NEW blank for an insert?

For inserts, SAP often logs only that the record was created, not every field value. Check the CHNGIND value and the object’s logging settings.

Why is CDCLS one of the largest tables in ECC?

High-frequency changes from interfaces and mass updates. Archive change documents with their application objects or CHANGEDOCU.

CDPOS in S/4HANA migration and decommissioning

CDPOS is where the evidence lives. CDHDR proves a change happened; CDPOS proves what the value was before and after. In fraud investigations, such as a vendor bank account changed and changed back, the old values in CDPOS are the proof.

During conversion, CDCLS is unpacked into transparent CDPOS, which adds runtime for every unarchived year. Left in a retired system without retention, the field-level history is lost. Archive change documents before conversion and retain them with headers in an SAP S/4HANA migration archive.

  • Measure CDCLS size by object class before conversion.
  • Archive closed years of change documents first.
  • Retain CDPOS with CDHDR under the same keys.
  • Keep companion tables for long values.
  • Test reconstructing a bank detail change from the archive.

Frequently asked questions

What is the SAP CDPOS table?

The SAP CDPOS table stores the item level of change documents. Each row records one changed field with its table, key, field name, old value, new value and change type. It is linked to a header in CDHDR and together they form the change history of a business object.

Is CDPOS a cluster table?

In SAP ECC, yes. CDPOS is stored inside the table cluster CDCLS, so efficient selection needs the full header key. In SAP S/4HANA, CDPOS is a transparent table, which makes direct queries and reporting simpler but does not reduce the need to archive old entries.

How do I find old and new values in CDPOS?

Find the change number in CDHDR using object class, object ID and date. Then read CDPOS with that key and the field name. VALUE_OLD and VALUE_NEW show the before and after values as text, so amounts and dates may need conversion.

Why keep CDPOS after decommissioning?

Because it is the only place the previous value of a field is stored. Investigations into payment fraud, price manipulation or master data errors depend on it. Retain CDPOS with CDHDR and the related business records until audit and legal retention periods end.

Further reading

See Also

Ready to put this into practice?

See how Archon helps organizations with compliant archiving and legacy decommissioning.

Talk to us →

Archon © 2026, All rights reserved.