UpdateServiceDefinition
Update the source code of an existing ABAP service definition, including locking, unlocking, and optional activation outside batch mode.
Instructions
Update source code of an existing ABAP service definition. 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": {
"service_definition_name": "<service_definition_name>",
"source_code": "<source_code>"
},
"name": "UpdateServiceDefinition"
}
}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 service definition after update. Default: true. | |
| source_code | Yes | Complete service definition source code. | |
| transport_request | No | Transport request number, not a task. Optional if object is local or already in transport. | |
| service_definition_name | Yes | Service definition name. Must exist in the system. |