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 limit fields in MM01-MM02 per user profile?

jeff_broodwar
Active Participant
0 Kudos

Hi Experts,

I would like to ask your opinion on how to solve this problem.

My functional was assigned to extend a material to different plants, the problem is He wants to limit the access to the fields of MM01 and MM02 depending on the user's profile.

There's also another case wherein the user profile used was able to create a new material which shouldn't be allowed based on the requirement. Lastly, I also want to know if it's possible to limit the fields by using tables MARA / MAKT in data dictionary.

Please help me how to solve this. please proviide steps if needed.

Thanks and regards,

Jeff

5 REPLIES 5

raymond_giuseppi
Active Contributor
0 Kudos

Take a look at [Note 303483 - Authorization check enhancement|https://service.sap.com/sap/support/notes/303483] and [Note 545380 - FAQ: Authorizations material master|https://service.sap.com/sap/support/notes/545380]

Regards,

Raymond

Former Member
0 Kudos

Hi,

Try creating and activating the Transaction variant / Screen Variant for specific users using SHD0 transaction for MM01/MM02.

Regards,

Harish

jeff_broodwar
Active Participant
0 Kudos

Thanks Raymond and Harishkumar, I'll get back to you once I checked your suggestions. many thanks again.

Thanks,

Jeff

jeff_broodwar
Active Participant
0 Kudos

Hi Guys,

I checked the OSS as suggested by Raymond, I have the following questions:

- using this means there's no need for me to use transaction variants right?

- how can I implement these authorization objects given 2 roles to consider, roles A and B need to be checked if

they have the right authorization to create / change table MARA.

Harishkumar,

If I'll be using transaction variants, is there a way to limit these roles (mentioned above) to create / change entries in table

MARA? Please give me a link or steps on how to accomplish this..

Hope you guys can help me on this...

Thanks,

Jeff

jeff_broodwar
Active Participant
0 Kudos

Hi Guys,

I googled for other solutions and found out that others actually use BAPI to do the job. Is there an exit where this bapi is being called? please advise.

Thanks

Jeff