ABAP - Keyword Documentation → ABAP RAP Business Objects → RAP - Behavior Definitions → RAP - BDL for Behavior Definitions → RAP - BDEF Extension → RAP - BDEF Extension, Extensibility Enabling → 

    RAP - Extensibility Enabling for Base BOs

    Syntax


    managed | unmanaged 
    strict[(version)];
    extensible 
    [with friends BDEFExtension1 [, BDEFExtension2] [,...] ] 
    [{
      [with validations on save;] 
      [with determinations on save;] 
      [with determinations on modify;] 
      [with additional save;] 
    }];
    [...] 
    define behavior for RootEntity 
      extensible 
      [...] 
    {
      [...] 
      [mapping for PartnerType corresponding extensible] 
      [determine action Name extensible { ... }] 
      [draft determine action Prepare extensible { ... }] 
      ...
    }
    ...

    Prerequisite


    To allow BDEF extensions to a managed or unmanaged RAP behavior definition, BDEF strict mode must be switched on using the keyword strict[(version)].

    Description


    The keyword extensible can be specified at different places to allow for extensions:

    In the header declaration, the following optional additions are available:

    &ABAP_LIMITATION&

    In unmanaged RAP BOs, there are the following limitations:

    • Determinations and validations cannot be specified in BDEF extensions to unmanaged RAP BOs. Therefore, the following additions are not available:
    • A RAP additional save is not available in BDEF extensions to unmanaged RAP BOs. Therefore, the addition with additional save; is not available.
    • Determine actions and the draft determine action Prepare are not available in BDEF extensions to unmanaged RAP BOs. Therefore, determine actions and the draft determine action Prepare cannot be specified as extensible.
    • Node extensibility is not available for unmanaged RAP BOs.

    Continue