Sap Execute Transaction
sap_execute_transactionExecute an SAP transaction code (tcode) to navigate directly to its initial screen. Check the returned screen info and ensure the tcode is permitted by the blocklist or allowlist.
Instructions
Execute (start/run) an SAP transaction code (tcode), e.g. MM03, VA01, SM30.
Navigates to the transaction's initial screen. Always check the screen info in the response to understand what screen you landed on. Some transactions require /n prefix for SCWM (e.g., /n/SCWM/MON). A bare /n leaves the current transaction (unsaved data is lost).
Subject to transaction blocklist/allowlist. Use sap_get_session_info to see the current transaction before navigating away.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tcode": "<tcode>"
},
"name": "sap_execute_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tcode | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||