Skip to Content
avatar image
Former Member

Employee should not be able to change SC at all

Experts,

When the SC is ordered and awaiting approval, the requestor can change the details.

Also, When the approver rejects or changes the SC during approval process ,the SC is returned to the requestor with the status "In your inbox" and the requestor is again allowed to change the details with the "Change" button.

But in our implementation ,the client wants the requestor must not be able to change the SC details at all in any case after ordering .

BBP_WFL_SECURITY in PFCG for employee role has helped us partially but not completely.

We belive there should be some special task for this.

Please help.

BR

Dinesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    May 22, 2006 at 01:10 PM

    Hi Dinesh,

    For the rejection case, did you check OSS note 942538 ?

    Kind regards,

    Yann

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 22, 2006 at 01:17 PM

    Dinesh,

    You could implement the BADI BBP_WFL_SECUR_BADI

    method - SET_SECURITY_LEVEL

    In this method, fetch the creator of the Shopping cart and if thats equal to sy-uname --> set the parameter NEW_SEC_LEVEL to '1' (which corresponds to 'none' on PFCG).

    Thanks

    Sri

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sri,

      Can you tell me how did you get the Creator of the SC in this BADI to change the authorization of the Creator???

      And is this BADI used to set the authorisation level of teh approver or user???I am unsure over this....Please can you clarify....

      Regards,

      Disha.

  • avatar image
    Former Member
    May 22, 2006 at 01:55 PM

    Dinesh,

    BBP_WFL_SECURITY has following values -

    <b>NONE </b>Not possible to change shopping cart during approval Workflow continues

    <b>LOW</b> It is possible to change the document The approval workflow restarts after each change is made

    <b>MEDIUM</b> It is possible to change the document The system evaluates the workflow start conditions and starts the approval workflow again if the change necessitates a new approval If this is not the case, the approval workflow continues

    <b>HIGH</b> It is possible to change the document The current approval workflow continues

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 23, 2006 at 01:48 PM

    Hi Dinesh,

    simply deactivate button "Change" in function of your SC status.

    To realize this, change standard ABAP in screen SAPLBBP_SC_UI_ITS 150, in FORM button_modify_screen:

    ...

    WHEN '007'.

    *...first check SC change authority

    *...show button 'change' if you come from status or empl.inbox or

    *...manager inbox

    *...don't show button 'change' in the inbox, when not locked

    ...

    and implement your custom logic.

    Rgds

    Christophe

    PS: please reward points for helpfull answers

    Add comment
    10|10000 characters needed characters exceeded