Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

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

         

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

    

     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.

          

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

              

                   

                  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.

                      

                       

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

                    group along with screen number.

                         

      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

               

               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.

                  

                    

       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

         

          Select the Z sequence and double click:

         

             If needed, we can change the screen sequences:

                 

        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.

            

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

          We can see the new TAB created.

         

           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.

                   

1 Comment