cancel
Showing results for 
Search instead for 
Did you mean: 

Table fields that update CDPOS / CDHDR

Former Member
0 Kudos
1,930

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 ?

View Entire Topic
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