cancel
Showing results for 
Search instead for 
Did you mean: 

storage location authorization object in SD transactions

Former Member
0 Kudos

Hi Gurus,

I want to restrict series of storage locations for a particular user when he transacts tcode VA01 or VL01N in SD. Like for instance, he will allow using slocs 2000 to 2999 only from creating SO to DR to GI. Is it possible? We try to restrict the authorization object M_MSEG_LGO of user’s role but still no luck. Please help...Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

moazzam_ali
Active Contributor
0 Kudos

Hi

\You can use this object which you have shared in your question. Add this object in MV45AFZZ program and  USEREXIT_MOVE_FIELD_TO_VBAP  userexit. Ask your ABAPER to put authority check logic which is just 3 lines coding and check user role with this object. You can also create a customized object in SU21 because in object M_MSEG_LGO there is movement type field which you dont want.

Thank$

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

You can check what authorization objects are availables with tcode SU24. For VA01 this object isn't available, it's for MM movements.

You could try to add it in userexits, but think it could be secondary effects in other modules. You can try to add this object (or a customer object auth using M_MSEG_LGO as a template) in USEREXIT_CHECK_VBAP in include MV45AFZB.

I hope this helps you

Regards

Eduardo