Using Connect action for SAP BAPI
Use the Connect action to establish a connection with a SAP system that you want to use to automate SAP-related tasks using SAP Business Application Programming Interface (BAPI). This must be the first action you use to automate an SAP-related task using SAP BAPI.
Pré-requisitos
Download the SAP Java connector package and DLL from the SAP website.
Procedimento
- In the Actions palette, double-click or drag the Connect action from the SAP package.
- Specify a name for the session in the SAP BAPI Session field.
-
Select one of the following options to specify the location of the SAP
Java connector package:
- Control Room file: Enables you to select the SAP Java connector package that is available in a folder in the Control Room.
- Desktop profile: Enables you to select the SAP Java connector package that is available on your device.
- Variable: Enables you to specify the file variable that contains the location of the SAP Java connector package.
-
Select one of the following options to specify the location of the SAP
Java connector DLL:
- Control Room file: Enables you to select the SAP Java connector DLL that is available in a folder in the Control Room.
- Desktop profile: Enables you to select the SAP Java connector DLL that is available on your device.
- Variable: Enables you to specify the file variable that contains the location of the SAP Java connector DLL.
-
Select one of the following options to specify the connection type:
Option Steps Custom Application Server Select one of the following options to specify the SAP server hostname: - Credential: Enables you to use a value available in the Credential Vault that contains information about the SAP server hostname.
- Variable: Enables you to use a credential variable that contains information about the SAP server hostname.
- Insecure string: Enables you to enter the hostname for the SAP server.
Group/Server - Select one of the following options to specify the SAP message
server hostname:
- Credential: Enables you to use a value available in the Credential Vault that contains information about the SAP message server hostname.
- Variable: Enables you to use a credential variable that contains information about the SAP message server hostname.
- Insecure string: Enables you to specify the hostname for the SAP message server.
- Optional: Specify the gateway host you want to use to connect to the server in the Gateway host field.
- Optional: Specify the logon group you want to use to connect to the server in the Logon group field.
-
Enter values for the following:
- System number
- Optional: SAP instance system ID
- Client number
- Logon language code
- Optional: Router string
- Select one of the following options to specify the username you want to
use to connect to the SAP server:
- Credential: Enables you to use a value available in the Credential Vault that contains the username.
- Variable: Enables you to use a credential variable that contains the username.
- Insecure string: Enables you to enter the username.
- Select one of the following options to specify the password you want to
use to connect to the SAP server:
- Credential: Enables you to use a value available in the Credential Vault that contains the password.
- Variable: Enables you to use a credential variable that contains the password.
- Insecure string: Enables you to enter the password.
- Click Save.