All topics
ARCHITECTAdvanced

RAP Basics

Master ABAP RAP fundamentals with CDS root views, behavior definitions, managed and unmanaged scenarios, actions, determinations, validations, EML, draft, locking, authorization and service binding.

Overview

Master ABAP RAP fundamentals with CDS root views, behavior definitions, managed and unmanaged scenarios, actions, determinations, validations, EML, draft, locking, authorization and service binding.

Lessons in this topic

Interview questions covered

  • How does RAP fit S/4HANA Clean Core?
  • What is a determination?
  • How do you expose a RAP service to Fiori?
  • What is the difference between action, determination and validation in RAP?
  • How would you design a RAP business object with header and items?
  • What is the role of behavior definition in RAP?
  • What is RAP in SAP ABAP?
  • Explain the difference between managed and unmanaged RAP business objects.
  • Why should direct database updates be avoided for RAP business objects?
  • Your team must decide between managed and unmanaged RAP for a new requirement. Which questions do you ask?
  • An approve action for expense claims reads each selected claim with a separate SELECT SINGLE in a loop and raises a message when one fails, but the other claims still get approved without any explanation for the failed one. How do you improve the implementation?
  • In a travel app, the total price is calculated in a determination on save. Users entering bookings in the Fiori object page see a total of zero until they press Save and think the app is broken. What do you change?
  • A batch program called MODIFY ENTITIES to create orders and immediately reported success, but nothing appeared in the database and some records were never explained. What is wrong?
  • An expense app put defaulting, validation and status transitions all into one big determination on save. Users get no immediate feedback, and wrong amounts are silently corrected. How would you restructure the logic?
  • A new approval app on custom tables needs standard CRUD, draft, and in addition must write change documents and an application log entry whenever an approval request is saved. Which RAP implementation type do you choose and where does the extra logic go?
  • Your team designed a draft-enabled RAP BO for trade promotions with the promotion number (from a number range) as the table key, drawn in early numbering. Auditors now complain about large gaps in promotion numbers. What went wrong and how would you redesign the keys?
  • A Fiori app hid the Approve button for approved or foreign-region requests, but an integration partner using the OData API was still able to approve such requests. Where should this rule have been implemented?
  • A RAP-based Fiori app suddenly shows an empty list after a transport. How do you localize the problem?
  • What key design decisions do you make when starting a new RAP business object?
  • Explain RAP feature control for operations and fields, and how to troubleshoot it.

Related topics

Interview questions on this topic