CreateServiceBinding
Creates an OData V2 or V4 service binding (UI or Web API) for an existing service definition, setting the binding and published service names, version, package, and activation.
Instructions
Creates an OData V2 or V4 service binding (SRVB), UI or Web API, for a service definition (SRVD), with its service name and version.
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>",
"service_definition_name": "<service_definition_name>",
"package_name": "<package_name>"
},
"name": "CreateServiceBinding"
}
}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 the service binding after create, then read its service group. Default: true. | |
| description | No | Optional description. Defaults to service_binding_name when omitted. | |
| package_name | Yes | ABAP package name. | |
| service_name | No | Published service name. Default: service_binding_name if omitted. | |
| binding_variant | No | Service binding variant. ODATA_V4_UI = OData V4 for Fiori Elements, ODATA_V4_WEB_API = OData V4 Web API, ODATA_V2_UI = OData V2 for Fiori Elements, ODATA_V2_WEB_API = OData V2 Web API. | ODATA_V4_UI |
| master_language | No | Original language of the created object (e.g. EN, DE). Absent, the session language (SAP_LANGUAGE or x-sap-language) is used; with none, SAP's logon language applies. | |
| 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. | |
| transport_request | No | Optional transport request for transport checks. | |
| service_binding_name | Yes | Service binding name. | |
| service_definition_name | Yes | Referenced service definition name. |