BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

How to Implement SAP Change Document

Builds SAP's Change Document framework on two custom tables, ZZCUSTOMER and ZZCUSTOMER_BANK: creating the Change Document Object in transaction SCDO, then wrapping each INSERT, MODIFY and DELETE on the Z-tables together with a call to the generated WRITE method inside one ABAP class, so both commit in the same Logical Unit of Work. Because the generated method cannot read old values back from the database itself, the class reads them before the update and holds them in memory; a Managed RAP application skips this step by specifying the Change Document Object directly in its Behaviour Definition instead. This is the ABAP side of change tracking: a change document object logs who changed a field, and when, into CDHDR and CDPOS.

Where it sits

Explains
Change trackingABAPChange trackingcapabilityKeeping a readable history of what changed on a record, who changed it and when — as business history rather than database journalling.
Source
reachable

Who is behind it

Subhasree1author

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
1,065

For change-tracking

on the edge
Applies in
authored
abap

Details

Graph3 edges
POINTS OUT →
explainsChange trackingcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitybtp-abap-environment-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · btp-abap-environment-tag.
For your agent
Ref
content:how-to-implement-sap-change-document
JSON
/content/how-to-implement-sap-change-document.json
MCP
Connecting an agent