Step 1: Open Eclipse
-
Go to your ABAP package created in Create and Expose a Core Data Services Based on a Database Table and open your data definition
ZI_BOOKING_XXX
to add following statement:root
-
Save and activate.
Log on to answer question
Step 2: Open other repository object
Right-click on your package and navigate to New > Other ABAP Repository Object from the appearing context menu.
Log on to answer question
Step 3: Create behavior definition
-
Navigate to Core Data Services, select Behavior Definition and press Next.
-
Create a behavior definition for booking node/entities.
-
Click Finish to complete your transport request.
-
Check result. An empty behavior definition for unmanaged implementation is created.
Log on to answer question
Step 4: Implement behavior definition
- Provide an alias (
booking
) and specify the lock master. Define the table fieldLastChangedAt
for theETag
handling. Replace the following coding:swift
Copy
implementation unmanaged; define behavior for ZI_BOOKING_XXX alias booking lock master etag LastChangedAt { create; update; delete; }
- Save and activate.
Log on to answer question
Step 5: Create behavior implementation
-
Right-click on your behavior definition and select New Behavior Implementation.
-
Provide a name and click Next.
-
Provide a transport request if required and cli