Ansicht
Dokumentation

ABAPEMLCOMMIT_ENTITIES_DYN - EMLCOMMIT ENTITIES DYN

ABAPEMLCOMMIT_ENTITIES_DYN - EMLCOMMIT ENTITIES DYN

CL_GUI_FRONTEND_SERVICES - Frontend Services   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

COMMIT ENTITIES RESPONSES, Dynamic Form

COMMIT ENTITIES $[IN SIMULATION MODE$] RESPONSES $[OF dyn_tab$] response_param.

Additions

1. ... IN SIMULATION MODE

2. ... OF dyn_tab

Effect

Triggers the RAP save sequence and finishes the RAP LUW.

All RAP BO instances that have been changed within the RAP LUW and that are present in the transactional buffer are persisted to the database. This syntax form of the COMMIT ENTITIES statement includes response parameters (response_param). The dynamic aspect comes along with using the addition OF dyn_tab.

FAILED and REPORTED responses can be retrieved for one or more RAP BOs that have been modified beforehand. The parameters following the FAILED and REPORTED parameters must be internal tables typed with ABP_BEHV_RESPONSE_TAB.

Note

Addition 1

... IN SIMULATION MODE

Effect

Addition 2

... OF dyn_tab

Effect

When using the dynamic form of the COMMIT ENTITIES statement, the table dyn_tab specifies from which root entities the response information should be retrieved. dyn_tab must be of type ABP_ENTITY_NAME_TAB. The components are the names of the root entities. They must be typed with ABP_ROOT_ENTITY_NAME.

Example

The following source code section taken from DEMO_RAP_EML_COMMIT_2 demonstrates the dynamic form of the COMMIT ENTITIES statement.

The example COMMIT ENTITIES, Dynamic Form demonstrates the use of the dynamic form of the COMMIT ENTITIES statement.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2880 Date: 20240328 Time: 170456     sap01-206 ( 37 ms )