cancel
Showing results for 
Search instead for 
Did you mean: 

SC manually added approvers getting erased

Former Member
0 Kudos

Hi All,

Approvers added throught 'Add Approver' button in approval preview are erased when a new workflow is triggered for a Shopping Cart. Is there a way to retain the manually added approvers in the approval preview.

Thanks and Regards,

Asha

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

If you use SRM50, What is the BBP_WFL_SECURITY value?

If you use Process-Controlled Workflow in SRM70, you can use recall function for SC change.

Regards,

Masa

Former Member
0 Kudos

Hi Masa,

The erasing of manually added approvers is happening when the requestor changes the cart when the cart is in awaiting approval or when approver makes changes to the cart when approving.

It doesn't depend on the security level because approvers are not erased in case of approvers determined through the n-step badi.

Thanks and Regards,

Asha

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

New workflow instance is created when workflow is re-started.

When new workflow is created, approvers are also determined again based on SC data.

You see logical issue here.

For example,

Only 1 items, 1 category Hard Ware, SC total is 1000 USD.

Approvers are determined

1. User A

2. User B

3. User C

User A manually add approvers X and Y in IT department because it is IT equipment

1. User A

2. User X (Manually)

3. User Y (Manually)

4. User B

5. User C

SC requester deletes the original item and adds more items and workflow is restarted.

2 items, Category Office stationary, Cleaning Services, SC total is 10000 USD.

New approvers are determined.

1. User C

2. User D

3. User E

Here is logical issue, where do you and to keep the user X and Y? before user C?

It may not make a sense IT department approves non IT equipment.

If you have clear logic, you can keep the approver as fixed approver in your BADI somehow reading approver from old workflow instance.

Regards,

Masa

Former Member
0 Kudos

Hi Masa,

My requirement is like this.

SC is created by user A for a particular account assignment category. There is no logic in n-step badi to determine approvers for this case. Approvers are to be manually added.

Approvers for the SC are manually added

User X

User Y

and SC is ordered.

When user A goes into 'Check Status' and changes the quantity of items in SC and then reorders it again a new workflow is restarted and the manually added approvers 'X' and 'Y' are erased.

I want to retain them even if the restart happens.

Thanks and Regards,

Asha

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Please implement the BBP_WFL_SECUR_BADI and set the NEW_SEC_LEVEL (BBP_WFL_SECURITY) = High if SC has a particular account assignment category.

No authorization

Changes to the document are not allowed while it is being approved.

Low

Changes can be made to the document. The approval workflow is restarted after every change.

Medium

Changes can be made to the document. After every change, the approval workflow either continues or is restarted.

The system evaluates the start conditions and restarts the workflow if a new approval is required as a result of the change. If this is not the case, the approval workflow continues.

High

Changes can be made to the document. The current approval process always continues. A new approval workflow is not started when the document is changed.

Regards,

Masa