C_HDMRelationTP
HDM Relation
C_HDMRelationTP is a Consumption CDS View that provides data about "HDM Relation" in SAP S/4HANA. It reads from 1 data source (I_HDMRelationTP) and exposes 30 fields with key fields SAPObjectNodeType, LinkedSAPObjectKey, BaseObjectType, BaseObjectKey.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_HDMRelationTP | I_HDMRelationTP | projection |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | HDM Relation | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.sapObjectNodeType.name | HDMRelation | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.query.implementedBy | ABAP:CL_HDM_RELATION_QUERY | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SAPObjectNodeType | SAPObjectNodeType | SONT Name | |
| KEY | LinkedSAPObjectKey | LinkedSAPObjectKey | SAP Object Key | |
| KEY | BaseObjectType | BaseObjectType | ||
| KEY | BaseObjectKey | BaseObjectKey | ||
| HDMRelationIsLocked | HDMRelationIsLocked | |||
| CreatedByUserName | CreatedByUserName | Person Resp. | ||
| HDMCreatedAtDateTime | HDMCreatedAtDateTime | Time Stamp | ||
| ChangedByUserName | ChangedByUserName | |||
| HDMChangedAtDateTime | HDMChangedAtDateTime | Time Stamp | ||
| HDMObjectType | _HarmonizedDocument | HDMObjectType | ||
| HDMObjectName | _HarmonizedDocument | HDMObjectName | ||
| HDMVersionSeriesID | _HarmonizedDocument | HDMVersionSeriesID | ||
| HDMRevisionID | _HarmonizedDocument | HDMRevisionID | ||
| HDMObjectStatus | _HarmonizedDocument | HDMObjectStatus | ||
| HDMObjectSizeInByte | _HarmonizedDocument | HDMObjectSizeInByte | ||
| HDMMimeType | _HarmonizedDocument | HDMMimeType | ||
| HDMExtDocID | _HarmonizedDocument | HDMExtDocID | ||
| HDMObjIsMultiRef | _HarmonizedDocument | HDMObjIsMultiRef | ||
| HDMObjectURI | _HarmonizedDocument | HDMObjectURI | ||
| HDMObjectState | _HarmonizedDocument | HDMObjectState | ||
| CreatedByUserFullName | _UserContactCard | FullName | Name | |
| LastChangedByUserFullName | _UserContactCard | FullName | Name | |
| PhoneNumber | _UserContactCard | PhoneNumber | Telephone no. | |
| EmailAddress | _UserContactCard | EmailAddress | E-Mail Address | |
| FunctionalTitleName | _UserContactCard | FunctionalTitleName | ||
| virtualHDMObjectDescshdm_description | ||||
| virtualHDMObjectTypeDescshdm_description | ||||
| virtualDocumentUploadIsInProgressboole_d | ||||
| virtualLinkedObjectToggleshdm_boolean | ||||
| _UserContactCard | _UserContactCard |
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_HDMRelationTP.
-- 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 C_HDMRelationTP AS
SELECT
SAPObjectNodeType,
LinkedSAPObjectKey,
BaseObjectType,
BaseObjectKey,
HDMRelationIsLocked,
CreatedByUserName,
HDMCreatedAtDateTime,
ChangedByUserName,
HDMChangedAtDateTime,
_HarmonizedDocument.HDMObjectType AS HDMObjectType,
_HarmonizedDocument.HDMObjectName AS HDMObjectName,
_HarmonizedDocument.HDMVersionSeriesID AS HDMVersionSeriesID,
_HarmonizedDocument.HDMRevisionID AS HDMRevisionID,
_HarmonizedDocument.HDMObjectStatus AS HDMObjectStatus,
_HarmonizedDocument.HDMObjectSizeInByte AS HDMObjectSizeInByte,
_HarmonizedDocument.HDMMimeType AS HDMMimeType,
_HarmonizedDocument.HDMExtDocID AS HDMExtDocID,
_HarmonizedDocument.HDMObjIsMultiRef AS HDMObjIsMultiRef,
_HarmonizedDocument.HDMObjectURI AS HDMObjectURI,
_HarmonizedDocument.HDMObjectState AS HDMObjectState,
_UserContactCard.FullName AS CreatedByUserFullName,
_UserContactCard.FullName AS LastChangedByUserFullName,
_UserContactCard.PhoneNumber AS PhoneNumber,
_UserContactCard.EmailAddress AS EmailAddress,
_UserContactCard.FunctionalTitleName AS FunctionalTitleName,
virtual HDMObjectDesc : shdm_description AS virtualHDMObjectDescshdm_description,
virtual HDMObjectTypeDesc : shdm_description AS virtualHDMObjectTypeDescshdm_description,
virtual DocumentUploadIsInProgress : boole_d AS virtualDocumentUploadIsInProgressboole_d,
virtual LinkedObjectToggle : shdm_boolean AS virtualLinkedObjectToggleshdm_boolean
FROM I_HDMRelationTP
;
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