SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Run the Capital Expenditure Live Process

Run the capital expenditure live process and approve tasks using My Inbox.

Overview

🎓 beginner 15 min. SAP Business Technology PlatformBeginner

You will learn

  • โœ”How to start a workflow instance
  • โœ”How to approve tasks in My Inbox
Deeksha R D Deeksha R November 1, 2022
Created by August 11, 2020
Contributors

Prerequisites

Steps

Intro

In this tutorial, you start a new instance of the process variant that you have created. This instance will have the total cost of the order as 50000, which requires a manual approval. Upon starting the instance, the task will be available in My Inbox for your approval.


Step 1 Start a workflow instance
โ€”

  1. Navigate to the Workflow Management home screen by choosing home.

    Home
    Home

  2. In the Workflow Management home screen, choose the Monitor Workflow - Workflow Definitions tile.

    Workflow Definitions
    Workflow Definitions

  3. Choose the High Value Investments workflow definition, then choose Start New Instance.

    Start New Instance
    Start New Instance

  4. In the Start New Instance popup menu, replace the existing JSON snippet with the below snippet. Then, replace the UserId field with your SAP trial email ID. Finally, choose Start New Instance and Close.

    JSON
    {
      "RequestId": "IAP-2020-180",
      "Title": "App Creation",
      "Requester": {
        "FirstName": "John",
        "LastName": "Doe",
        "Email": "John.Doe@example.com",
        "UserId": "jdoe",
        "Comments": "Please Approve"
      },
      "Investment": {
        "TotalCost": 50000,
        "Type": "Software",
        "CAPEX": 10000,
        "OPEX": 2000,
        "ROI": 5,
        "IRR": 5,
        "Country": "Germany",
        "BusinessUnit": "Purchasing",
        "Description": "Provide a fresh experience for our customers by providing new apps for our services"
      },
      "Sustainability": {
        "EnergyEfficiency": 10,
        "CO2Efficiency": 20,
        "EnergyCostSavings": 15,
        "WaterSavings": 10
      },
      "internal": {
    
      }
    }

    Payload
    Payload

  5. Choose Show Instances.

    Show Instance
    Show Instance

You can view the workflow instance created for approval. You can navigate to the Execution Log to ensure that the instance is at the local manager approval stage as shown.

Instance Details
Instance Details

Step 2 Approve tasks
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 2
1. Start a workflow instance 2. Approve tasks

Learn more →