Ansicht
Dokumentation
ABENLUW_RAP_ABEXA - LUW RAP ABEXA
ABAP Short Reference CPI1466 during BackupThis documentation is copyright by SAP AG.
SAP LUW, RAP
This example demonstrates how SAP LUWs are bundled in the context of RAP.
The RAP artifacts are as follows:
- Data model: The CDS data model consists of the root entity DEMO_CDS_UPDATE.
- CDS behavior definition: DEMO_CDS_UPDATE defined in CDS BDL.
- Behavior implementation: For the above CDS behavior definitions, there is an ABAP behavior pool (ABP) available: BP_DEMO_CDS_UPDATE. The actual implementation takes place in the BP_DEMO_CDS_UPDATE============CCIMP. The implementation is not relevant for this example.
Source Code
Description
The example shows a program divided into segments by switching the work process. An implicit database commit is performed at the end of each segment. Here, the work process is switched using the statement WAIT UP TO. In real programs, a switch of this kind can have many different causes.
The program covers several MODIFY statements that create and update RAP BO instances. COMMIT WORK statements trigger the saving of those RAP BO instances on the database. This entails closing an SAP LUW and opening another.
CL_GUI_FRONTEND_SERVICES - Frontend Services PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 2373 Date: 20240329 Time: 095238 sap01-206 ( 33 ms )