Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cdhdr / cdpos

Former Member
0 Likes
1,303

hi all,

may i know what are these 2 table do? what should i make use these table to check?

what is the change number for?

thanks

8 REPLIES 8
Read only

Former Member
0 Likes
1,174

These two tables store the Change history for all sort of changes done in the SAP system.

CDHDR - Stores the header change data, while

CDPOS - Stores the item change data.

For every change in the system, it generates a new Change Number

Susanth

Read only

Former Member
0 Likes
1,174

hi,

what we make use of these 2 table for? i mean we use these 2 table for checking what?

thanks

Read only

0 Likes
1,174

To check what changes are done in any master data or in transaction.....

Read only

SantoshKallem
Active Contributor
0 Likes
1,174

a small example..

if the customer orders the quantity of 50 units..

after few days if he wants 100 units. for the same order they have to change from 50 to 100.

in some situations they need to track this information.

what is previous value and present value, when it has been changed, etc..

reward if useful

regards.

santhosh

Read only

Former Member
0 Likes
1,174

Hi,

for example if a change is made to a material by using mm02, this will be recorded in this tables.

Regards....

Arun.

Read only

Former Member
0 Likes
1,174

Hi el,

The CDHDR and CDPOS tables are used for change pointers in ALE distribution of master data.

When an application makes any changes to an object it wrties change documents which are stored in the table CDHDR and CDPOS for each change made.

BDCP table holds the change pointers which point to the change documents in the CDHDR table.

Change pointers are created/stored in BDCP table only if the ALE distribution model is setup to distribute that change to atleast one receiver.

Hope this answers your question.

Read only

Former Member
0 Likes
1,174

Hi,

These tables have the history of the changes made to a document. It may be a purchasing requisition or an internal order or a workorder or a sales order ..anything.

You have a couple of FM's for this:

CHANGEDOCUMENTS_TO_OBJECT

CHANGEDOCUMENT_CLOSE

CHANGEDOCUMENT_DELETE

CHANGEDOCUMENT_DELETE_V2

CHANGEDOCUMENT_DISPLAY

CHANGEDOCUMENT_DISPLAY_LOAN

CHANGEDOCUMENT_INSERT_NUMBER

CHANGEDOCUMENT_OPEN

CHANGEDOCUMENT_PREPARE_POS

CHANGEDOCUMENT_READ

CHANGEDOCUMENT_READ_HEADERS

CHANGEDOCUMENT_READ_POSITIONS

CHANGEDOCUMENT_READ_WITHOUT_ED

CHANGEDOCU_ARCHIVE_OBJECT

CHANGEDOCU_CONVERT_OLD_DATA

CHANGEDOCU_READ_ARCHIVE_OBJECT

CHANGEDOC_READ_WITHOUT_ED

CHANGE_POINTERS_CREATE

CHARGE_WRITE_DOCUMENT

Regards

Subramanian

Read only

abdul_hakim
Active Contributor
0 Likes
1,174

CDHDR-Change Document Header

CDPOS-Change Document Position.

These tables will record whatever changes the user is doing in the SAP System.

Cheers,

Hakim