P_EquiFuncnlLocUnionBreakdown

DDL: P_EQUIFUNCNLLOCUNIONBREAKDOWN Type: view_entity COMPOSITE Package: IWOC

Equipment Functional Location Union Breakdown

P_EquiFuncnlLocUnionBreakdown is a Composite CDS View that provides data about "Equipment Functional Location Union Breakdown" in SAP S/4HANA. It reads from 2 data sources (I_Equipment, I_FunctionalLocation) and exposes 8 fields with key fields TechnicalObject, TechObjIsEquipOrFuncnlLoc, TechObjIsEquipOrFuncnlLoc. Part of development package IWOC.

Data Sources (2)

SourceAliasJoin Type
I_Equipment I_Equipment from
I_FunctionalLocation I_FunctionalLocation union_all

Annotations (5)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey TechnicalObject view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY TechnicalObject Equipment check
KEY TechObjIsEquipOrFuncnlLoc
Equipment I_Equipment Equipment Equipment check
FunctionalLocation Object ID
KEY TechObjIsEquipOrFuncnlLoc
Equipment Equipment check
FunctionalLocation I_FunctionalLocation FunctionalLocation Object ID
OperationStartDate I_FunctionalLocation OperationStartDate Validity period

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 P_EquiFuncnlLocUnionBreakdown.
-- 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 P_EquiFuncnlLocUnionBreakdown AS
SELECT
  cast ( Equipment as eams_tec_obj) AS TechnicalObject,
  cast ( 'EAMS_EQUI' as eams_tec_obj_type_value) AS TechObjIsEquipOrFuncnlLoc,
  I_Equipment.Equipment AS Equipment,
  cast( '' as tplnr ) AS FunctionalLocation,
  I_FunctionalLocation.OperationStartDate AS OperationStartDate
FROM I_Equipment
-- UNION ALL with additional select branch(es): I_FunctionalLocation
;