C_FullEHSLocationInclRootHier

DDL: C_FULLEHSLOCATIONINCLROOTHIER SQL: CFULEHSLOCINCLRH Type: view CONSUMPTION Package: EHFND_CNS_LOCATION

Hierarchy for current rev of all EHS Loc

C_FullEHSLocationInclRootHier is a Consumption CDS View that provides data about "Hierarchy for current rev of all EHS Loc" in SAP S/4HANA. It reads from 1 data source (I_FullEHSLocationInclRootHier) and exposes 19 fields with key field EHSLocationUUID. It is exposed through 9 OData services (ASQL_F1992, ASQL_F2527, ASQL_F2528, ...). Part of development package EHFND_CNS_LOCATION.

Data Sources (1)

SourceAliasJoin Type
I_FullEHSLocationInclRootHier I_FullEHSLocationInclRootHier from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CFULEHSLOCINCLRH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Hierarchy for current rev of all EHS Loc view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

OData Services (9)

ServiceBindingVersionContractRelease
ASQL_F1992 ASQL_F1992 C2 NOT_RELEASED
ASQL_F2527 ASQL_F2527 C2 NOT_RELEASED
ASQL_F2528 ASQL_F2528 C2 NOT_RELEASED
ASQL_F3372 ASQL_F3372 C2 NOT_RELEASED
ASQL_F3840 ASQL_F3840 C2 NOT_RELEASED
ASQL_F4598 ASQL_F4598 C2 NOT_RELEASED
ASQL_F4758 ASQL_F4758 C2 NOT_RELEASED
ASQL_F5290 ASQL_F5290 C2 NOT_RELEASED
UI_TRANSP_DOC UI_TRANSP_DOC V4 C1 NOT_RELEASED

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY EHSLocationUUID EHSLocationUUID NodeID
EHSLocationName EHSLocationName
EHSLocationIDAndName
EHSLocationID EHSLocationID ID
EHSLocationTypeText EHSLocationTypeText Location Type
EHSLocationStatus EHSLocationStatus
Plant Plant Valuation Area
MyEHSLocationUUID MyEHSLocationUUID
EHSParentLocationUUID EHSParentLocationUUID
EHSLocationDrillStateString
EHSLocationType EHSLocationType Loc. Type
EHSLocationAuthorizationGroup EHSLocationAuthorizationGroup
CostCenter CostCenter Cost Center
CompanyCode CompanyCode Receiver Company Code
BusinessArea BusinessArea Business Area
EHSLocClassifiersText EHSLocClassifiersText
EHSLocHierarchyNodeUUID EHSLocHierarchyNodeUUID
EHSLocHierarchyParentNodeUUID EHSLocHierarchyParentNodeUUID
HierarchyLevel HierarchyLevel Hierarchy Level

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 C_FullEHSLocationInclRootHier.
-- 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.
-- SQL view name: CFULEHSLOCINCLRH

CREATE VIEW C_FullEHSLocationInclRootHier AS
SELECT
  EHSLocationUUID,
  EHSLocationName,
  cast('' as text132) AS EHSLocationIDAndName,
  EHSLocationID,
  EHSLocationTypeText,
  EHSLocationStatus,
  Plant,
  MyEHSLocationUUID,
  EHSParentLocationUUID,
  cast('' as text10) AS EHSLocationDrillStateString,
  EHSLocationType,
  EHSLocationAuthorizationGroup,
  CostCenter,
  CompanyCode,
  BusinessArea,
  EHSLocClassifiersText,
  EHSLocHierarchyNodeUUID,
  EHSLocHierarchyParentNodeUUID,
  HierarchyLevel
FROM I_FullEHSLocationInclRootHier
;