CreateBehaviorImplementation
Create ABAP behavior implementation classes to define business logic for RAP entities in SAP systems, ensuring proper lock management through stateful sessions.
Instructions
Create a new ABAP behavior implementation class for a behavior definition. Behavior implementations contain the business logic for RAP entities. Uses stateful session for proper lock management.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | Behavior Implementation class name (e.g., ZBP_MY_ENTITY). Must follow SAP naming conventions (typically starts with ZBP_ for behavior implementations). | |
| behavior_definition | Yes | Behavior Definition name (e.g., ZI_MY_ENTITY). The behavior definition must exist. | |
| description | No | Class description. If not provided, class_name will be used. | |
| package_name | Yes | Package name (e.g., ZOK_LOCAL, $TMP for local objects) | |
| transport_request | No | Transport request number (e.g., E19K905635). Required for transportable packages. | |
| implementation_code | No | Implementation code for the implementations include (optional). Contains the actual behavior implementation methods. | |
| activate | No | Activate behavior implementation after creation. Default: true. |