Scenario-Based SAP ABAP
RAP Interview Questions
with Clean Core Principles
Swipe through expert-crafted real-world scenarios that
combine ABAP RAP best practices with clean core
principles to confidently ace your next SAP technical
interview!
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
What is ABAP RAP?
1 RESTful Application Programming Model
Enables Fiori-compliant services in SAP S/4HANA
2 Clean Core Strategy
Supports managed and unmanaged Business Objects
3 Key Benefits
Extensibility and upgrade-safe customizations
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Clean Core Explained
No Modifications
Keep SAP standard code untouched
Extension Approach
Use In-App, Side-by-Side extensions
Modern Design
RAP & BTP for maintainability
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Managed vs Unmanaged
BO
Feature Managed BO Unmanaged
BO
Framework Full lifecycle Developer
Control by RAP controls
Coding Minimal Full CRUD
Requirement logic
Clean Core High Moderate
Alignment
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q1: Managed BO Use Case
The Question
How did you use Managed RAP BO for clean core implementation?
The Answer
Created ZRAP_SALESORDER with framework-managed CRUD
operations
Clean Core Benefit
Upgrade-safe, zero modification to standard SAP
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q2: When to Use Unmanaged BO
The Question
When did you use Unmanaged BO instead of Managed?
The Answer
Legacy integration with complex 3rd-party data validation
Clean Core Approach
Encapsulated logic via RAP-friendly interfaces
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q3: RAP for Clean Core
Custom Views
Use custom CDS views, not standard table modifications
Authorization
CDS-based authorization checks
Architecture
Separate UI, logic, and database layers
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q4: Field Updates in Managed BO
Override modify method
In Behavior Implementation class
Field control
Use modification section
Trigger recalculation
Via determination methods
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q5: Authorization in RAP
The Question
How do you handle custom authorization in RAP apps?
The Answer
DCL for CDS-level auth with @AccessControl annotations
Clean Core Benefit
Clean, scalable security without hardcoded checks
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q6: Draft Handling Differences
Business Object Type Draft Handling Approach
Managed BO Automatic by RAP framework
Unmanaged BO Developer manages draft table
and lifecycle
Clean Core Tip Prefer Managed BO for draft
mode
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q7: Error Handling in Unmanaged
BO
Use REPORTED keyword
In behavior implementation
Add to failed table
For individual entries
Attach MESSAGE
Using message class for consistency
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q8: Business Logic in Managed BO
The Question
How is tax/price calculation handled in Managed RAP?
The Answer
Determination logic in behavior implementation
Clean Core Benefit
Automatic calls on create/update, clean architecture
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q9: Extending RAP BO
Metadata Extension
For field addition
Extension View
Project via new service definition
Subclassing
For additional logic if needed
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Q10: Integration Scenarios
The Question
How to ensure clean core in hybrid apps?
The Answer
BTP Destinations and RFC wrappers via side-by-side RAP
Clean Core Benefit
Upgrade-safe, loosely coupled architecture
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com
Ready to Ace Your SAP ABAP
RAP Interview?
RAP simplifies clean core development with managed BOs, draft
handling, and ABAP Cloud principles.
Share this guide with fellow SAP developers or tag someone preparing
for an interview!
For deeper learning, visit mentorspool.com/sap
For more Free Learning Resourses Follow Mentors Pool Youtube-
https://youtu.be/3Cyu0zwxDPg?si=Q9CG_Znglmkx-Zy7
© COPYRIGHT MENTORSPOOL.COM. ALL RIGHTS RESERVED www.mentorspool.com