I_EntProjStdTaskHierDataDraft
Hierarchy Data - Draft
I_EntProjStdTaskHierDataDraft is a Basic CDS View that provides data about "Hierarchy Data - Draft" in SAP S/4HANA. It reads from 1 data source (entprojhier_d) and exposes 15 fields with key field HierarchyNodeUUID. It has 3 associations to related views. Part of development package VDM_PPM_OBJECTS_COMMON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| entprojhier_d | hierarchy | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EntProjStdTaskHierDataDraft | _ToParentObject | $projection.ParentObjectCharUUID = _ToParentObject.ReferencedObjectCharUUID and $projection.HierarchyType = _ToParentObject.HierarchyType |
| [0..1] | I_EntProjStdTaskHierDataDraft | _ToRoot | $projection.RootObjectUUID = _ToRoot.ReferencedObjectUUID and _ToRoot.HierarchyType = 'P' |
| [0..1] | entprojelem_d | _ToTask | $projection.ReferencedObjectUUID = _ToTask.projectelementuuid |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.representativeKey | HierarchyNodeUUID | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Hierarchy Data - Draft | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HierarchyNodeUUID | hierarchynodeuuid | Hierarchy Guid | |
| HierarchyType | hierarchytype | Hierarchy Type | ||
| ReferencedObjectUUID | referencedobjectuuid | Referenced Object | ||
| RootObjectUUID | rootobjectuuid | Entity GUID | ||
| ParentObjectUUID | parentobjectuuid | UUID Parent GO | ||
| ProjectElementOrdinalNumber | projectelementordinalnumber | Sort Number | ||
| DraftEntityCreationDateTime | draftentitycreationdatetime | Draft Created On | ||
| DraftEntityLastChangeDateTime | draftentitylastchangedatetime | Draft Last Changed On | ||
| DraftAdministrativeDataUUID | draftadministrativedatauuid | UUID | ||
| DraftEntityOperationCode | draftentityoperationcode | Draft - Operation Code | ||
| HasActiveEntity | hasactiveentity | TRUE | ||
| ReferencedObjectCharUUID | ||||
| ParentObjectCharUUID | ||||
| _ToParentObject | _ToParentObject | |||
| _ToRoot | _ToRoot |
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_EntProjStdTaskHierDataDraft.
-- 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_EntProjStdTaskHierDataDraft AS
SELECT
HierarchyNodeUUID,
HierarchyType,
ReferencedObjectUUID,
RootObjectUUID,
ParentObjectUUID,
ProjectElementOrdinalNumber,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
HasActiveEntity,
cast( bintohex(referencedobjectuuid) as /s4ppm/tv_entity_char_guid preserving type ) AS ReferencedObjectCharUUID,
cast( bintohex(parentobjectuuid) as /s4ppm/tv_entity_char_guid preserving type ) AS ParentObjectCharUUID
FROM entprojhier_d AS hierarchy
LEFT OUTER JOIN I_EntProjStdTaskHierDataDraft AS _ToParentObject ON ParentObjectCharUUID = _ToParentObject.ReferencedObjectCharUUID AND HierarchyType = _ToParentObject.HierarchyType -- association [0..1]
LEFT OUTER JOIN I_EntProjStdTaskHierDataDraft AS _ToRoot ON RootObjectUUID = _ToRoot.ReferencedObjectUUID AND _ToRoot.HierarchyType = 'P' -- association [0..1]
LEFT OUTER JOIN entprojelem_d AS _ToTask ON ReferencedObjectUUID = _ToTask.projectelementuuid -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA