SAP EMLCOMMIT ENTITIES LONG ABAP Statements



Get Example source ABAP code based on a different SAP table
  



COMMIT ENTITIES RESPONSE OF, Long Form

ABAP_SYNTAX
COMMIT ENTITIES $[IN SIMULATION MODE$] RESPONSE OF bdef1 response_param
$[RESPONSE OF bdef2 response_param$]
$[...$].

ABAP Addition
... IN SIMULATION MODE

What does it do?
Used to trigger the save sequence and finish the RAP transaction. All RAP BO instances that have been changed within the RAP transaction and that are present in the transactional buffer are persisted to the database. The long syntax form of the COMMIT ENTITIES statement includes the retrieval of information returned by the FAILED and REPORTED response parameters of RAP saver methods for multiple RAP BO entities. FAILED and REPORTED responses can be retrieved for one or more RAP BOs that have been modified beforehand. bdef1, bdef2 , etc., must be the names of root entities.
The responses of each involved BO must be requested separately. The operands following the additions FAILED and REPORTED must be of type TYPE RESPONSE FOR FAILED LATE or TYPE RESPONSE FOR REPORTED LATE respectively. For more information on response_param, see here .
For general hints on using the statement see the topic COMMIT ENTITIES.

ABAP_EXAMPLE_VX5
The following source code section taken from CL_DEMO_RAP_EML_COMMIT_1 demonstrates the long form of the COMMIT ENTITIES statement.
ABEXA 01545
ABAP_EXAMPLE_END

ABAP Addition

What does it do?