This document explains about adding custom fields in Material Master under Basic Data1 tab.

1)    Enhance MARA table with append structure, which has the custom fields.

Capture3.JPG

2)    Now select the relevant node in SPRO.

Capture.JPG

3)    When clicking on execute button, we’ll get a selection screen through which we can copy the standard function group MGD1.

Capture20.JPG

4)    Click on the execute button. Provide the name of the function group that need to be created and the short text.

Capture21.JPG

5)    Click on SAVE button. This will create the custom function group.

6)    Go to the function group in Repository Browser SE80 and do the customizations in screen number 0001.

Place the custom fields in screen 0001 layout.

Capture15.JPG

Set the screen field attributes too, inorder to dynamically manage the field display.

Capture16.JPG

Add the custom coding in events PBO and PAI of the flow logic.

Capture5.JPG

Capture17.JPG

Capture18.JPG

Capture19.JPG

7)    Now we need to define the Data Screen.

Capture9.JPG

Choose the screen sequence. And then select the Subscreen.

Capture10.JPG

8)    Now provide the name of the main program of custom Function Group MGD1 (SAPLZMGD1) instead of the standard where we need to assign the custom screen.

Capture11.JPG

Save the changes in a customizing request.

9)    Now we can get the custom field in Basic Data tab of Material Master. Execute MM01/ MM02/ MM03 and we can see the custom field under Basic Data1 tab.

Capture23.JPG

Capture22.JPG

Thank You.

To report this post you need to login first.

17 Comments

You must be Logged on to comment or reply to a post.

  1. Eduardo Hinojosa

    Hi

    Useful documents, surely the screenshots will help other people. Maybe a mention to some notes will reinforce it, because some clients are reluctants to these enhancements. For instance, SAP Note 44410 – Integrating cust.-specific fields in matl master. Other question is warning that these fields are not mass-maintenable (see SAP Note 414020 – MASS: Customer fields are not mass-maintainable)

    Regards

    Eduardo

    (0) 

Leave a Reply