The following section shows how to use the BAPI component.

Look up a BAPI #

  1. In the main window of the component click the [Search] (magnifying glas icon). The window “Function Module Lookup” opens.
  2. Enter the name of a BAPI or function module in the Function Name field(1). You can use wildcards (*) if needed.
    Alternatively you can search for function groups. Look-Up-Function-Module
  3. Click the [Search] (magnifying glas icon) (2) and select an item from the displayed list (3).
  4. Click [OK] (4) to confirm.

Define Import, Export, Changings and Tables #

In the main BAPI Component window all parameters of the selected BAPI are displayed. BAPIs can have up to four parameter types: Imports, Exports, Changings and Tables.

Note: You can use of nested parameters, e.g., tables in tables, structures in tables and structures in structures.

  1. Add input parameters to send to SAP in Imports, see Import Parameters.
    You can enter scalar values (1) or structures (2). You can also use dynamic runtime parameters, see Runtime Parameters.
    Parameters defined as mandatory in SAP (transaction SE37) are marked with a red *.
  2. Define the output 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 you can define input and output parameters in Changings, see Changings Parameters.
  4. Add tables to the output or add table parameters as input in Tables, see Table Parameters.
    Check the names and data types of the table’s fields by clicking the [glasses symbol] under Type (1). Select output data by activating the checkbox next to the items (2). Edit tables via the [pen icon] under Values (3). BAPI table
  5. Click [OK] to confirm.