How to check change logs in table CDHDR and or Utilizing CDHDR and CDPOS SAP Tables for Change Logs

How to check change logs in table CDHDR and CDPOS

CDHDR: Records the header information for document changes.
CDPOS: Stores the item-level details of the changes

Utilizing CDHDR and CDPOS SAP Tables for Change Logs or How to check change logs in table CDHDR and CDPOS

I am going to show you that how can we check the changes logs by using table CDHDR and CDPOS

Go to Transaction Code SE16N.

To view any table in SAP, you can go to transaction code SE16 or SE16N. Below is a screenshot of SE16N where I have entered the CDHDR table.

nagarlalit_7-1736847101301.png

 

  1. Narrow down or filter your search results by filling in the parameters for Table CDHDR

We start with table CDHDR because we need to note the “change document number” of the document we are analyzing. The “change document number” will be our linkage / basis of search for Table CDPOS.

nagarlalit_8-1736847134422.png

Click on the Execute Button to proceed. For now, you can review the CDHDR results.

Notice the object value is a concatenation of the SAP Accounting Document details (Client + Company Code + Document Number + Fiscal Year) we are concerned with. That is one way to determine the change document number.

nagarlalit_9-1736847183022.png

 

You can also refer to the Object Change field to see what kind of change was done.

nagarlalit_10-1736847216683.png

  1. Copy all concerned “change document numbers” from CDHDR table and open a separate window for SE16N CDPOS search.

 

You need to copy the “change document numbers” (red box) so you can paste them as part of the selection criteria in Table CDPOS. We open a separate table so that we still have the CDHDR table view.

nagarlalit_11-1736847256922.png

  1. Narrow down or filter your search results by filling in the parameters for Table CDPOS.

Here you will paste the “change document numbers” you have copied from CDHDR. This should establish the linkage and show you the line item details of the change documents.

nagarlalit_12-1736847284140.png

Click on the Execute Button to proceed.

  1. Proceed with your analysis or extract.

Now that you have the line items of the change document, notice that there are “before” (Old Value) and “after” (New Value) details of the changes. This should give you a good overview of the changes done.

nagarlalit_13-1736847309767.png

Rewards if you found this helpfull.

Regards,

Lalit Nagar

Scroll to Top