UpdateServiceBinding
Change the publication state of an existing ABAP service binding to published, unpublished, or unchanged, with routing based on OData V2/V4 variant. Runs outside batch mode.
Instructions
Update publication state of an existing ABAP service binding. 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_binding_name": "<service_binding_name>",
"desired_publication_state": "<desired_publication_state>",
"service_name": "<service_name>"
},
"name": "UpdateServiceBinding"
}
}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 |
| service_name | Yes | Published service name, from the binding. Required: an OData V2 publication job resolves the service by name and version and refuses without them. Ignored for V4, where the request names its target on its own. | |
| binding_variant | No | Service binding variant. Determines OData version for publish/unpublish routing. | ODATA_V4_UI |
| response_format | No | Accepted for backward compatibility; no longer affects the answer, which is always the structured write result. | xml |
| service_version | No | Published service version. Default 0001. Used by an OData V2 publication job together with the service name; ignored for V4. | |
| service_binding_name | Yes | Service binding name to update. | |
| desired_publication_state | Yes | Target publication state. |