Coconote
AI notes
AI voice & video notes
Try for free
🆕
Latest Features in ABAP RAP Model
Aug 29, 2024
What's New in the ABAP RESTful Application Programming Model
Introduction
Speaker
: Andre Fisher, Product Manager in the ABAP Development Group
Main focus
: Latest features in the RAP framework introduced in release 2308.
SAP Fiori Elements Feature Showcase
New features built in the latest version of the showcase app.
Key Feature
: Ability to define a leading entity for a RAP business object.
Enhances navigation and usability in ADT (ABAP Development Tools).
Other features include:
Time zone conversion.
Mandatory action parameter.
Enhanced search functionality (Ctrl + F) to navigate documentation.
SAP Logical Unit of Work (LUW)
Logical Unit of Work
: Important for managing transactional phases during data modifications.
Phases
:
Injection Phase
: User interaction for data changes.
Early Save Phase
: Prepares data for saving.
Late Save Phase
: Finalizes the save operation; a point of no return.
Improvements in error handling and stability for developers:
New methods introduced:
modify
and
save
.
Clearer orchestration of transaction phases.
Background Processing Framework (BGPF)
Purpose
: Allows asynchronous processing for long-running operations.
Configuration
: Simplified setup, especially in cloud-based environments.
How it works
:
Uses a factory class to start execution after a commit work.
Supports both RAP apps and traditional background processing.
Demo
: Sending emails asynchronously based on data changes using the BGPF.
Local Events and Event Extension
Introduction of Local Events
: Ability to raise events locally, enhancing event handling.
Event Handler Class
: Implement a class to consume local events.
Extending Events
:
Create a managed event to add custom payloads to existing SAP events.
Example: Extend events to include additional data such as order item prices.
Conclusion
New features in RAP provide enhanced stability, asynchronous processing capabilities, and improved event handling.
Encouragement to explore these features in trial systems or SAP environments.
Open to questions and feedback.
📄
Full transcript