I_CompanyCodeHierarchyVH

DDL: I_COMPANYCODEHIERARCHYVH Type: view_entity BASIC Package: FIN_COMPANY_CODE_HIER

Company Code Hierarchy Value Help

I_CompanyCodeHierarchyVH is a Basic CDS View (Dimension) that provides data about "Company Code Hierarchy Value Help" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 4 fields with key fields CompanyCodeHierarchy, ValidityEndDate. It has 1 association to related views. It is exposed through 8 OData services (ASQL_F1564, ASQL_F1865, ASQL_F2935, ...). Part of development package FIN_COMPANY_CODE_HIER.

Data Sources (1)

SourceAliasJoin Type
hrrp_dir_n hrrp_dir_n from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_CompanyCodeHierarchyT _Text $projection.CompanyCodeHierarchy = _Text.CompanyCodeHierarchy and $projection.ValidityEndDate = _Text.ValidityEndDate

Annotations (15)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey CompanyCodeHierarchy view
EndUserText.label Company Code Hierarchy Value Help view
Analytics.dataCategory #DIMENSION view
ObjectModel.dataCategory #VALUE_HELP view
Analytics.technicalName IFICCODEHVH view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
Consumption.filter.businessDate.at true view
Metadata.allowExtensions true view
Search.searchable true view
Consumption.ranked true view

OData Services (8)

ServiceBindingVersionContractRelease
ASQL_F1564 ASQL_F1564 C2 NOT_RELEASED
ASQL_F1865 ASQL_F1865 C2 NOT_RELEASED
ASQL_F2935 ASQL_F2935 C2 NOT_RELEASED
ASQL_F4684 ASQL_F4684 C2 NOT_RELEASED
ASQL_F4899 ASQL_F4899 C2 NOT_RELEASED
ASQL_F4900 ASQL_F4900 C2 NOT_RELEASED
ASQL_F5150 ASQL_F5150 C2 NOT_RELEASED
ASQL_F5274 ASQL_F5274 C2 NOT_RELEASED

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CompanyCodeHierarchy
KEY ValidityEndDate hrrp_dir_n hryvalto Valid To
ValidityStartDate hrrp_dir_n hryvalfrom Valid From
_Text _Text

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 I_CompanyCodeHierarchyVH.
-- 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 I_CompanyCodeHierarchyVH AS
SELECT
  cast(hrrp_dir_n.hryid_42 as fis_hryid_ccode_42 preserving type ) AS CompanyCodeHierarchy,
  hrrp_dir_n.hryvalto AS ValidityEndDate,
  hrrp_dir_n.hryvalfrom AS ValidityStartDate
FROM hrrp_dir_n
LEFT OUTER JOIN I_CompanyCodeHierarchyT AS _Text ON CompanyCodeHierarchy = _Text.CompanyCodeHierarchy AND ValidityEndDate = _Text.ValidityEndDate  -- association [1..*]
;