UpdateBehaviorImplementation
Updates the source code of an existing ABAP behavior implementation class, including lock, write, unlock, and optional activation.
Instructions
Update source code of an existing ABAP behavior implementation class. Updates the implementations include. Manages lock, update, unlock, and optional activation. 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": {
"class_name": "<class_name>",
"behavior_definition": "<behavior_definition>",
"implementation_code": "<implementation_code>"
},
"name": "UpdateBehaviorImplementation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 behavior implementation after update. Default: true. | |
| class_name | Yes | Behavior Implementation class name. Must exist in the system. | |
| transport_request | No | Transport request number, not a task. Optional if object is local or already in transport. | |
| behavior_definition | Yes | Referenced Behavior Definition name. Accepted for compatibility; not forwarded to the write — the shipped update() no longer reads it (it writes the implementations include only, never the FOR BEHAVIOR OF main source). | |
| implementation_code | Yes | Implementation code for the implementations include. Contains the actual behavior implementation methods. |