CreateServiceBinding
Create an OData V2 or V4 service binding (UI or Web API) for a service definition in initial state, with optional activation to expose the service for Fiori or API consumption.
Instructions
Create an OData service binding (V2 or V4, UI or Web API) for a service definition, in initial state. When activate is false, recordable: in batch mode a call is recorded under the next number and answers with empty content; its answer is read by number after the batch ends.
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, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | 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 | Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN. | |
| 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. |