Ansicht
Dokumentation

ABENLUW_RAP_ABEXA - LUW RAP ABEXA

ABENLUW_RAP_ABEXA - LUW RAP ABEXA

ABAP Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

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.

Source Code

Execute

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 )