Ansicht
Dokumentation

ABAPSAVER_CLASS_CLEANUP_FINALIZE - SAVER CLASS CLEANUP FINALIZE

ABAPSAVER_CLASS_CLEANUP_FINALIZE - SAVER CLASS CLEANUP FINALIZE

Vendor Master (General Section)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

cleanup_finalize, RAP Saver Method

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

CLASS lsc_bdef IMPLEMENTATION
      ...
     $[METHOD cleanup_finalize.
      ...
      ENDMETHOD$]
      ...
ENDCLASS.


Effect

Optional RAP saver method that can be defined as part of a RAP saver class lsc_bdef in the CCIMP include of an ABAP behavior pool. It is declared by redefining predefined methods of the superclass. It does not have any IMPORTING or CHANGING, for example, response parameters.

The method clears the transactional buffer and is only called if issues arise in the finalize or check_before_save methods within the current LUW. In these cases, the adjust_numbers, save, and cleanup methods are skipped.

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

  • The example Example for a RAP Saver Class (Late Numbering) demonstrates this RAP saver method within a RAP saver class using a simple unmanaged RAP BO in late numbering scenario which also includes the adjust_numbers saver method.





rdisp/max_wprun_time - Maximum work process run time   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3862 Date: 20240509 Time: 210232     sap01-206 ( 37 ms )