What is SAP CDHDR?
CDHDR is the SAP table that stores change document headers: which object changed, who changed it and when.
CDHDR is the SAP table that stores the header of every change document: the object class, object ID, user, date, time and transaction behind each change to a business object. It pairs with CDPOS, which holds old and new field values, and together they form SAP’s application-level audit trail.
How CDHDR works
When a user or interface changes a business object with change documents enabled, such as a vendor, material or sales order, SAP writes one CDHDR row per save. The row is keyed by object class (OBJECTCLAS), object ID (OBJECTID) and change number (CHANGENR). The field-level details go to CDPOS under the same key.
Change document objects are defined in SCDO. A field is logged only if its data element has the change document flag set in SE11.
- OBJECTCLAS: the change document object, such as a vendor or material class.
- USERNAME, UDATE, UTIME: who made the change and when.
- TCODE: the transaction used.
- CHANGE_IND: whether the object was inserted, updated or deleted.
How to display and manage change documents
- For a single object, use its change display, such as MM04 for materials or XD04 for customers.
- For cross-object analysis, run RSSCD100 in SE38 with object class, user and date range.
- Check which fields are logged by opening the data element in SE11 and reviewing the change document flag.
- Change documents are usually archived with their application object, such as MM_MATNR or FI_DOCUMNT.
- For objects without their own archiving object, use CHANGEDOCU in SARA, with test mode first.
- Activate an archive infostructure if archived change documents must stay searchable.
Reading change documents needs display authorization for the underlying object. Large RSSCD100 runs should be limited by date and class.
Key parameters
| Parameter or field | What it controls | Recommended setting or note |
|---|---|---|
| OBJECTCLAS | Change document object | Filter by class first for performance |
| OBJECTID | Specific record changed | Combine with class for precise lookups |
| CHANGENR | Change number | Links CDHDR to CDPOS rows |
| USERNAME | User who saved the change | Retain user master data to interpret it |
| UDATE / UTIME | Date and time of change | Primary audit timestamp |
| Change document flag (SE11) | Whether a field is logged | Confirm for sensitive fields such as bank details |
CDHDR vs related objects
| Object | Purpose | When to use it | Status |
|---|---|---|---|
| CDHDR | Change document header | Application audit trail | Current |
| CDPOS | Old and new field values | Field-level detail | Current |
| CDCLS | Cluster storing CDPOS in ECC | ECC storage layer | Obsolete in S/4HANA |
| DBTABLOG | Table logging | Customizing and logged tables | Current |
| CHANGEDOCU | Archiving object for change documents | Objects without own archiving | Current |
Common issues and troubleshooting
Why is there no change document for a field I changed?
The field’s data element does not have the change document flag, or the object class does not include that table. Check SE11 and SCDO.
Why is CDHDR growing so fast?
Interfaces and mass changes create a header per save. Identify the top object classes by count and archive them with their application object or CHANGEDOCU.
Why does RSSCD100 not show changes for an archived object?
Archived change documents are read from the archive, not the database. Use the application’s archive display or an active infostructure.
CDHDR in S/4HANA migration and decommissioning
Change documents answer the question auditors ask after a fraud or a dispute: who changed this, when, and from what? Vendor bank detail changes, price changes and credit limit changes all live here. They are evidence and fall under audit and internal control retention.
The common failure is archiving business documents but dropping change history, or keeping CDHDR without CDPOS. Either leaves an audit trail that cannot be read. Retain both with the objects they describe in an SAP archiving platform that keeps them linked.
- Count CDHDR rows by object class and year.
- Keep CDHDR and CDPOS together under the same keys.
- Retain user master data for USERNAME resolution.
- Prioritize sensitive classes such as vendor master changes.
- Test a who-changed-what lookup on archived data.
Frequently asked questions
What is the SAP CDHDR table?
The SAP CDHDR table stores change document headers. Each row records one-save of a business object with change logging enabled: the object class, object ID, change number, user, date, time and transaction. The field-level old and new values are stored in CDPOS under the same key.
What is the difference between CDHDR and CDPOS?
CDHDR tells you who changed an object and when. CDPOS tells you what changed: the table, field, old value and new value. One CDHDR row usually has several CDPOS rows, and both are needed to reconstruct a complete change history.
How do I see change documents in SAP?
Use the object’s change display transaction, such as MM04 for materials or XD04 for customers. For analysis across objects, run report RSSCD100 with object class, user and date filters. Archived change documents are displayed from the archive through the application or an infostructure.
Should change documents be kept after an SAP system is retired?
Yes. Change documents are audit evidence for controls such as vendor bank detail changes and price changes. Keep CDHDR and CDPOS together with the related business records, and keep user data so reviewers can identify who made each change. Prioritize vendor bank detail changes.
Further reading
See Also
Ready to put this into practice?
See how Archon helps organizations with compliant archiving and legacy decommissioning.