Application Development 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: 

CDHDR and CDPOS reliability????

Former Member
0 Kudos
1,274

Hi All,

Are CDHDR and CDPOS reliable enough to catch all changes in SAP transaction?

I am asking this silly question as i came across a scenario where i can see the value is changed in some transaction and i am not able to find corresponding entry in CDHDR and CDPOS.

I changed some field in MM03-Classification. As per my analysis CDHDR is storing most changes for the same field but missing some. i was surprised to see this.

Are there any settings to be made? Any alternative?

TIA,

agasti..

1 ACCEPTED SOLUTION

Former Member
0 Kudos
423

Hi,

Tables CDHDR and CDPOS are reliable to catch all the changes and most likely, you are not using right key (OBJECTCLAS) to get the changes stored in table.

You can chk txn SCDO for all the object classes in the system.

Tables BDCP/BDCPS are used in ALE and would not stor all the changes.

Cheers,

Vikram

Pls reward for helpful replies!!

6 REPLIES 6

Former Member
0 Kudos
423

HI Agasti..

they r reliable to an extent.

I believe u might changed in MM02 transaction. MM03 is only display.

some transactions like CG02 need to update the data to enter it in CDHDR and CDPOS tables. But for MM02 i dont think so... what u need to check is the CDPOS-TABNAME.

this tabname changes differently for the same module. like for matnr there is one tabnaem and for batches other name.

Regards

SAB

Former Member
0 Kudos
423

You may want to review transaction SCDO, which lists the change document objects. You can display the object and display the table(s) where changes are recorded.

Former Member
0 Kudos
423

Hi Agasti,

There are mostly Reliable but not always that's for sure..becuse when we dig deep into a transaction some fields does not effect the tables 'CDHDR' and CDPOS.

There are tables'BDCP' and 'BDCPS' where are the tables which are effected in the change pointer are stored so i heard that we if can populate the tables whic are not getting effected in the Chnage pointers that should trigger the change pointers and hence update the tables 'CDHDR' and 'CDPOS' I am not sure whether this works or not but you can give it a try..

Srini

Former Member
0 Kudos
424

Hi,

Tables CDHDR and CDPOS are reliable to catch all the changes and most likely, you are not using right key (OBJECTCLAS) to get the changes stored in table.

You can chk txn SCDO for all the object classes in the system.

Tables BDCP/BDCPS are used in ALE and would not stor all the changes.

Cheers,

Vikram

Pls reward for helpful replies!!

0 Kudos
423

Hi Expert

Can you help me in coding for document change report please

I had gone through the tables there are CDHDR and CDPOS , from this tables

These standards reports are taken from RVSD100 and RVSD200 reports which allow viewing changes on a single sales document in online mode howver the selection paratmeters for these two standard reports does not allow the selection parameters by plant code, document number, date ranges and also does not allow multiple sales document to be listed at the same time

I need a report that will allow them to list the changes made in the contract documents with more ranges options on the report selection parameters

basically this customised report will retrive all the changes made in sales contract documents within a plat , date ragne and other selection paramters

The report must allow ALV display also

sales office code and sales office description (sales code is plant code )

+ contract document number

sort by date, header data filed name <01> with old and new values changes and username

sort by date, header data field name <02> with old and new values changes and username

etc....

etc...

can you please help me how to start do we required funtional module etc.,I know it is easy but i need some push to start.

regards

Piroz

Former Member
0 Kudos
423

Please check trasnaction SCDO. Enter your business object (MATERIAL for material master) . Chose your business object and then click on Change Doc. Object -> Display.

Also check the data element of the field that you are changing. In SE11 "further characteristics " tab, there is a check box for 'Change document flag '. if this check box is not set for the data element, the changes to field will not trigger a CDHDR/CDPOS entry.