Skip to Content
0

Table fields that update CDPOS / CDHDR

Feb 22, 2017 at 11:47 AM

138

avatar image
Former Member

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 ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Xavier Covis Feb 22, 2017 at 12:52 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Jürgen L
Feb 22, 2017 at 07:32 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded