SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Add a Subprocess to an Automation

Learn how to use a subprocess in SAP Build Process Automation.

Overview

You will learn

  • How to add a subprocess in a process.
  • How to add a subprocess in an automation.
  • How to send tasks to multiple participants.

More from Djamai Hania

See all 3 tutorials by Djamai Hania →

Prerequisites

Steps

Intro

Using subprocess in your automation enables you to easily reuse existing code segments in various processes. This re-usability eliminates the need for duplicating the same code multiple times, saving you valuable time and development efforts.

Furthermore, incorporating subprocess in your automation allows you to divide your tasks into smaller and more manageable units. This simplifies the comprehension and maintenance of your automated system.


Step 1 Create a subprocess in a process project

You will incorporate a subprocess within a primary process.

After completing the prerequisites, your process will look like this:

subprocess
subprocess

  1. Navigate to the Overview tab. From the editable version of your project, click the Create dropdown and choose Process.

    subprocess
    subprocess

  2. In the Create Process dialog box, do the following:

    • Enter a Process Name such as Manage Trainees Learning Journey.
    • Choose Create.

    subprocess
    subprocess

    Your new process opens in the process builder. You will now create a trigger form that will start the process.

    subprocess
    subprocess

  3. Choose Add a Trigger in the Trigger settings.

    subprocess
    subprocess

  4. Select Submit a Form.

    subprocess
    subprocess

  5. Choose Registration Form.

    subprocess
    subprocess

  6. Choose Save.

    subprocess
    subprocess

  7. Navigate back to the Overview tab. Select the Learning Path process.

    subprocess
    subprocess

  8. Choose the three dots of the Trigger form and select Remove.

  9. Choose Save.

    subprocess
    subprocess

  10. Go back to Manage Trainees Learning Journey process, select + under Registration Form.

    subprocess
    subprocess

  11. Choose Subprocess.

    subprocess
    subprocess

  12. Choose Learning Path.

    subprocess
    subprocess

  13. Save the process.

    Now you have an optimized process that incorporates a subprocess, making it more efficient and streamlined.

    subprocess
    subprocess

Step 2 Release, deploy and run the process project
+
Step 3 Add a table to the registration form
+
Step 4 Create the automation
+
Step 5 Create data types
+
Step 6 Configure the automation
+
Step 7 Configure the subprocess
+
Step 8 Release and deploy the project
+
Step 9 Run the process
+
Step 10 Retrieve sample project from the store
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 10
1. Create a subprocess in a process project 2. Release, deploy and run the process project 3. Add a table to the registration form 4. Create the automation 5. Create data types 6. Configure the automation 7. Configure the subprocess 8. Release and deploy the project 9. Run the process 10. Retrieve sample project from the store