cancel
Showing results for 
Search instead for 
Did you mean: 

Employee should not be able to change SC at all

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

yann_bouillut
Active Contributor
0 Kudos

Hi Dinesh,

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

Kind regards,

Yann

Former Member
0 Kudos

Hi Yann / Sri K,

Thanks for your input.

But my requestor is still able to change after the approver rejects the shopping cart.

We have applied note 942538 on our system.

Any further corrections ?

BR

Dinesh

yann_bouillut
Active Contributor
0 Kudos

Hi Dinesh,

What is your SRM release and patch level ?

Did you implement any workflow badis ?

Kind regards,

Yann

Former Member
0 Kudos

Hi Yann,

Our release is 4.0 SP08.

Yes, we have implemented:

BBP_WFL_APPROV_BADI

for multistep approval.

sorry I did not write this earlier.

BR

Dinesh

Former Member
0 Kudos

Hi,

Any thoughts please?

BR

Dinesh

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.