Skip to Content
0
Dec 13, 2022 at 10:02 AM

Can you replace a standard Flexible Workflow with a Custom one for Sales Prices ?

184 Views Last edit Dec 13, 2022 at 01:35 PM 2 rev

Hello

We're running S4HANA 2020 on premise, and we're trying to implement a custom flexible workflow and use it in the standard FIORI app for Sales Price Condition app.

So we have this standard Flexible Workflow WS01800208 that we have copied to our own WS95000001

We then have created the necessary Event Linkage on transaction SWETYPV and deactivated the linkage for WS01800208 and activated for WS95000001

We then configured our Flex WF WS95000001 on the FIORI app

https://xxxxxxxx/sap/bc/ui2/flp?sap-client=050&sap-language=EN#Workflow-showList

And all is seems to be ok: everything was activated and no errors found

The problem is that our Flex WF WS95000001 is never triggered.

If we change a sales price condition with FIORI app

https://xxxxxxxx/sap/bc/ui2/flp?sap-client=050&sap-language=EN#PricesInSales-manage

our custom WF isn't triggered (but the standard one WS01800208 is triggered - if activated of course)

I thought this would be possible. At least that was more or less the practice with classical Business Workflow. You copy a standard WF into your own - and then trigger that custom one instead.

But it seems that with Flexible Workflow this is not possible. Or is it ?

Moreover, it seems that for our particular scenario (and after many many hour spent debugging SAP code) I have found this class that has the standard SAP scenario WS01800208 hard coded.

As you can see below - the WS01800208 is always defaulted. So it really doesn't matter what other custom WF scenario that you create - WS01800208 will always be called no matter what.

image.png

I found this a bit odd... since it blocks us from implementing our own Flexible WF for this process.

Is this normal ?

Are we doing anything wrong ?

Is it possible to implement a Custom Flexible Workflow for this case or not ?

Kind Regards

Attachments

image.png (427.4 kB)