cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict authorization in VA01 for partner function field

Former Member
0 Kudos

Hi all,

I need a way to restrict authorization in VA01/VA02 for users so that in the headers tab -> partners, the employee responsible field is locked. Other fields (i.e. ship-to/sold-to should still be changeable)

What is the best way to achieve this?

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

moazzam_ali
Active Contributor
0 Kudos

You can't do it on user basis with standard SAP. You have to go for user exit. In standard it will be blocked for all users. Because it is a grid and you can't control authorization in grid at item line level.

Answers (2)

Answers (2)

0 Kudos

Set the Sales employe Partner Function as Non Modifiable.

Former Member
0 Kudos

where can we set this as non-modifiable?

moazzam_ali
Active Contributor
0 Kudos

This is not the solution for your query to make it non modifiable. You want it on user base but if you make it non modifiable it will be in display mode for all users. But if you want to try this you can make it non modifiable in following path

Sales and distribution > Master Data > Customer Master > customer hierarchy > partner determination for sales document header.

Im not sure the exact path because i have no access of system at this time. But you can find it in above nodes.

Proper solution of your question is user exit as mentioned above.

Former Member
0 Kudos

Hi,

The above comment is right, you cannot restrict the authotization in VA01 for partner function field in standard SAP. You can use the user exit MV45AFZZ and in the code you can check if the sy-tcode is VA01 or VA02 (T180-TRTYP = H or V) and if so then restrict the user from making changes to that partner function.

Regards,

Sampat

Edited by: Sampat Vijay Sadalge on Jun 30, 2011 8:18 AM