SAP RAP (ABAP RESTful Application Programming Model) has two main flavors: managed and unmanaged. Let's focus on the unmanaged version.
Unmanaged SAP RAP refers to a development approach where developers have more control over the data persistence and business logic compared to the managed approach. Here are some key aspects:
Overall, unmanaged SAP RAP provides a more hands-on approach to application development compared to the managed approach, allowing developers to leverage their expertise in ABAP programming and database handling while building modern RESTful APIs.
Top of Form
In this example, we will show a simple application for Employee build with RAP Unmanaged flavors.
Development steps.
To be summarized below object will be created for Unmanaged scenario.
Table ZT01_EMPLOYEE
Base CDS View Z_I_EMPLOYEES_U
Consumption CDS view Z_C_EMPLOYEES_U
Behavior Definition
Bottom of Form
Behavior definition
Implement the Create method
Implement Update Method
Implement Delete Method
Implement Adjust_Numbers method.
Implement Save method.
Test
2. Click on Create. Give Input value and Create.
3. New Record got created.
4. Select any Row , click on Edit.
5. Change the value and Save.
6. Record will be updated.
7. Select the Rows and click on Delete.
8. Records will be deleted.
9. In the Database table also you can see the records.
So, all the CRUD operation is successful using RAP Unmanaged flavors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |