CheckProgram
Runs a syntax check on a named ABAP program, returning errors, warnings, and messages; use the inactive version option to validate unsaved changes.
Instructions
[read-only] Runs a syntax check on the ABAP program (report) named by program_name. Returns syntax errors, warnings, and messages. Available on premise. Recordable: in batch mode a call is recorded under the next number and answers with empty content; its answer is read by number after the batch ends.
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": {
"program_name": "<program_name>"
},
"name": "CheckProgram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Which version to check — it goes into the checkrun body as chkrun:version, as ADT sends it. Without `version` the active version is checked; pass `inactive` for the unsaved one right after a write. | |
| program_name | Yes | Program name. |