Skip to content

Xtract BAPI

This page shows how to use the Xtract BAPI component.
The Xtract BAPI component can be used to parameterize and execute SAP function modules and BAPIs for automation.

About Function Modules / BAPIs

Function modules are procedures that encapsulate and reuse global functions in the SAP system. SAP systems contain several predefined functions modules that can be called from any ABAP program. A Business Application Programming Interface (BAPI) is a remote function module that can access business data and processes of an SAP system from different systems.

Custom BAPIs

The use of custom BAPIs (Z function modules) is possible. Issues specific to Z function modules are not included in the scope of support provided by Theobald Software.

Prerequisites

Warning

Missing Authorization.
To use the Xtract BAPI component, access to the designated authority objects (RFC) in SAP must be available. Adjust SAP Authority Objects: BAPI accordingly.

Add an Xtract BAPI Component

Follow the steps below to add an Xtract BAPI component to your workflow:

  1. Drag & drop the Xtract component to your Alteryx workflow .
  2. Assign an existing SAP connection .
    New
  3. Click [ Edit] to open the main window of the component.

The majority of the functions of the component can be accessed in the main window.

Look up a Function Module / BAPI

  1. In the main window of the component, click [ ] to look up a Function Module / BAPI. The window "Function Module Lookup" opens.
    bapi_main-window_add
  2. In the window "Function Module Lookup" enter the name of the function module or BAPI . Use wildcards (*) if needed.
    Look-Up-BAPIs
  3. Click [ ] . Search results are displayed.
  4. Select a Function Module / BAPI and click [OK].

The application returns to the main window of the component.

Define the Xtract BAPI Component

The Xtract BAPI component offers the following options for defining parameters of a Function Module / BAPI:

  1. Add input parameters (data you want to send to SAP) in Imports, see Import Parameters.
    You can enter scalar values or structures .
    import-parameters
  2. Add output parameters (data you want to receive from SAP) in Exports, see Export Parameters.
    Select output by activating the checkbox next to the items.
    BAPI export parameters
  3. Optional: If available, define input and output parameters in Changings, see Changings Parameters.
  4. Add tables to the output of the component or add table parameters to the input of the component in Tables, see Table Parameters.

    • Click [ ] to check the names and data types of the table fields .
    • Activate the checkbox in the output column to add items to the output .
    • Click [ ] to edit the content of the table .

    BAPI table parameters

  5. Optional: If available, define which exceptions thrown by the Function Module / BAPI are ignored during runtime, see Exceptions.

  6. Click [OK] to save the component.

You can now run the workflow.

Input and Output Anchors

The Xtract BAPI component has the following input and output options:

  • Input anchor "I" - input for tables .
  • Input anchor "P" - input for runtime parameters .
  • Output anchor "1" to "5" - output tables .
  • Output anchor "E" - output for export parameters .

bapi-input



Last update: August 7, 2024