UpdateBehaviorDefinition
Update source code for an existing ABAP Behavior Definition while handling lock, unlock, and optional activation.
Instructions
Update source code of an existing ABAP Behavior Definition (BDEF). Locks, updates, unlocks, and optionally activates. 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": {
"name": "<name>",
"source_code": "<source_code>"
},
"name": "UpdateBehaviorDefinition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Behavior Definition name | |
| 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 |
| activate | No | Activate after update. Default: true | |
| lock_handle | No | Lock handle from LockObject. If not provided, will attempt to lock internally (not recommended for stateful flows). | |
| source_code | Yes | New source code | |
| transport_request | No | Transport request number, not a task. Required for transportable packages. |