Skip to Content
author's profile photo Former Member
Former Member

Authorization for Delivering Plant in Sales Order

Dear All:

We need to set up authorization for a user based on 'delivering plant' in Sales Order registration (VA01). It appears there is no standard available for this.

Can you kindly help by giving hints to achieve this?

Regards,

K. Dwarakanath

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 05:46 PM

    Hi,

    1. You can create a custom authorization object (via SU21 or equivalent); add field 'ACTVT' with permissible values '01', '02', '03'.

    2. In form USEREXIT_CHECK_VBAP of include MV45AFZB, you can call the function module AUTHORITY_CHECK, to check the authorization and throw an error.

    This user exit is triggered everytime a user makes any change to item level, i.e. applicable for change of plant too. The call for authority check can be based on whether plant is changed or not. I guess *VBAP and VBAP can be compared to check whether plant is changed. If *VBAP-WERKS is not equal to VBAP-WERKS, then call authority check FM by passing username, custom object name, FIELD1 = 'ACTVT', VALUE1 = 01 or 02. If exception returned by FM is USER_NOT_AUTHORIZED, you can throw an error message.

    Cheers,

    KC

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 06:54 AM

    Hi,

    Using SHD0 transaction also it can be handled.

    Regards,

    Chandra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 06:53 AM

    Dear KC:

    Thanks a lot for the help. I shall try this.

    With best regards,

    K. Dwarakanath

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.