Ansicht
Dokumentation

ABENBDL_EXTEND_BEH - BDL EXTEND BEH

ABENBDL_EXTEND_BEH - BDL EXTEND BEH

BAL Application Log Documentation   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

- Entity Behavior Extension

extend behavior for EntityName
$[ implementation in class ClassName unique$]
$[with additional save $[with full data$]$]
{
    extension_body
  $|$[implementation_grouping$]
}
...


Effect

Extends the behavior of an existing RAP BO entity.

Syntax additions and components:

  • As a prerequisite, the extended BDEF must explicitly allow extensions with additional save (see topic about extensibility enabling).

  • Possible only if the underlying BO has implementation type managed.

  • The saving options specified in the original BO do not affect the additional save of the extension. The original BO can specify an additional save, an unmanaged save, or use the default save sequence. The original saving option is applied to original behavior and the additional save specified in the extension is applied to extension behavior.

  • The implementation takes place in the save_modified method of the RAP saver class in the respective extension ABP. The method parameters of this save_modified method are typed according to the particular BDEF extension that enable the additional save. In other words, the ABP reflects exactly the BDEF components of the BDEF it belongs to and not the entire RAP BO. Furthermore, the rules for extension ABPs apply. data is handed over to the save_modified method. It works as described in topic CDS BDL - Saving Options. If this addition is specified either in the original RAP BO or in an extension, then it is enabled each time an additional save is implemented. There may exist multiple extensions, all of them may specify an additional save, but only one of them may specify with full data. In this case, full instance data is handed over each time the save_modified method is called, even for extensions which do not specify this addition.

  • The addition with additional save $[with full data$] in a BDEF extension works as described in topic CDS BDL - Saving Options.






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

Length: 6073 Date: 20240512 Time: 093955     sap01-206 ( 69 ms )