cancel
Showing results for 
Search instead for 
Did you mean: 

Flexible workflows for PO scenario

joachim_eilers
Explorer
0 Kudos

I have set up Flexible Workflow for Purchase Order in the development environment including two test scenarios. Everything works fine in DEV. The workflow definition WS00800238 is transported to the test environment, and the scenarios has not followed this transport. When launching the Fiori APP Manage Workflows for Purchase Orders in TEST, I am denied change mode and the message is:

Modification is not allowed.

The workflows were imported from the development system.

Need help to resolve this issue!

Accepted Solutions (0)

Answers (5)

Answers (5)

skorkiewiczr
Discoverer
0 Kudos

Hi Joachim,

you have saved my day! SWF_PROCESS_ADMIN worked fine. Thank you.

Best regards,

Rafal

John_DG
Explorer
0 Kudos

Hi Joachim,

Were you able to resolve the issue? I am facing the same problem in our system and couldnt really find why I cant add new Workflows in Test.

Regards,

Ganiel

joachim_eilers
Explorer

ganiel SAP did not provide a solution to the actual problem. They ran a debug/change and manipulated the transport into the target system. They also admitted to having issues themselves in transporting in an On-Prem solution. However I found that I could "bypass" the error by making changes directly in the respective systems, thus not using the traditional DEV-TST-PRD transport process. This can be done in transaction SWF_PROCESS_ADMIN.

PS! Please also make sure that Agents in the workflow must be defined as BP´s in all systems.

John_DG
Explorer
0 Kudos

Hi Joachim,

Many thanks! I followed the same and am now able to create the WFs for our testing. I just wish SAP would have created a KBA for this issue by this time.


Regards,

Ganiel

ramki_maley
Active Contributor
0 Kudos

Hi Joachim,

What release of S/4HANA are you in? I am working in a 1909 FP2 Enterprise Cloud system and do not have the "Scenario Content" button. I also doubt you need to transport a standard delivered scenario. What needs to be transported are the start conditions, steps, step conditions and agent rules that you define in the Manage Workflows app. I have been trying to find an answer to this for more than a year. I developed a custom flexible workflow for a customer in 1809 on premise system and that's when I realized the configured steps cannot be transported. Below is the link to my question. No helpful answer from SAP.

How to Transport Workflows configured using Manage Workflows Fiori App.

joachim_eilers
Explorer
0 Kudos

Thank you Mira,

This is actually what I have done. The standard workflow WS00800238 is transported to test successfully. However, the test scenario I have added in the App Manage Workflows for Purchase Orders is NOT transported. Yes, I have added the scenario to a customizing request created for this purpose in SE10, and used the "Scenario Content" pushbutton in the maintenance view SPRO (scenario activation), relased it and imported it to test. However, my added scenario is not showing in the Fiori App in the test environment. Thus I started to wonder if these scenarios are meant to be created in each system.

DEV:

TEST (After trasport/Import):

Best regards

Joachim

mira_heilmannn
Explorer
0 Kudos

Hi Joachim,

We generally advice to only modify flexible workflows on the development system for the following reason:

All workflows for a scenario form one logical unit together. Let's say for example you want to create a new workflow valid only for large purchase orders. You create a new workflow with preconditions, move it to the correct position in the workflow list, activate it, and deactivate a now obsolete workflow for large purchase orders. If you do this on the productive system, there is one point in time when you have two workflows for the same conditions or one point in time when you have no workflow for the condition.

It is possible (if you have only the productive system and no development system for example) to develop flexible workflows on the productive system, but you should be aware of the risk.

If you do transport flexible workflow content to a system, we save this information and will prevent changes on the scenario from this point on. You can reset this flag using the App "Manage Workflow Scenarios" (Fiori ID F3067). Any changes that you perform on the test system will be overwritten by the next transport!

Best regards,

Mira