Ansicht
Dokumentation
ABAPEMLCOMMIT_ENTITIES_DYN - EMLCOMMIT ENTITIES DYN
BAL Application Log Documentation SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
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 General Material Data
This documentation is copyright by SAP AG.
Length: 2880 Date: 20240328 Time: 234435 sap01-206 ( 42 ms )