resetSession
Recover a broken write session by rebuilding a fresh stateful ADT session and re-logging in. Use this to fix stale lock or stateful lost errors without permanently disabling the client.
Instructions
RECOVER a broken write session: rebuilds a fresh STATEFUL ADT session for the active connection and re-logs in. Use this (NOT logout) when a lock/edit fails with "stale lock" or "stateful lost" — logout permanently disables the client, resetSession restores it and releases the prior session's locks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | Optional: SAP connection name to use for THIS call only (overrides the active connection; see listConnections). Immune to server restarts and concurrent switches. |