Automation Anywhere Enterprise provides a command node to run remote function calls in SAP that
allows you to send data to BAPI or store values from BAPI into different variables. The
Remote Function Call includes Create Function, Invoke
Function, Set Data, and Get
Data.
Note: We recommend that users using the remote function calls have knowledge of BAPI as the
variables used to assign values are used in complex processes.
To use a remote function call:
Procedure
-
Expand the SAP Integration command node and double-click the Run Remote Function Calls command.
The SAP Integration dialog box appears.
-
Enter a name for the session in the Session Name field.
-
If you select the Create Function option:
-
Enter name of the SAP function you want to use in the
Function Alias Name field.
-
Enter name of the BAPI you want to use in the BAPI Name field.
Or,
Click Select, to select the BAPI from the BAPI Manager dialog box.
-
You can select the Begin Sequence option, to mark the starting point of a process.
-
If you select the Invoke Function option:
-
Enter the name of the function used in Create
Function to invoke in the Function Alias
Name field. You can use multiple instances of Invoke
Function option to invoke various functions of a process. These
instances must be used in the sequence corresponding to the task you
want to automate.
-
You can select the End Sequence option, to mark the end of the process.
-
You can select the Commit Transaction, to commit changes made during the process.
-
Select the Get Data option:
You can use the Get Data function to retrieve BAPI
results available in Field,
Table, and Structure
formats. You can store the retrieved values in Table,
Function,
Structure, Memory,
Variable, and CSV as per
the format used for retrieval.
Table 1. The following option are available to Get Data
Option |
Sub-options |
Field |
Table Function Structure |
Table |
Memory Variable CSV |
Structure |
Memory Variable CSV |
Based on the options you have selected for Get and
From section, the relevant options are
displayed.
-
Select the Set Data
option to post input values to the BAPI function.
Input parameters can be stored in the form of Fields,
Table, and Structure in SAP.
The following options are available:
-
Field
-
Table: Specify the table alias name in the
field.
-
Structure: Specify the structure alias name in
the field.
-
Click Save.