CreateBehaviorDefinition
Creates RAP behavior definitions (managed, unmanaged, abstract, projection) for a root entity and records them in a specified transport request.
Instructions
Creates a managed, unmanaged, abstract or projection RAP behavior definition (BDEF) for a root entity, 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": {
"name": "<name>",
"package_name": "<package_name>",
"root_entity": "<root_entity>",
"implementation_type": "<implementation_type>"
},
"name": "CreateBehaviorDefinition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Behavior Definition name (usually same as Root Entity name) | |
| 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 after creation. Default: true | |
| description | No | Description | |
| root_entity | Yes | Root Entity name (CDS View name) | |
| package_name | Yes | Package name | |
| 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. | |
| transport_request | No | Transport request number, not a task | |
| implementation_type | Yes | Implementation type: 'Managed', 'Unmanaged', 'Abstract', 'Projection' |