cancel
Showing results for 
Search instead for 
Did you mean: 

Table fields that update CDPOS / CDHDR

Former Member
0 Kudos

Hello experts,

I have a requirement to find out which all fields in a list of tables do not generate a change document when updated. For example, I would like to know whether a change in the MANDT field in MARA table will update in the CDHDR table. Similarly for CDPOS table too.

Can someone help me out with this ?

Accepted Solutions (0)

Answers (2)

Answers (2)

JL23
Active Contributor
0 Kudos

Can you tell me in which transaction you would be able to change the client number of a material master record?

I can't believe that this would be possible with MM02. And if you do not use the material master maintenance program then you can't have a change log in CDHDR and CDPOS, a change at table level using SE16 would go into the SE16N_CD_KEY and SE16N_CD_DATA

if you have the log at table level activated then it will go to the application log, tables BALHDR and BALDAT

former_member215526
Active Participant
0 Kudos

Hi George,

If I understand your request, you can know the change object verifying in the transaction SCDO. There you can define the table and to build the function modules to do the update change. So, for example If you are looking for MARA table, please see in the objet MATERIAL (which include MARA where you added your field) after if you click on the Generation info button you can see the function module MATERIAL_WRITE_DOCUMENT. In this module function CHANGEDOCUMENT_SINGLE_CASE (for TABLENAME MARA) you can have te function DDIF_NAMETAB_GET is called to read the definition of MARA. So please put break point near to the table DFIES_TAB and see the return for the LOGFLAG field. ( the LOGFLAG value tell you if the field will be included in the change document ).

I hope this information can help you.

Regards,

Xavier