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

Create Sales Order Action Project in SAP Build Actions

Create an action project from Open API specification

Overview

🎓 beginner 20 min. SAP Build Process AutomationBeginnerSAP Business Technology Platform

You will learn

  • โœ”to discover APIs in SAP Business Accelerator Hub
  • โœ”to download Open API specification
  • โœ”to create action project based on the API specification
  • โœ”to configure API methods to update title, input and output fields and their description to improve readability for business users
  • โœ”to test API using destination option
  • โœ”to release and publish action project to be consumed in the business process modelling
Archana Shukla A Archana Shukla April 3, 2024
Created by January 16, 2023
Contributors

Prerequisites

Prerequisites

  • Access to a SAP BTP tenant with SAP Build Process Automation
  • S/4HANA Cloud system where Sales Order business module is available
  • A communication user to access S/4HANA Sales Order inbound services based on SAP_COM_0109 communication scenario ID

Steps

Intro

Action is a feature in SAP Build Process Automation to connect processes with external systems, be it SAP or non-SAP systems. This is an important piece of the puzzle especially if you want to automate or extend your business processes for any available LoB processes like S/4HANA, Ariba, SuccessFactors etc. These extensions can be easily build using SAP Build Process Automation, and using actions you can connect to your given S/4HANA, Ariba or other SAP LoB systems for any kind of GET, POST, PATCH and other calls.

In this tutorial, you will create an action project based on Sales Order API. The Sales Order (A2X) API is already available in Business Accelerator Hub. For this workshop you will leverage Sales Order Header - POST API which will be used to create a sales order in S/4HANA Cloud system after the approval is done.

The same scenario can be used for posting an invoice to the S/4HANA system after approval from business process or getting the employee details from SuccessFactors system for off-boarding process or updating purchase requisition details for the changes in the order in Ariba system or getting asset details from Asset Management system before sending it for approval for asset depreciation. There are many such real-world examples where you can use action concept to create, fetch or update the data in the backend system based on the process outcomes (approval, validation etc.)

Step 1 Download open API specification
โ€”

  1. Download and extract Open API Specification zip file for Sales Order (A2X) API in your local file system.

Open API specification of 2.x or 3.x or higher is needed for creating action project. For APIs that are available in SAP Business Accelerator Hub, you can directly download the specification from the API overview section. For example: The API specification that will be used for sales order creation in this exercise is downloaded from here.

Step 2 Create action project
+
Step 3 Configure action project
+
Step 4 Test action project
+
Step 5 Release action project
+
Step 6 Publish action project
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Download open API specification 2. Create action project 3. Configure action project 4. Test action project 5. Release action project 6. Publish action project

Learn more →