SAP / SAP Mid Level (3 to 8 yrs) Interview questions
What is the difference between managed and unmanaged RAP scenarios?
In a managed RAP scenario, the framework itself handles standard persistence operations (insert, update, delete against the underlying database table) automatically, based on the behavior definition — you only write custom code for validations, determinations, and business logic beyond basic CRUD. In an unmanaged scenario, you write the actual persistence logic yourself (often wrapping an existing BAPI or custom logic), with RAP providing the framework structure around it rather than handling persistence for you.
| Managed | Unmanaged |
| Framework handles standard CRUD persistence automatically. | Developer implements persistence logic explicitly. |
| Best for new development with a clean underlying table. | Best for wrapping existing complex logic (e.g. an existing BAPI). |
| Less code to write for standard scenarios. | More control, more code, for scenarios standard CRUD doesn't fit. |
Managed is the recommended default for new development where the underlying persistence is straightforward; unmanaged remains necessary when integrating with existing complex business logic that doesn't map cleanly onto simple table CRUD.
More Related questions...
