Skip to Content

Display Change log for Z field (Saves in Ztable) in MM01/MM02

Hi Experts,

I have one requirement.

I have added few fields in MM02 transaction in one custom tab. for those newly added fields i have created one Z table in which MATNR is the primary key. As soon as in MM02 these fields gets changed all the values are getting stored in my Z table. I have written logic to populate thses fields in my custom table.

Now everything is working fine except DISPLAY LOG DATA in MM02/MM03/MM01.

This log is getting displayed for all the fields that present in MARA but the fields i have added are not in MARA so even activating Change Log, i can't see them with this 'DISPLAY CHANGES' option.

I have created LOG object using tcode SCDO and also written the logic to save change log in CDHRD and CDPOS.

But now i am unable to see those thanges via DISPLAY CHANGES Option. If those fields would have been added in MARA itself then i guess it would be working fine. But as my table is custom so how to do that.

Any help would be appreciated.

Thanks,

Ashish Trivedi

1.png (18.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 10, 2014 at 03:24 PM

    How about in MM04 ?

    G. Lakshmipathi

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi LakshmiPathi,

      if i am not wrong MM04 displays change in Material where CHANGE OBJECT is 'MATERIAL'.

      but here the issue is that because my table is custom table so manually i created one change object.

      in MM02 screen fields has been referred as

      field1 = ZTABLE-ZFIELD1

      fieldd2 = ZTABLE-ZFIELD2.

      I have written separate logic to save these fields in my custom table where key is MATNR.

      2.PNG (44.1 kB)
  • Posted on Dec 10, 2014 at 03:41 PM

    Hi Ashish,

    For the fields you added in z table are having type as data element. Go to SE11. Give data element name in Data type . Change data element. Check for change document in further characteristics tab of data elements. You will able to see that change log after changing any value in MM02.

    Regards,

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.