cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Restart

Former Member
0 Kudos

Hello Friends,

I have made changed from not define to low in the user master personalization tab security level..

now workflow is getting restart and accept changes send to requestor anything change in the shopping cart such as account assignment or anything..

but my client wants only when the shopping cart value has been changed then only workflow needs to restart else the workitem should go to next level approver..

the issue which i am facing is a bug ? how this security level works..

thanks,

john.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello John,

Which workflow have you activated? I believe you can achieve just by manipulating your Start Condition for 'CHANGED SAVE'.

To check your start condition you can follow this path in SPRO:

Supplier Relationship > Cross-Application Settings> SAP Business Workflow --> Define Conditions for Starting workflows.

Regards,

Shiv

Former Member
0 Kudos

Hi

Please read this ->

You have to assign authorization to change shopping carts during the approval process.

This is controlled by means of a role-based attribute BBP_WFL_SECURITY, and is set in the transaction PFCG on the tab card Personalization. There are four possible levels of authorization:

1-> High: Workflow is never restarted.

2-> Medium: Workflow is restarted based on start conditions.

3-> Low: Workflow is always restarted.

4-> No: No changes to the shopping cart allowed during approval.

----


Business Add-In (BAdI) <b>BBP_WFL_SECURE_BADI</b> ->

You can use this BAdI to define the following:

1) Whether a shopping cart can be changed during approval

2) How approval workflow behaves when the document is changed

<u>Note -> Read standard SAP documentation using SE18 Transaction for this BADI, before making any code changes.</u>

----


<u>Refer to these links for details -></u>

<b>http://help.sap.com/saphelp_srm50/helpdata/en/ee/277e3c281f1817e10000000a114084/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm</b>;

Regards

- Atul

former_member195032
Active Contributor
0 Kudos

Hi John,

Just check the start condition in the workflow for shopping cart which you have activated.

In Transaction swb_procurement.

Set condition as per your need in workflow mentioned in link.

http://help.sap.com/saphelp_srm30/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/content.htm

Security level in User just decide the workflow behavior but start condition will capture the business case for which you are looking.

Keeping security level low will restart workflow always again if something is changed.Medium security level start workflow conditionally.

Nishant

Please reward if this helps.

Former Member
0 Kudos

Hello Nishant,

Can you please how to make start condition i mean .. I need to know how generally start condition maintain in SWB_PROCUREMENT.. My condition is just trigger my n-step workflow (WS14000133) when the shopping cart net value is GT 0.

Is it correct? because we have no condition at all.. just need to trigger the workflow when the shopping cart is getting create..

for this scenario how would i need to maintain the start condition?

thanks,

john.

Former Member
0 Kudos

Hi Peter,

For defining N-step Workflows you have activate BADI with your own code(start conditions).

Some sample codes are given by SAP But you have to define your own code which fits to your requirements.

with regards,

mahesh

Former Member
0 Kudos

Hello Mahesh,

As per your answer where can i find the Some sample codes are given by SAP..

Is corrct in my scenario net price is gt 0 only..

if I make my start condition only net value gt 0 is making any problem?

I have made only my start condition is net price GT 0..

thanks,

john.

Former Member
0 Kudos

Hi John,

Pls see these links

http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm

The BADI that you need to activate is BBP_WFL_APPROV_BADI study the links you will find the rest.

with regards

mahesh

former_member114630
Active Participant
0 Kudos

John,

We have the workflow setting at "3". Therefore, when someone changes the value of the cart, it will route back to the creator to accept those changes. This setting is defined at the role level (approvers). The cart will not go back if other changes take place.

We are also learning that this setting can cause some problems if the cart has a partial rejection. The creators cannot make changes to the rejected lines with this setting. The approvers would need to reject all the lines in order to allow the creators to make changes.

Monique

Message was edited by:

Monique Stephens

Message was edited by:

Monique Stephens