Invoke SAP BAPI

Invokes the configured BAPI function.

The Invoke SAP BAPI activity is used to invoke a specific BAPI function within a workflow. This activity allows you to configure the BAPI function and provide input and output parameters.

Input

  • SAP Connection Object Variable Required This input requires the SAP Connection, which is obtained from the Create SAP BAPI Connection activity, to execute the BAPI activities.

Configuration

To configure the Invoke SAP BAPI activity, follow these steps:

  1. Click on the Configure button to open the Configure SAP BAPI window.

  2. Before configuring the BAPI function, ensure that you have created a SAP BAPI connection by executing the Configure SAP BAPI Connection activity.

  3. In the Configure SAP BAPI window, you can set the BAPI function and provide values for the input and output parameters.

BAPI Function Configuration

  • BAPI Name: Enter the name of the BAPI function you want to invoke. This will list all the parameters associated with the BAPI.

Parameter Configuration

Each parameter in the BAPI function has the following properties:

  • Name: This property represents the name of the parameter.

  • Description: Provides a description of the parameter.

  • Length: Specifies the length of the data for the parameter.

  • Direction: Specifies whether the parameter is an input, an output, or both.

  • Value: For input parameters, you can provide a specific value. For other cases, such as output parameters, you need to create a variable to store the value. Ensure that you have created the necessary variables to store the output values.

Adding or Removing Parameters

  • You can remove a parameter by selecting the parameter and then pressing the Delete Key. The required parameters are highlighted and cannot be removed.

  • If you have removed a parameter and later want to add it back, you can use the Add Parameter textbox to specify the parameter you want to add.

By configuring the BAPI function and its parameters, you can effectively invoke the desired BAPI function and utilize its input and output parameters within your RPA workflow.

Last updated