Skip to Content
avatar image
Former Member

Restrict authorization in VA01 for partner function field

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jun 30, 2011 at 03:59 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 30, 2011 at 06:18 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 30, 2011 at 08:48 AM

    Set the Sales employe Partner Function as Non Modifiable.

    Add comment
    10|10000 characters needed characters exceeded

    • 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.