Ansicht
Dokumentation

ABENBDL_TYPE_MAPPING_EXT - BDL TYPE MAPPING EXT

ABENBDL_TYPE_MAPPING_EXT - BDL TYPE MAPPING EXT

PERFORM Short Reference   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

- extend mapping

... extend mapping for PartnerType    $[control ControlType$]
                                      ${$[corresponding $[except Comp1,Comp2, ...$]$]$}
    {
      EntityComp1      = PartnerComp1 $[control ControlComp$];
     $[EntityComp2      = PartnerComp2 $[control ControlComp$];$]
     $[parameter Param1 = PartnerComp;$]
     $[... ;$]
    }
  $| mapping for PartnerType           $[control ControlComp$]
                                       corresponding $[except Comp1,Comp2, ...$];
...


Effect

Extends an existing RAP type mapping with extension fields. The syntax is similar to the syntax for RAP type mapping RAP BOs, see topic CDS BDL - Type Mapping. As a prerequisite, the respective type mapping must be explicitly defined as extensible as described in topic CDS BDL - Extensibility Enabling for Managed and Unmanaged BDEFs.

Example

The BDEF extension DEMO_EXTENSION_RAP_BO extends the CDS behavior definition DEMO_RAP_FIELD_EXT. Three extension fields are added to the existing data model and the BDEF extension extends the type mapping by adding these three extension fields.

The executable example Field extension explains the example above in detail.






ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2660 Date: 20240511 Time: 161648     sap01-206 ( 23 ms )