/APE/I_BOMAPRULE_TP

DDL: /APE/I_BOMAPRULE_TP Type: view TRANSACTIONAL

BO Mapping Rules

/APE/I_BOMAPRULE_TP is a Transactional CDS View that provides data about "BO Mapping Rules" in SAP S/4HANA. It reads from 1 data source (/APE/I_BOMAPRULE) and exposes 17 fields with key field config_key. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
/APE/I_BOMAPRULE /APE/I_BOMAPRULE from

Associations (1)

CardinalityTargetAliasCondition
[1..1] /APE/I_BOMAPHDR_TP _MAPHDR $projection.ape_parent_key = _MAPHDR.config_key

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName /APE/I_VBOMAPRUL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label BO Mapping Rules view
ObjectModel.writeActivePersistence /APE/BOMAPRULE view
ObjectModel.writeDraftPersistence /APE/BOMAPRL_DR view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
VDM.viewType #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY config_key config_key Char
bodm1 _MAPHDR bo_model_1_uuid
bodm2 _MAPHDR bo_model_2_uuid
map_no map_no
bodm1_path bodm1_path
bodm1_field bodm1_field
bodm2_path bodm2_path
bodm2_field bodm2_field
source_value source_value Explanation
mandatory mandatory Yes/No
map_method map_method
brf_func brf_func
created_at_ created_at_
created_by_ created_by_
changed_at_ changed_at_
changed_by_ changed_by_
_MAPHDR _MAPHDR

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view /APE/I_BOMAPRULE_TP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW /APE/I_BOMAPRULE_TP AS
SELECT
  config_key,
  _MAPHDR.bo_model_1_uuid AS bodm1,
  _MAPHDR.bo_model_2_uuid AS bodm2,
  map_no,
  bodm1_path,
  bodm1_field,
  bodm2_path,
  bodm2_field,
  source_value,
  mandatory,
  map_method,
  brf_func,
  created_at_,
  created_by_,
  changed_at_,
  changed_by_
FROM /APE/I_BOMAPRULE
LEFT OUTER JOIN /APE/I_BOMAPHDR_TP AS _MAPHDR ON ape_parent_key = _MAPHDR.config_key  -- association [1..1]
;