Connect
Log on to an SAP system through SAP JCo (application server or message server with a logon group, optional SAP router and SNC) and keep the logon for the following steps.
Command in the SAP BAPI toolkit · id ooa.sap_bapi/connect · 19 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Host | String | No | Application server host name or IP address; it may come from the vault. | |
| System number | String | No | Two-digit SAP system (instance) number. | |
| Client | String | Yes | Three-digit SAP client. | |
| User | String | No | SAP user name; it may come from the vault. | |
| Password | Credential | No | SAP password from the vault. | |
| Language | String | No | EN | Logon language, e.g. EN or DE. |
| Message server | String | No | Message server host, for load balancing instead of one application server; it may come from the vault. | |
| System ID | String | No | Three-character system ID (with a message server). | |
| Logon group | String | No | PUBLIC | Logon group (with a message server). |
| Router | String | No | SAP router string. | |
| Snc partner name | String | No | SNC name of the SAP system; turns on SNC (secure, single sign-on). | |
| Snc library | File | No | Path of the SNC library (e.g. sapcrypto.dll) when SNC is used. | |
| Properties | Dictionary | No | Other JCo destination properties, e.g. {"jco.destination.pool_capacity": "3"}. | |
| Session | String | No | sap | Session name; one SAP logon per session. |
| Sign in | String | No | How to sign in: password (user and password), snc (secure network single sign-on), or snc_and_password (secure network plus user and password); worked out from the fields when empty. | |
| Snc protection | String | No | maximum | SNC protection level: authentication only, integrity, privacy (encryption), the system's default, or the maximum both sides support. |
| Gateway host | String | No | Gateway host, when it is not the application or message server. | |
| Gateway service | String | No | Gateway service (sapgwNN) or port, with the gateway host. | |
| Jco folder | File | No | Folder holding sapjco3.jar and its native library, for this runner; the runner's usual places are used when empty. |
Outputs
| Output | Type | What it is |
|---|---|---|
| system | Dictionary | system_id, client, user, host and release of the logon. |