BAPI
This page shows how to use the BAPI extraction type.
The BAPI extraction type 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
- A connection to an SAP system is available, see SAP Connection.
- The SAP user has sufficient user rights, see SAP Authority Objects.
Warning
Missing Authorization.
To use the BAPI extraction type, access to the designated authority objects (RFC) in SAP must be available.
Adjust SAP Authority Objects: BAPI accordingly.
Create a BAPI Extraction
Follow the steps below to create a new BAPI extraction in the Board Connector Designer:
- In the main window of the Designer, click [New] to create a new extraction. The window "Create Extraction" opens.

- Select an SAP Connection of type RFC from the drop-down menu Source.
- Enter a unique name for your extraction.
- Select the extraction type BAPI.
- Click [OK].
The main window of the extraction type opens and you can start setting up your extraction.
Look up a Function Module / BAPI
Follow the steps below to look up a Function Module / BAPI in SAP:
- In the main window of the extraction type, click [
] to look up a Function Module / BAPI.
The window "Function Module Lookup" opens.

- In the window "Function Module Lookup" enter the name of the function module or BAPI
. Use wildcards (*) if needed.

- Click [ ] . Search results are displayed.
- Select a Function Module / BAPI and click [OK].
The function module or BAPI is selected and the application returns to the main window.
Configure the BAPI Extraction Type
To configure the BAPI extraction type:
- Add input parameters (data you want to send to SAP) in Imports, see Import Parameters.
You can enter scalar values or structures .

- 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.

- Optional: If available, define input and output parameters in Changings, see Changings Parameters.
-
Add tables to the output of the extraction type or add table parameters to the input of the extraction type 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 .

-
Optional: If available, define which exceptions thrown by the Function Module / BAPI are ignored during runtime, see Exceptions.
- Check the General Settings before running the extraction.
- Click [OK] to save the extraction type.
The BAPI extraction type is configured and ready to run, see Run Extractions.
Related Topics
- Knowledge Base: Access Data in the SAP Public Cloud
- Knowledge Base: Read Data from Cluster Fields in Tables PCL1 and PCL2 (Payroll)