Q: 2
You need row-level restrictions by company code for data exposed via a CDS view entity used in your RAP BO. What is the recommended approach?
Options
Discussion
B . C is tempting but DCL is the RAP standard for row-level auth, not ABAP AUTHORITY-CHECK. Filtering at UI (D) misses backend enforcement.
Option B is the way to go since DCL roles ensure database-level row restrictions, which is exactly what RAP expects. C looks tempting but thats only checking in business logic, and D is risky since UI-only filters dont enforce true security. Anyone disagree?
B or maybe C, but pretty sure the standard is B (DCL role grants). Instance-based auth should be handled declaratively for RAP CDS views not with manual ABAP checks.
Be respectful. No spam.