Question:
Hello,
I am trying to restrict access to MM01, MM02 and MM03 to material master depending on their name. For example, a group of user could only access material with names beginning with X* (ex: XMAT1, XMAT2, ...)
I checked M_MATE_MAT but I don't know how to add an new authorization group.
Can anyone point me in the right direction?
Thanks!
Answer:
You can enter a value in the auth group field in a material master (basic data) MARA-BEGRU. The auth group doesn't have to already exist.
When you enter an auth group in a material master, the system requires the user to have a value in auth obj M_MATE_MAT in order for them to work with the material.
EG if you enter an auth group of X123 in a material master, you must have M_MATE_MAT - Activity 02, Auth Group X123 in your auths to be able to change the material.
I think X* in your auths will give access to all materials with auth grps that begin with X.
If you don't have a suitable value for M_MATE_MAT, the system tells you you are not authorised on the selection screen, so you don't see any material master views.
Answer:
Hello,
Thank you for your quick reply!
With this solution, I have to change things directly in MARA table everytime someone adds a new Material and this is kind of a problem. Do you think there is another way?
I want to do the same thing as the object S_DEVELOP. In this object there is the field OBJNAME where I can put X* and user can open only programs beginning with X.
Thanks again
Answer:
You may need to see if there's a user exit & code a solution.