Using a Workflow Scenario

Objective

After completing this lesson, you will be able to use a workflow scenario

Target System Enablement

Scenario Activation

During the import of a scenario, it is registered in the repository of the target system. Before it can be used in the Manage Workflows editor, it has to be activated in the system. This activation is client-dependent. The activation can either be delivered by the responsible development team or must be performed once on the target client.

The screenshot shows IMG Activity.

Scenarios will be activated in the customizing with activation in SWDD_SCENARIO automatically. To review a scenario activation on a client, open in IMG activity Activate Scenario in node Flexible Workflow.

The image shows the Activating the Scenario

If the scenario already displays in the list, simply set the Active flag. If not, create a New Entry and set the Active flag.

Note

  • The execution user needs the change authorization for maintenance view V_SWF_FLEX_SCACT.

  • The user who changed the settings and the time the setting was changed is automatically persisted by the system.

  • When changing the Active flag on a customizing client, the system will ask for a transport request to which the customizing can be assigned. This customizing is imported in all clients of a target system, but previously saved settings cannot be updated.

  • One suggestion is to deliver configuration content for SAP S/4HANA as part of a solution defined in the Solution Builder  (transaction code /N/SMB/BBI). Based on the maintenance view V_SWF_FLEX_SCACT a BC set can be assigned to a solution.

Event Customizing and Logs

Event linkage of activated scenarios can be checked and tested using Transaction CodeSWETYPV and Event TraceSWEL. Activate the Event Trace before in transactionSWELS.

In the application log SLG1 for object /WF/JOBS you can find more details as well in the job log SM37 for job SAP_WORKFLOW_SYSTEM .

How to Review the Activation of the Workflow Scenario

In this demonstration, the trainer will demonstrate the steps of the following exercise. So, for the steps and data of this demonstration, refer to the exercise Review the Activation of the Workflow Scenario.

Review the Activation of the Workflow Scenario

Business Scenario

As workflow expert, you are required to use the new workflow in SAP S/4HANA. In this exercise, you will review the activation of the newly created flexible workflow.

Note

To successfully perform this exercise, you must first have completed the exercise Create a Workflow Scenario.

Note

In this exercise, when a value or an object name includes ##, replace ## with the number that your instructor assigned to you.

Task 1: Task 1: Review the Activation of the Newly Created Scenario

Steps

  1. Review the activation of the newly created scenario in the back end.

    Use the following data:

    FieldValue
    Scenario number<use your scenario number, created in the Create a Flexible Workflow exercise>
    Activate<flag>

    1. If not already there, log on to S4D (SAP S/4HANA back-end server).

    2. Execute transaction SIMGH.

    3. Click into the IMG structure field and press the F4-Help

    4. Search for workflow.

      Search for Workflow
    5. From the hit list, choose SAP Business Workflow by double-clicking it.

    6. Choose the Favorite button.

      Edit IMG Structure
    7. Select the newly created entry and choose Display IMG Structure.

    8. Choose Flexible Workflow .

    9. Start the Scenario Activation activity.

      Display IMG Scenario Activation

      Note

      The IMG-Path to this activity is ABAP Platform -> Application Server -> Business Management -> SAP Business Workflow -> Flexible Workflow -> Scenario Activation

    10. In the next screen, find your active scenario.

      Activating a scenario