I_CnsldtnDocumentTypeHierDir

DDL: I_CNSLDTNDOCUMENTTYPEHIERDIR Type: view BASIC

Consolidation Document Type Hier Dir

I_CnsldtnDocumentTypeHierDir is a Basic CDS View that provides data about "Consolidation Document Type Hier Dir" in SAP S/4HANA. It reads from 1 data source (hrrp_directory) and exposes 6 fields with key fields ConsolidationDocTypeHierarchy, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
hrrp_directory hrrp_directory from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CnsldtnDocumentTypeHierDirT _Text $projection.ConsolidationDocTypeHierarchy = _Text.ConsolidationDocTypeHierarchy and $projection.ValidityEndDate = _Text.ValidityEndDate

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICCDOCTYPEHDIR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey ConsolidationDocTypeHierarchy view
VDM.viewType #BASIC view
EndUserText.label Consolidation Document Type Hier Dir view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationDocTypeHierarchy hrrp_directory hryid Hierarchy ID
KEY ValidityEndDate hrrp_directory hryvalto Valid To
ValidityStartDate hrrp_directory hryvalfrom Valid From
LastChangedByUser hrrp_directory upduser Changed By
LastChangeDateTime hrrp_directory updtime Updated At
_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_CnsldtnDocumentTypeHierDir.
-- 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_CnsldtnDocumentTypeHierDir AS
SELECT
  hrrp_directory.hryid AS ConsolidationDocTypeHierarchy,
  hrrp_directory.hryvalto AS ValidityEndDate,
  hrrp_directory.hryvalfrom AS ValidityStartDate,
  hrrp_directory.upduser AS LastChangedByUser,
  hrrp_directory.updtime AS LastChangeDateTime
FROM hrrp_directory
LEFT OUTER JOIN I_CnsldtnDocumentTypeHierDirT AS _Text ON ConsolidationDocTypeHierarchy = _Text.ConsolidationDocTypeHierarchy AND ValidityEndDate = _Text.ValidityEndDate  -- association [0..*]
;