R_HDMRELATIONTP
HDM Relation - TP
R_HDMRELATIONTP is a CDS View in S/4HANA. HDM Relation - TP. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_HDMRelationTP | view_entity | projection | TRANSACTIONAL | HDM Relation - TP |
@EndUserText.label: 'HDM Relation - TP'
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.privilegedAssociations: ['_HarmonizedDocument',
'_UserContactCard' ]
@VDM:{ viewType: #TRANSACTIONAL ,
lifecycle.contract.type: #SAP_INTERNAL_API }
@ObjectModel:{ representativeKey: 'BaseObjectKey',
sapObjectNodeType.name: 'HDMRelation',
usageType:{ dataClass : #TRANSACTIONAL,
serviceQuality : #A,
sizeCategory : #S },
semanticKey: [ 'SAPObjectNodeType', 'LinkedSAPObjectKey', 'BaseObjectType', 'BaseObjectKey' ]}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.query.implementedBy: 'ABAP:CL_HDM_RELATION_BO_QUERY'
define root view entity R_HDMRelationTP
as select from I_HDMRelation
association [1..1] to R_HarmonizedDocumentTP as _HarmonizedDocument on $projection.BaseObjectType = _HarmonizedDocument.BaseObjectType
and $projection.BaseObjectKey = _HarmonizedDocument.BaseObjectKey
association [1..1] to I_HDMUserContactCard as _UserContactCard on $projection.ChangedByUserName = _UserContactCard.ContactCardID
{
key SAPObjectNodeType,
key LinkedSAPObjectKey,
key BaseObjectType,
key BaseObjectKey,
// '' as hrmnzddocdraftuuid,
//HDMRelationIsFinal,
HDMRelationIsLocked,
CreatedByUserName,
@Semantics.systemDateTime.createdAt: true
HDMCreatedAtDateTime,
ChangedByUserName,
@Semantics.systemDateTime.localInstanceLastChangedAt: true
HDMChangedAtDateTime,
// Make association public
@ObjectModel.filter.enabled: false
@ObjectModel.sort.enabled: false
_HarmonizedDocument,
@ObjectModel.filter.enabled: false
@ObjectModel.sort.enabled: false
_UserContactCard
} where 1 = 0;