All topics
RAP_CDS_ODATAintermediate

Behavior Implementations

Learn how RAP behavior pools implement actions, determinations, validations, authorization and unmanaged persistence while respecting bulk-processing and save-sequence rules. The emphasis is thin framework handlers, reusable domain services and correct FAILED/REPORTED messaging.

Overview

Learn how RAP behavior pools implement actions, determinations, validations, authorization and unmanaged persistence while respecting bulk-processing and save-sequence rules. The emphasis is thin framework handlers, reusable domain services and correct FAILED/REPORTED messaging.

Lessons in this topic

Interview questions covered

  • What is a behavior pool, and what is the difference between its handler and saver classes?
  • Explain %tky, %key, %cid, %pid, %control and %param. Which mistake happens when developers use key fields instead of %tky?
  • A purchase request total is sometimes doubled after editing in draft. The determination adds the changed item's amount to the total. What is wrong and how do you fix it?
  • What rules must determinations and validations follow, and what must they never do?
  • An integration called the approve action for requests in status New and approved them, bypassing the workflow. The Fiori button was correctly disabled. What went wrong?
  • Implement a 'copy request' feature in RAP. Which action type do you use and how does it return the new instance?
  • When does a managed RAP BO need a saver class, and what goes into adjust_numbers and save_modified?
  • An audit log written in a determination contains duplicate entries and entries for changes that were never saved. How do you fix it?
  • How do you test and debug a RAP behavior implementation effectively?
  • You review an inherited behavior pool before go-live. What checklist do you apply?

Related topics

Interview questions on this topic