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

Connect BAPI using Action Group with SAP Build Process Automation

Learn how to create BAPI Action Group which uses BAPI Action and retrieves the data from the backend.

Overview

🎓 beginner 20 min. SAP Build Process AutomationBeginnerSAP Business Technology PlatformFree Tier

You will learn

  • โœ”How to create an Action Group
  • โœ”How to add BAPI Action in Action Group
  • โœ”How to configure the Action Group
Aviral Agarwal A Aviral Agarwal March 21, 2024
Created by April 20, 2023
Contributors

Prerequisites

Prerequisites

  • Desktop agent version must be equal to or greater than 2.0.30.
  • Install Microsoft Visual C++ 2010 Redistributable Package x86, available on the Microsoft website.
  • For using SSO connection system, SSO (SAP Single Sign-On) must be configured on your system.
  • BAPI with Remote-enabled Module.

Steps

Intro

IMPORTANT: Please refer to sample Connect BAPI using Action Group in the SAP Build Store if you face any issues while following the tutorial. To retrieve the sample, refer to step 7 of this tutorial.

BAPI is a standard interface to the business object model in SAP products. BAPIs are the primary methods through which customer code and third-party applications interact with SAP products. An Action Group is collection of actions that once executed, return some response. BAPI is part of an Action Group whose actions help you to construct the parameters to execute the BAPI module and return the BAPI response.

In this tutorial, you will create an Action Group Artifact and connect to BAPI RFC_GET_TABLE and query the MAKT-Material Master related table.


Step 1 Execute BAPI module in SAP GUI system
โ€”

  1. Login to SAP GUI application. Run the se37 transaction.

    Action Project
    Action Project

  2. Select the RFC_READ_TABLE module as the Function Module.

    Action Project
    Action Project

  3. Review the Import options for this module.

    Action Project
    Action Project

  4. When you execute the module, you get the following output.

    Action Project
    Action Project

    This is the output we expect at the end of our automation. In the next steps you will be building an automation for the same.

Step 2 Create a project
+
Step 3 Create BAPI Action Group Artifact
+
Step 4 Add BAPI Action to the Action Group
+
Step 5 Edit the Automation
+
Step 6 Test your automation
+
Step 7 Retrieve sample project from the store (Optional)
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Execute BAPI module in SAP GUI system 2. Create a project 3. Create BAPI Action Group Artifact 4. Add BAPI Action to the Action Group 5. Edit the Automation 6. Test your automation 7. Retrieve sample project from the store (Optional)

Learn more →