sap_connect_existing
Attach to an already open SAP GUI session when SAP is logged in. Use connection and session indexes from the connection listing; scripting-disabled sessions cannot be attached.
Instructions
Connect to an already open SAP session. Use this when SAP is already logged in.
This is the most common starting point. connection_index=0 and session_index=0 connect to the first open session. Also attaches to SAP Business Client / embedded SAP GUI sessions. Indexes come from sap_list_connections; a connection with scripting_disabled=true cannot be attached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_index | No | ||
| connection_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||