Run custom workflow advanced action
- Updated: 2024/06/06
Run custom workflow advanced action
The Run custom workflow advanced action enables you to connect, search, and run any custom workflow in SAP BAPI.
Prerequisites
- You must have the Bot creator role to use the SAP BAPI actions.
- Ensure that you have the necessary credentials to connect to the SAP BAPI. For more information on the credentials, see Using Connect action for SAP BAPI.
The following procedure describes how to use the Run custom workflow advanced action to select and run a custom SAP BAPI worflow in the Control Room.
Procedure
- In the Control Room, navigate to the Actions pane, select SAP BAPI > Run custom workflow advanced and place it in the canvas.
- Click Select Worflow to enter the credentials and connect to the SAP server. SAP server connection appears.
- Enter the credentials to connect a desired SAP server. For more details on the credentials, see Using Connect action for SAP BAPI.
- Click Next. Search Workflow screen appears.
- Enter the Function name of the workflow you want to select. You can use wildcards (*) in the prefix/suffix, or both to refine the results. All the groups containing the workflow gets listed in the Group name field.
-
Select the workflow and click Select.
- The Import to
BAPI section displays the import
parameters for the selected workflow. You can select the
Edit option from the action
menu (vertical ellipsis) to specify a value for the parameters.
- Select the Include option if you want to use that import parameter.
- Select the Table tab to select a table variable containing the values you want to import to BAPI. Alternatively, select the Strings tab to specify the value manually.
- The Export to
BAPI section displays the export
parameters for the selected workflow. You can select the
Edit option from the action
menu (vertical ellipsis) to specify a value for the parameters.
- Select the Include option if you want to use that export parameter.
- The Tables section
displays the tables you can use as export or import
parameters for your selected workflow. You can select
the Edit option from the action
menu (vertical ellipsis) to specify a value for the tables.
- Select the Include option if you want to use that table as an export or import parameter.
- Select either the Import tab to use a table as an import parameter or select the Export tab to use a table as an export parameter.
- Select the Table tab to select a table variable containing the values you want to import to BAPI. Alternatively, select the Strings tab to specify the value manually.
- Select the Begin sequence option if you want to execute the BAPI in a particular sequence to mark the start of a process.
- Select the End sequence option to mark the end of a process.
- Select the Commit transaction option to commit the changes made during the process.
- In the SAP BAPI Session field, enter the session name you used to connect to the SAP application in the Connect action.
- In the Save exported structures and scalars field, specify a dictionary variable.
- In the Save exported tables field, specify a dictionary variable.
- The Import to
BAPI section displays the import
parameters for the selected workflow. You can select the
Edit option from the action
menu (vertical ellipsis) to specify a value for the parameters.