Skip to Content
Author's profile photo Former Member

Configuring Customized Material Master – Adding sub screens in MM01 / MM02 / MM03

Recently, I have done some development by adding custom screen in material master along with table control in order to create the document data along with the option to create classification data. The standard functionality is already available in ‘Document’ tab in ‘Additional Data’ section. But the requirement is, in the custom screen we should provide the standard functionality along with classification data. Here there will be an option to enter the classification data in the input field of table control and avoid going to the classification data screen for each entry.

There were no screen exists or BADI to achieve the above functionality. I was able to achieve the same requirement from configuration SPRO (Configuring Customized Material Master).

I would like to share the steps needs to be done to add the custom sub screen to the material master.

The below are the steps needs to implement in SPRO to add the additional TAB in Additional Data in MM01. And also by following the below steps, we can add the tab with sub screen in MM01 as view.

  1. Go to below path from SPRO

    

          SAP Customizing implementation guide -> logistics general -> material master ->

          Configuring the material master -> Create program for customized sub screens

          /wp-content/uploads/2012/04/1_94764.png

          Enter the Z function group and click on ‘Save’.

     /wp-content/uploads/2012/04/2_94763.png

     2. Now go to below path to define the structure:

         

          SAP Customizing implementation guide -> logistics general -> material master ->

          Configuring the material master -> Define structure of data screens for each screen sequence.

           /wp-content/uploads/2012/04/3_94765.png

          Create the ‘ZZ’ sequence by copying ’21’ standard sequence and click on Save.

               /wp-content/uploads/2012/04/4_94766.png

                    /wp-content/uploads/2012/04/5_94767.png

                  Now select the Z sequence, click on ‘Data Screens’ and here add the

                  new data screen information. Here we will have the list of standard views

                  and will add the new data screen at last.

                       /wp-content/uploads/2012/04/6_94768.png

                        /wp-content/uploads/2012/04/7_94770.png

                    Now click on ‘Sub screens’ and give the Z program name of created function

                    group along with screen number.

                          /wp-content/uploads/2012/04/8_94771.png

      3. Now go to below path to assign the secondary screens

     SAP Customizing implementation guide -> logistics general -> material master ->

     Configuring the material master -> Assign secondary screens

                /wp-content/uploads/2012/04/9_94772.png

               Select the created screen and click on additional to mention that the screen should

               be displayed in Additional Data. Here if we don’t create ‘Additional Data’ then the

               TAB will be added as main view in material master.

                   /wp-content/uploads/2012/04/10_94773.png

                     /wp-content/uploads/2012/04/11_94774.png

       4. Now go to below path to maintain the order of screen sequences:

          SAP Customizing implementation guide -> logistics general -> material master ->

          Configuring the material master -> Maintain order of Main and Additional Screens

          /wp-content/uploads/2012/04/12_94775.png

          Select the Z sequence and double click:

          /wp-content/uploads/2012/04/13_94776.png

             If needed, we can change the screen sequences:

                  /wp-content/uploads/2012/04/14_94777.png

        5. Now go to below path to assign the screen sequences:

      SAP Customizing implementation guide -> logistics general -> material master ->

     Configuring the material master ->

     Assign screen sequences to User/Material Type /Transaction/Industry Sector.

      Here assign the created Z sequence by replacing ‘21’ sequence.

             /wp-content/uploads/2012/04/15_94778.png

          Now go to MM01/MM02/MM03 and Click on ‘Additional Data’.

          We can see the new TAB created.

          /wp-content/uploads/2012/04/16_94779.png

           Now in order to add the table control or any other screen elements,

          we can go to the created function group and do the required changes.

                   

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Arijit Banerjee
      Arijit Banerjee

      Hi Lakshmi,

      Thanks for your wonderful explanation. I am a new user in MM module and your work has helped me to fix one issue in material master ScrSeq.


      I would like to add one more observation related to finding the Scr Seq we should look at replacing and adding the Z-ScrSeq.

      1. Logistics - General => Material Master => Configuring the Material Master => Assign Screen Sequences to User/Material Type/Transaction/Industry Sector

      a) Industry Sector Screen Reference => Get the value as M, D, or * (for blanks) assigned.

      b) Material Type Screen Reference => FERT is mapped against ROH, or HALB is mapped against ROH, etc.

      c) User Screen Reference => IN, DE, etc

      d) Transaction Screen Reference => This is important. It shown which transactions like MM01/MM02, are mapped to which screen reference. Example - MM01 & MM02 is mapped against '01' RefTxn, whereas, MM41/MM42 ets are mapped against '03' RefTxn.

      Now you know which is the RefTxn like 01 or 03, etc are the one which we need to look for in the screen sequence control for replacement

      i) now form a) above, if there is no entries available, it should pick *.

      ii) now form b) above, if material type you are working with is not maintained here, then * entries should be picked.

      iii) now form c) above, if there is nothing maintained as IN or DE, etc then it should pick * as the select entry.

      iv) You have already figured out the RefTxn against your input.

      Based on the points observed in i), ii), iii) and iv) you should be able to pick the ScrSeq and replace it with the Z-ScrSeq.

      Hope this explanation helps others facing similar issues. If you feel something is missing here or my understanding is incorrect, please feel free to write back to me.

      Once again, thanks for your great work!!

      Thanks,

      Arijit