Enterprise Resource Planning Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member183155
Active Contributor
105,932
This document contains how many ways do we can control material master fields. We got information related with material master screens and fields Material master screens and fields 

We can control material master fields with configuration or transaction variant or user exit/badi.

Related Oss notes :

199165 - Field selection control apparently not working

545211 - FAQ: Material master Customizing

77455 - Purch. group field always defined as required field

403516 - Maintaining purchasing group in the MRP view

418660 - ALE field group control

131004 - Long text maintenance and field selection

71948 - Customizing: Maintain field sel. groups/field sel.

546709 - BadI Special field selection

403477 - Purchasing grp field always defined as required entry field

437098 - Configurable material: different hidden MARC-fields

 

First way -->  i try to control field selection in material master with MM configurations.

 

Field selection groups : Field selection is effected by field selection groups, we can specify which attribute the fields with Hide -- Display -- Required entry -- Optional entry. We can change the assignment of the fields for material master records to the field selection groups. In standart R/3, there are 240 field selection groups. Sap gives permission customers to create new groups 111-120 reserved by us.

 

Sap provides us a lot of selection field selection influencing factors like Plant -- Material Type --Industry sector -- Procurement type -- Transaction -- Sap Solutions (Retail ,Business solution).

 

SPRO --> Logistics - General --> Material Master --> Field Selection --> Maintain Field Selection for Data Screens

 

For instance ; Field selection group 12 consists of MARA-AESZN , MARA-BLANZ , MARA-BLATT , MARA-ZEIAR ....

 

If you change a selection criteria , all fields of group be affected. Also , fields belong to MARA table , you can not control this fields by plant so they are client level . I change field selection group 12 which field referance C be done required field and save and take request.

 



Please try , go to MM01 , create a material master with industry sector (Chemical industry)



Fields of selection group 12 are required field for C Chemical Industry.



  Second example , i want to control material group individually. MARA-MATKL belongs to field selection group 2 with belowed fields.



 

How can i control only MARA-MATKL ? I want to do optional entry this field for material type ROH.

SPRO --> Logistics - General --> Material Master --> Field Selection --> Assign Fields to Field Selection Groups



 

*Create a new selection group for MARA-MATKL. 111-120 number range reserved for customers, write 111 to selection group and save.



  *After that go to OMSR tcode.



* Please check for material type ROH. We can see belowed screen shoot that material group is required field for ROH .



 

*How can i control MARC-WEBAZ for only plant 1200 ?

Go to OMSR --> Select field referance 001 and copy it.



* Fill field reference with 1200.



 

SPRO --> Logistics - General --> Material Master --> Field Selection --> Define Plant-Specific Field Selection and Plant-Specific Screen Selection



Please check configuration:



*Create a material in 1200 plant.



 

Now, how can i restrict changing of MARA-MSTAE ?

SPRO --> Logistics - General --> Material Master --> Field Selection -->Define Lock-Relevant Fields





 

   Second way --> Transaction Variant based on users.

I refer that document How to Create a Transaction Variant thanks to malharjain

 

   Third way --> Badi - User exit

   Badi --> BADI_MATERIAL_REF, BADI_MATERIAL_CHECK / User exit --> MGA00001

   I refer document a badi example : How to Restrict Change Material Shot Text to Particular User and Material Type Using BADI_MATERIAL_C...


   For creation material referance to other material or default values :

   You can benefit from BADI_MATERIAL_REF 

   Related threads :

     User Exit MGA00001


   Problem with Customer Exit MGA00001 ( Enhancement for MM01 )

  

   An example for user exit ;  Go to --> CMOD tcode , create a project like a ZMM.



Add MGA00001 to your project.



 

For example : if material type = ROH , i do not want to use valuation class =3100 .

This is a simple control for material master fields.

 



 

Sometimes, you need to do mandatory material master views and some classification fields. For solution please check :

https://blogs.sap.com/2015/06/04/mandatory-views-in-material-master-mm01-and-mm02/

Thanks to tanmay.verma2.

Finally , you can control material master fields with authorization --> Authorization in material master related with material types

 

Regards.

M.Ozgur Unal
26 Comments
mohsinabbasi007
Active Contributor
0 Kudos

Dear Ozgur,

Awesome.............. :smile:

Former Member
0 Kudos

Dear M.Ozgur Unal,

Really 'complete' document. Full and in-detail.

Rgds,

KK

former_member183155
Active Contributor
0 Kudos

Hi mohsinabbasi007 ;

I hope that it could be helpful for someone....

Regards.

M.Ozgur Unal

former_member183155
Active Contributor
0 Kudos

Hi krupesh.kothari ;

Thanks for your good comment.

Regards.

M.Ozgur Unal

Former Member
0 Kudos

Hi Mehmet,

Very good document. Keep sharing. :smile:

Regards

Subbu

former_member183155
Active Contributor
0 Kudos

Hi Subbu ,

Thanks.

Former Member
0 Kudos

Hi Unal, Really Good document. but some people expect little more clear Thanks for sharing Regards Kumar

former_member183155
Active Contributor
0 Kudos

Hi Kumar ;

I can revise some parts that it is necessary. Thanks for your return.

Regards.

M.Ozgur Unal

OsvaldoLopez
Contributor
0 Kudos

This is Exceptional  !!!

Thank you very much !!!

Former Member
0 Kudos

Hi Ozgur,

Thanks for the document.

Do you have any sap document which states that Field selection group 111 - 120 are reserved for customer. It could be great if you can share.

Regards

Nitesh

former_member183155
Active Contributor
0 Kudos

Hi nitesh.kumar2 ;

Go to SPRO --> Logistics-General

Former Member
0 Kudos

Good Document and very helpful.

Thanks,

Ram

Former Member
0 Kudos

Thanks Ozgur,

As per help document 211 - 240 are also reserved for customer.

Regards

Nitesh

Former Member
0 Kudos

Hi Ozgur,

Nice document. Keep up the good work.

Regards

subbu.

Former Member
0 Kudos

Hi Ozgur,

Thanks for your sharing. Would you please advise how to check the field reference for certain transaction ? Such as MM02 ?

Best Regards,

Layla

former_member183349
Active Participant
0 Kudos

Its useful always!! GOOD DOCUMENT!!

former_member183155
Active Contributor
0 Kudos

Hi Layla ;

You can find the respond in document.

--  SPRO --> Logistics - General --> Material Master --> Field Selection --> Define Plant-Specific Field Selection and Plant-Specific Screen Selection

Regards.

M.Ozgur Unal

schaganti1
Contributor
0 Kudos

Useful Document

thanks for sharing

Regards

Sudhakar

former_member197616
Active Contributor
0 Kudos
Nice one
Former Member
0 Kudos
Awesome 🙂
former_member183155
Active Contributor
0 Kudos
Thanks 🙂  shivakkumar.geethavenkatesan79
former_member612867
Discoverer
0 Kudos
Great and Please post few more concepts if you have time
Former Member
0 Kudos


Sir can you please help on this above pic how to enable material description tab
Former Member
0 Kudos
Do we have a way to consult optional/required using SE16N  - Tables?
chuangmateo
Explorer
0 Kudos
Thanks a lot, this helps me solve the "WM execution" and "WM Packaging" mass change issues, also works for BAPI BAPI_MATERIAL_SAVEDATA after the setting.

Thanks,

Matt
moonlady
Discoverer
0 Kudos
Dear Sir,

Thank you for sharing this. Could you please share how Procurement Type can influence the field selection for material master as I cannot find where it is set in IMG, like assigning the field reference to procurement type? Thanks.