sap_run_program
Execute an ABAP report in SAP by specifying the program name; optionally set a selection variant and max output lines to get the result.
Instructions
Request execution of an ABAP report through the configured /run_program endpoint. Report name is required; variant-based selection and returned output depend on the installed backend. The public Node connector does not implement a 180-second timeout, background-job fallback or polling workflow. Agree the report and execution scope before use.
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": {
"report": "<report>"
},
"name": "sap_run_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | ABAP program name to execute (e.g., Z_PO_SUMMARIZER). Will be uppercased. | |
| variant | No | Selection screen variant name (optional). | |
| max_output_lines | No | Maximum output lines to return (default: 500) |