cancel
Showing results for 
Search instead for 
Did you mean: 

SRM7 Shop on behalf : cannot edit or delete the SC

Former Member
0 Kudos

Hi all,

We are using SRM 7 and try to deploy the "Shop on behalf" function. We got 2 problems:

1. After user A created a shopping cart on behalf of user B. Before the SC get approval, user A is unable to edit or delete the shopping cart

2. When user B try to edit the shopping cart, the screen have no order or save button to keep the update

Please help. Thanks.

Regards,

Donald

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please check any workflow BADI has been implemented for restrictions.

Thanks

Venkatesh P

Answers (1)

Answers (1)

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

Are you using application controlled workflow? If so, consider the instructions contained in note 1397991.

According it, you should deactivate BBP_WFL_SECUR_BADI or implement note 1397705.

Kind regards,

Ricardo

Former Member
0 Kudos

Hi Richardo,

Thanks for the useful information. Yes, we are using application controlled workflow (SAP standard WS10000129 for testing purpose). Now the badi BBP_WFL_SECUR_BADI is inactive. Users A and B are at security level = 2 (Low), so changing shopping cart in approval status should be allowed.

1. After user A ordered a shopping cart on behalf of user B. Before the SC get approval, user A is still unable to edit/delete the shopping cart.

2. User B is able to edit and save the shopping cart now but unable to delete. User B got error message "User is not authorized for the action" when try to delete.

Any other thing that I should check?

Regards,

Donald

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

Maybe this can help you: When user B tries to delete the cart, an error message appear. You could set a BP at FM BBP_PD_MSG_ADD and check when this message is being raised. Perhaps there is a role or profile missing.

Kind regards,

Ricardo

Former Member
0 Kudos

Hi Ricardo,

Yes, you are right, user B is missing some authorization and thus unable to delete SC. It was because SAP standard role /SAPSRM/EMPLOYEE did not have activity 06 (delete) in object BBP_PD_SC. It is okay now after I added the missing authorization.

My concern is on first question: After user A ordered a shopping cart on behalf of user B. Before the SC get approval, user A is unable to edit/delete the shopping cart. User A is assigned with sap_all authorization.

Regards,

Donald