UpdateServiceDefinition
Update an existing ABAP service definition by replacing its source code, using a stateful session with proper lock and unlock mechanism to ensure consistency.
Instructions
Update source code of an existing ABAP service definition. Uses stateful session with proper lock/unlock mechanism.
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 |
|---|---|---|---|
| activate | No | Activate service definition after update. Default: true. | |
| source_code | Yes | Complete service definition source code. | |
| transport_request | No | Transport request number (e.g., E19K905635). Optional if object is local or already in transport. | |
| service_definition_name | Yes | Service definition name (e.g., ZSD_MY_SERVICE). Must exist in the system. |