Skip to Content
author's profile photo Former Member
Former Member

Table fields that update CDPOS / CDHDR

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 ?

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Feb 22, 2017 at 12:52 PM

    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.



    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 22, 2017 at 07:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded