DebugSetVariable
Sets a variable’s value in a stopped ABAP debuggee by converting the supplied value to the required type. Use it during non-batch debugging to change runtime state.
Instructions
[read-only] [debug] Sets a variable of the stopped debuggee. Needs a stopped debuggee. Runs outside batch mode.
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": {
"state_handle": "<state_handle>",
"name": "<name>",
"value": "<value>"
},
"name": "DebugSetVariable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Variable to set; a path reaches a component. | |
| value | Yes | New value; converted to the type by the system. | |
| detail | No | How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | terse |
| state_handle | Yes | Opaque handle identifying the server-held state this operation works on. |