Ansicht
Dokumentation

ABENABAP_FOR_RAP_BOS - ABAP FOR RAP BOS

ABENABAP_FOR_RAP_BOS - ABAP FOR RAP BOS

rdisp/max_wprun_time - Maximum work process run time   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

ABAP for RAP Business Objects

This section describes the ABAP language elements for providing and consuming RAP business objects (RAP BOs). A RAP BO is mainly defined by a CDS behavior definition (BDEF). The Behavior Definition defines:

The data content of a RAP BO is stored in a transactional buffer. The RAP BO operations work with the transactional buffer and must follow the REST paradigm.

  • For managed RAP BOs, the transactional buffer is provided and handled as a managed transactional buffer by the RAP BO provider. In non-standard operations of a managed RAP BO, the managed transactional buffer can be accessed by EML statements.

RAP BO consumers trigger the RAP BO operations. A RAP BO consumer is either the RAP runtime framework that handles requests from outside the AS ABAP or an ABAP program using ABAP EML.

ABAP language contains elements for providing RAP BOs and for consuming RAP BOs:

  • ABAP Behavior Pools (ABP) are special class pools for implementing the non-standard RAP BO operations. Classes of an ABP access the transactional buffer of the RAP BO, which is either managed or unmanaged.

  • In case of a managed transactional buffer, ABAP EML must be used in the behavior implementation for accessing it. There are special EML variants that can be used in behavior implementations only.

  • The language elements for accessing RAP BOs from any ABAP program are provided by the ABAP Entity Manipulation Language (EML). ABAP EML statements call the operations of a RAP BO that work with the transactional buffer. The operations can be implemented by the managed RAP BO provider or in ABAP behavior implementations (unmanaged).

The following topics document the ABAP language elements for consuming and providing RAP BOs:






CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4564 Date: 20240425 Time: 172547     sap01-206 ( 58 ms )