Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to restrict material master by material type t-code MM01

0 Kudos

Hi,

how to restrict Materilal master by Material type in t-code MM01

I do restrict by M_MATE_MAR authorization object . After i see there not restrict.

Amit

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You need to configure authorisation groups against your material types via transaction OMS2

Please use the search and look at auth object documentation as both these questions have been answered before.

28 REPLIES 28

Former Member
0 Kudos

You need to configure authorisation groups against your material types via transaction OMS2

Please use the search and look at auth object documentation as both these questions have been answered before.

0 Kudos

hi,

No i need to restrict by authorization object , do u possiblie.

Amit

0 Kudos

Hi, I will phrase it another way,

To restrict material types:

1. Assign auth groups to material types via OMS2 (it will not work if you do not do this)

2. Enter the material types the user requires in M_MATE_MAR.

The user will be restricted to processing material types which they have values for in M_MATE_MAR. If they have roles with M_MATE_MAR with * in then there will be no restriction as it will over ride the specific values you have entered.

This is the standard way to restrict material types for MM01/2/3/50 etc.

0 Kudos

i have created a user wiith no authorizations and now i want to assign a user with transaction MM01 and in mm01 i want to restrict all the material types except 2 material types ie material type FERT and ROH (finished products and raw materials)respectively. please give me the exact solution with stemp

thanks and regards

vinith

0 Kudos

Hi Vinith,

The exact solution is described above. If you are having problems with that then I recommend that you speak to your security team who will be able to help you with this.

0 Kudos

Dear Alex

I have performed the same steps as above mentioned but what is happening is it is still accepting all the material types

in MM01 can u give me the steps for assigning the authorization group to mat types.

best regards

vinith

0 Kudos

Hi Vinith

You activate the check in OMS2 by assigning auth groups to the material types

Once you have activated the check (the mat type changes will need to be transported) then you need to make sure that auth object M_MATE_MAR contains only the material types which you need.

If you do this then your material type restriction will be active.

If the user is still not restricted then it is likely they are inheriting auths for M_MATE_MAR from another role. In this case you should speak with your security team and they will be able to advise you.

0 Kudos

This message was moderated.

0 Kudos

hi

now i am able to restrict only some mat types, where should i give the custom message to display for users how have been restricted to material types.

vinith

0 Kudos

The auth failure error message will tell them that they are not authorised and if they click on it, it will tell that the restriction is on material types. No need for any custom message.

0 Kudos

hi

can i assign all the material types to 1 auth group?.

regards vinith

0 Kudos

Yes.

You will need to assign different auth group to the ones which you want to restrict on though.

0 Kudos

>

> Yes.

>

> You will need to assign different auth group to the ones which you want to restrict on though.

hi

i am able to restrict some material types, but in the status bar the following message is displaying.

"no selectable view exist." instead of no authorization for material type.

what shall i do?

please give me the solution.

regards vinith

0 Kudos

Hi Vinith,

Without access to your system I can't tell exactly what the problem is. If you are not getting the error message that you desire then that is not something that you controlling via security and you need to look elsewhere.

If you follow the steps that I listed then you will get restrictions on material type as you requested. If you have subsequent problems then create a new thread in the appropriate forum or contact your security and or functional team in the first instance.

0 Kudos

hi

thank you for your support

regards vinith

0 Kudos

hi

to restrict material types for a user, what i have done is i have created a user with only two transactions ie., su53 and mm01.

and then i have created an authorization group using se54 and now i have assigned this authorization group to material type FERTand now in roles using PFCG i have manually assigned the auth object M_MATE_MAR in that i have given activity as 01 and authorization group field i have assigned the auth group which i have created and assigned to material type. plz help me out.

regards vinith

0 Kudos

What is your question?

What has your security administrator said is the problem?

Have you checked SU24 to see if the check is deactivated?

0 Kudos

hi

i have checked in su24 already for MM01 transaction for auth obj m_mate_mar it is check and pros field is ys

0 Kudos

no one knows the problem here

0 Kudos

The problem is that you have put FERT in M_MATE_MAR.

If you want to exclude FERT then you must not have it in the auth object. Assigning an auth group will invoke the check.

If you have M_MATE_MAR with blank values then if you try to create material of type = FERT then it will fail.

0 Kudos

hi

plz help me out in solving this issue

regards vinith

0 Kudos

>

> hi

> plz help me out in solving this issue

> regards vinith

Vinith,

I have explained in great detail exactly what you need to do at every stage. The steps I have outlined are the same that I follow every time that I want to apply material type restrictions.

I strongly recommend that you contact your security admin to help with this, alternatively engage the services of a trained/experienced security admin who can come on site and go through this with you.

If you have done the following then it will work:

1. Assign auth group to material type via OMS2

2. Verified that check for M_MATE_MAR is active

3. Ensured that M_MATE_MAR does not contain the auth group/s which you assigned via OMS2 (that includes *)

This is the last comment I will make on this topic.

Cheers

Alex

0 Kudos

hi,

thanks.

0 Kudos

my auth group is ztst

in OMS2 transaction for fert material type in auth group field i have given ztst and i have assigned ztst to m_mate_mar in auth group field and in value i have given 01 , 02, 03

0 Kudos

hey alex

thanks dude i am now able to restrict mat types, thank you so much

regards

vinith

0 Kudos

This message was moderated.

0 Kudos

This message was moderated.

0 Kudos

thanks