UpdateServiceDefinition
Updates the source code of an existing service definition (SRVD), optionally activates it, and records the change in a specified transport request.
Instructions
Updates the source code of an existing service definition (SRVD), activating it when asked, recorded in the transport given.
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) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent. | 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. |