Academy · ABAP & RAP Development · 300 Professional
Advanced RAP: Draft, Side Effects, Authorizations and Business Events
Extends RAP skills with a draft-enabled managed business object for Contoso's core return agreements: the draft lifecycle and its edge cases, instance and global feature control, authorization control with CDS access control for reads, side effects that keep Fiori elements screens correct, RAP business events for decoupled consumers, and a layered test approach with ABAP Unit, EML, RAP test doubles and end-to-end checks.
- 49 minutes
- 5 lessons + quiz
- ABAP / RAP Developer, BTP & Extension Developer
What you’ll be able to do
- Implement draft-enabled business objects
- Control features and authorizations in RAP
- Define side effects for responsive UIs
- Raise RAP business events
- Test complex behavior with RAP test tools
Sources and further reading
- RAP BDL: with draft (ABAP Keyword Documentation 7.58) · SAP Help Portal
- RAP BDL: side effects (ABAP Keyword Documentation 7.58) · SAP Help Portal
- RAP BDL: event (ABAP Keyword Documentation 7.58) · SAP Help Portal
- RAP BDL: authorization control (ABAP Keyword Documentation 7.58) · SAP Help Portal
- RAP BDL: feature control for operations (ABAP Keyword Documentation 7.58) · SAP Help Portal
- ABAP cheat sheet: RAP Behavior Definition Language · SAP Samples on GitHub
- ABAP cheat sheet: ABAP EML in RAP · SAP Samples on GitHub
- Write an ABAP Unit Test for the RAP Business Object (RAP100 tutorial) · SAP Developers