Ansicht
Dokumentation

ABAPRAP_SAVER_METH_SAVE_MODIFIED - RAP SAVER METH SAVE MODIFIED

ABAPRAP_SAVER_METH_SAVE_MODIFIED - RAP SAVER METH SAVE MODIFIED

BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

save_modified, RAP Saver Method

CLASS lsc_bdef DEFINITION
  INHERITING FROM CL_ABAP_BEHAVIOR_SAVER $[ ABSTRACT$] $[FINAL$].
  PROTECTED SECTION.
     METHODS save_modified REDEFINITION.
   ...
ENDCLASS.

CLASS lsc_bdef IMPLEMENTATION
      METHOD save_modified. ... ENDMETHOD.
    ...
ENDCLASS.


Effect

RAP saver method that must be defined as part of a RAP saver class lsc_bdef in the CCIMP include of an ABAP behavior pool. It is only relevant for managed scenarios that include an additional or unmanaged save implementation. See the BDEF prerequisites in CDS BDL - saving options. The method is declared by redefining predefined methods of the superclass.

The method saves the current state of the transactional buffer, i. e. all RAP BO instances (including instances from cross-BO relationships) from within the current LUW, to the database.

Method Parameters

The method has the following implicit, predefined parameters:

  • create: Includes information on instances that have been created within the LUW. It is of type TYPE REQUEST FOR CHANGE.

  • update: Includes information on instances that have been updated within the LUW. It is of type TYPE REQUEST FOR CHANGE.

  • delete: Includes information on instances that have been deleted within the LUW. It is of type TYPE REQUEST FOR DELETE.

Development guide for the ABAP RESTful Application Programming Model, section Save Sequence Runtime.






ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5195 Date: 20240509 Time: 050438     sap01-206 ( 53 ms )