cancel
Showing results for 
Search instead for 
Did you mean: 

Restart WFL after looking at shopping cart details

Former Member
0 Kudos

We use a copy of wfl 14000133 (n step) to approve our shopping carts.

I a user approves the shopping cart form the shopping-cart overview screen the shopping cart will be approved.

If the approver however first looks at the details of the shopping cart item our workflow will be restarted an both workflow's stay active, resulting in two (2) approval requests in the approvers own inbox.

Our workflow security is always set to 4 (no restart)

Has anyone any idea where look ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Pierre

It gave me a hint but I have not solved my problem yet.

(it however is strange that they hardcode WFL tasks etc)

Hubert

pvanhoove
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

Check the note 731637. Instead of making a copy of the standard template, it suggest the use of exits:

"4. Restrictions and special features

o The workflow for item-based approval cannot be used as a copy.

The flexibility is obtained by the BAdI implementation. We do not

recommend a modification in the Workflow Builder (even if it is

only a 1:1 copy). If you require user-defined enhancements in a

limited scope (for example, in the form of "Exits"), we recommend

that you attach them to the original workflow in the form of

subworkflows. If you change the actual process in any way, even

in a subworkflow, you risk that the entire process can no longer

be ensured. "

Maybe that can help you.

Rgds,

Pierre

pvanhoove
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

You answered your question : "copy of wfl 14000133". It is not intend to be copied.

The system does not react the same way for standard workflow (0, 1 and 2 approval steps) and dynamic workflow (item based).

There are a few points in standard coding where the ID of the workflow is tested to distinguish between standard and dynamic.

Either you find this points and change the standard code, either you create a new version of wf 14000133 and implement your change in the new version.

Rgds,

Pierre

pvanhoove
Product and Topic Expert
Product and Topic Expert
0 Kudos

The workflow id's are defined as constant in BBP_WFL_CON:

c_wf_task_dynamic_badi TYPE swd_step_t VALUE 'WS14000134',

Try to replace the standard value by your custom workflow for the same level (Subworkflow n-step).

Rgds,

Pierre