What does it do? 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>
ABAP Alternative 1 ... CHANGE bdef>
What does it do? 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.
ABAP Alternative 2 ... DELETE bdef>
What does it do? 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.
ABAP_EXAMPLE_ABEXA
The example ABAP_EML - TYPE REQUEST FOR> in a Managed RAP BO with Additional Save> shows the types TYPE REQUEST FOR CHANGE> and TYPE REQUEST FOR DELETE> in the context of a simple managed RAP BO whose BDEF is specified with with additional save>.
The example ABAP_EML - TYPE REQUEST FOR> in a managed RAP BO with unmanaged save> shows the types TYPE REQUEST FOR CHANGE> and TYPE REQUEST FOR DELETE> in the context of a simple managed RAP BO whose BDEF is specified with with unmanaged save>. ABAP_EXAMPLE_END