CreateBehaviorDefinition
Creates a new ABAP Behavior Definition (BDEF) in an SAP system in its initial state, outside batch mode, ready for activation and use with a root CDS entity.
Instructions
Create a new ABAP Behavior Definition (BDEF) in SAP system. Creates the behavior definition object in initial state. 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": {
"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, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | 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 | Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN. | |
| transport_request | No | Transport request number, not a task | |
| implementation_type | Yes | Implementation type: 'Managed', 'Unmanaged', 'Abstract', 'Projection' |