ERPClimb logoERPClimb
Login
All topics
RAP_CDS_ODATAadvanced

Unmanaged RAP

Understand unmanaged RAP for brownfield scenarios where existing BAPIs, function modules or custom save logic must remain authoritative. Learn how developers implement CRUD, buffering, locking, save sequencing, messages and transaction consistency.

Overview

Understand unmanaged RAP for brownfield scenarios where existing BAPIs, function modules or custom save logic must remain authoritative. Learn how developers implement CRUD, buffering, locking, save sequencing, messages and transaction consistency.

Lessons in this topic

Interview questions covered

  • When would you choose unmanaged RAP instead of managed RAP, and what do you have to implement yourself once you do?
  • How do you implement locking in unmanaged RAP, and what should happen when another user already holds the lock?
  • Explain the transactional buffer in unmanaged RAP. How do the query path and the transactional read path differ, and what goes wrong if your read method ignores the buffer?
  • A 15-year-old custom purchase request transaction must get a Fiori app without losing its function-group logic. Walk through your RAP design.
  • Users report that editing only the description of an asset in a new RAP app wipes its location and cost center. The BO is unmanaged. What is the bug and how do you fix it?
  • In an unmanaged BO, a user changes a field and triggers an action in the same interaction. The action uses the old value, and the next save fails with 'data changed by another user'. What is the likely cause?
  • Explain the RAP save sequence in an unmanaged business object: which saver methods run, in which order, and where is the point of no return?
  • A legacy function module you must use in RAP ends with COMMIT WORK and also sends a synchronous RFC to a warehouse system. How do you integrate it safely?
  • Compare managed, managed with additional save, managed with unmanaged save and unmanaged RAP. How do you decide?
  • You must migrate a SEGW-based OData service and the BOPF object behind it to RAP. What is your plan?

How to study Unmanaged RAP

Unmanaged RAP has 5 lessons (1 intermediate, 4 advanced) with about 74 minutes of reading in total. Start with the lesson that matches your level, then read the real project scenario and common mistakes in each one before moving on. After the lessons, say the 10 interview questions out loud in your own words, then check yourself against the model answer in each question (shown once you open it). Use the 10 mock questions to check recall.

Mock test questions covered

Try answering each one before you open the mock test; the answer options and scoring are in the Mock Questions tab.

  • In an unmanaged lock method, enqueue raises cx_abap_foreign_lock for one key. What should the method do?
  • Why is the transactional buffer in an unmanaged behavior pool usually implemented with static attributes of a local class?
  • An instance is created and then deleted in the same transaction of an unmanaged BO. What should the delete handler do?
  • Where should an unmanaged BO run the legacy API's business checks so that errors can still be reported to the user?
  • Which statement is allowed in the save method of an unmanaged RAP saver class?
  • An existing API must persist the data, but editing behavior (buffer, partial updates, locks, draft) can be standard. Which implementation type fits best?
  • What is the most valuable first step when migrating a BOPF business object to RAP?
  • In an unmanaged update handler, what does entity-%control-Description = if_abap_behv=>mk-on tell you?
  • Which situation is the strongest reason to implement a RAP business object as unmanaged?
  • In an unmanaged business object, how is a Fiori list report query with filters answered?

Related topics

Interview questions on this topic