Ansicht
Dokumentation

ABAPTYPE_REQUEST_FOR - TYPE REQUEST FOR

ABAPTYPE_REQUEST_FOR - TYPE REQUEST FOR

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

TYPE REQUEST FOR

... REQUEST FOR ${ ${ CHANGE
                  $| DELETE $}
                    bdef $} ...


Alternatives:

1. ... CHANGE bdef

2. ... DELETE bdef

Effect

A structured data type that is only used in the context of managed implementations with additional save and with unmanaged save. In these cases, the ABP contains the save_modified method that is part of a local saver class that inherits from the base saver class CL_ABAP_BEHAVIOR_SAVER. Within the save_modified method, the following predefined parameters can be addressed:

  • create: structure typed with TYPE REQUEST FOR CHANGE
  • update: structure typed with TYPE REQUEST FOR CHANGE
  • delete: structure typed TYPE REQUEST FOR DELETE

Alternative 1

... CHANGE bdef


Effect

Used for the predefined create and update parameters that are only available in local saver classes of the ABP that inherit from the base saver class CL_ABAP_BEHAVIOR_SAVER. create and update that are typed with TYPE REQUEST FOR CHANGE contain nested tables that are named according to those entities for which the BDEF has specifications with additional save or with unmanaged save respectively and for which CREATE and/or UPDATE operations are allowed. The nested tables are of type TYPE TABLE FOR CHANGE. The tables include those RAP BO instances that are to be created (or updated) and saved.

Alternative 2

... DELETE bdef


Effect

Used for the predefined delete parameter that is only available in local saver classes of the ABP that inherit from the base saver class CL_ABAP_BEHAVIOR_SAVER. delete is typed with TYPE REQUEST FOR DELETE. It contains nested tables that are named according to those entities for which the BDEF has specifications with additional save, or with unmanaged save respectively; and for which DELETE operations are allowed. The nested tables are of type TYPE TABLE FOR KEY OF. The table includes those RAP BO instances that are to be deleted.






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

Length: 5418 Date: 20240426 Time: 110944     sap01-206 ( 70 ms )