CreateBehaviorDefinition
Create behavior definition for RAP business objects: configure CRUD, validations, determinations, actions, and draft handling. Choose implementation type: managed, unmanaged, abstract, or projection.
Instructions
Create a new ABAP Behavior Definition (BDEF) in SAP system. Defines RAP business object behavior: CRUD operations, validations, determinations, actions, and draft handling.
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) | |
| activate | No | Activate after creation. Default: true | |
| description | No | Description | |
| root_entity | Yes | Root Entity name (CDS View name) | |
| package_name | Yes | Package name | |
| transport_request | No | Transport request number | |
| implementation_type | Yes | Implementation type: 'Managed', 'Unmanaged', 'Abstract', 'Projection' |