All topics
RAP_CDS_ODATAintermediate

Managed RAP

Master managed RAP where the framework owns the transactional buffer and standard persistence for custom business objects. Learn CRUD, numbering, locking, validations, determinations, actions, draft options and the limits of direct managed persistence.

Overview

Master managed RAP where the framework owns the transactional buffer and standard persistence for custom business objects. Learn CRUD, numbering, locking, validations, determinations, actions, draft options and the limits of direct managed persistence.

Lessons in this topic

Interview questions covered

  • Walk me through the layers of a RAP application, from the database table to the Fiori app. What is the job of each layer?
  • In managed RAP, what exactly does the framework do for you, and why must a behavior implementation never contain COMMIT WORK or direct INSERT/UPDATE statements on its own tables?
  • Two users open the same purchase request. User B saves a change first; user A saves later from a stale screen. Which RAP mechanisms prevent A from overwriting B, and how do locks and ETags differ?
  • Design the numbering for a purchase request business object: users need a readable, sequential request number, but drafts are often abandoned. Which RAP numbering options exist and which would you choose?
  • Classify each requirement as a determination, validation, action, feature control or authorization: (1) status is New when a request is created, (2) description is mandatory, (3) manager clicks Approve, (4) Approve is only possible when status is Submitted, (5) only buyers may create requests. Explain why.
  • Implement a Submit/Approve/Reject workflow in a managed RAP object. What do you declare in the BDEF, and how does the approve action implementation look in principle?
  • What is the difference between a composition and an association in a RAP business object, and how do you create a header with items in one EML call?
  • After enabling draft on a working managed RAP object, one determination fails and the object page behaves oddly. What do you check?
  • A mass approval of 2,000 purchase requests through OData times out, although single approvals are fast. How do you analyze and fix it?
  • You inherit a managed RAP business object before a go-live. What would you review, and which findings would block production?

Related topics

Interview questions on this topic