R_DocumentInfoRecordRelationTP

DDL: R_DOCUMENTINFORECORDRELATIONTP Type: view_entity TRANSACTIONAL Package: RAP_DMS

Document Info Record Relation - TP

R_DocumentInfoRecordRelationTP is a Transactional CDS View that provides data about "Document Info Record Relation - TP" in SAP S/4HANA. It reads from 1 data source (I_DocumentInfoRecordRelation) and exposes 27 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, LinkedSAPObject. It has 1 association to related views. Part of development package RAP_DMS.

Data Sources (1)

SourceAliasJoin Type
I_DocumentInfoRecordRelation I_DocumentInfoRecordRelation from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_DocumentInfoRecordTP _DocInfoRecord $projection.DocInfoRecdDocNumberForEdit = _DocInfoRecord.DocumentInfoRecordDocNumber and $projection.DocInfoRecdDocPartForEdit = _DocInfoRecord.DocumentInfoRecordDocPart and $projection.DocInfoRecdDocVersionForEdit = _DocInfoRecord.DocumentInfoRecordDocVersion and $projection.DocInfoRecdDocTypeForEdit = _DocInfoRecord.DocumentInfoRecordDocType

Annotations (8)

NameValueLevelField
ObjectModel.sapObjectNodeType.name DocumentInfoRecordRelation view
EndUserText.label Document Info Record Relation - TP view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType DocumentInfoRecordDocType
KEY DocumentInfoRecordDocNumber DocumentInfoRecordDocNumber
KEY DocumentInfoRecordDocVersion DocumentInfoRecordDocVersion
KEY DocumentInfoRecordDocPart DocumentInfoRecordDocPart
KEY LinkedSAPObject LinkedSAPObject
KEY LinkedSAPObjectKey LinkedSAPObjectKey
KEY DocObjectLinkCounter DocObjectLinkCounter
DocInfoRecdDocNumberForEdit
DocInfoRecdDocTypeForEdit
DocInfoRecdDocVersionForEdit
DocInfoRecdDocPartForEdit
DocInfoRecdLinkStatus DocInfoRecdLinkStatus
DocInfoRecdObjectLinkStatus DocInfoRecdObjectLinkStatus
ObjectTypeDatabaseTable ObjectTypeDatabaseTable
DocInfoRecdAdditionalObjectKey DocInfoRecdAdditionalObjectKey
DocLinkDirectionIsActive DocLinkDirectionIsActive
IsDefaultDocument IsDefaultDocument
DocInfoRecdIsMarkedForDeletion DocInfoRecdIsMarkedForDeletion
DocInfoRecdLongTextUUID
IsDocInfoRecdCreatedFromCAD IsDocInfoRecdCreatedFromCAD
DocInfoRecdConfignMgmtFixed DocInfoRecdConfignMgmtFixed
IsArchived IsArchived
CreationDateTime CreationDateTime
CreatedByUser CreatedByUser
ChangedDateTime ChangedDateTime
LastChangedByUser LastChangedByUser
_DocInfoRecord _DocInfoRecord
@ObjectModel.sapObjectNodeType.name:'DocumentInfoRecordRelation'
@EndUserText.label: 'Document Info Record Relation - TP'

@VDM:{ viewType: #TRANSACTIONAL,
       lifecycle.contract.type: #SAP_INTERNAL_API }
       
@ObjectModel:{ usageType:{ dataClass       : #TRANSACTIONAL,
                           serviceQuality  : #C,
                           sizeCategory    : #L } }

@AccessControl.authorizationCheck: #PRIVILEGED_ONLY                   

define root view entity R_DocumentInfoRecordRelationTP
  as select from I_DocumentInfoRecordRelation
  association [1..1] to  R_DocumentInfoRecordTP as _DocInfoRecord on  $projection.DocInfoRecdDocNumberForEdit  = _DocInfoRecord.DocumentInfoRecordDocNumber
                                                                  and $projection.DocInfoRecdDocPartForEdit     = _DocInfoRecord.DocumentInfoRecordDocPart
                                                                  and $projection.DocInfoRecdDocVersionForEdit = _DocInfoRecord.DocumentInfoRecordDocVersion
                                                                  and $projection.DocInfoRecdDocTypeForEdit    = _DocInfoRecord.DocumentInfoRecordDocType
{
  key DocumentInfoRecordDocType,
  key DocumentInfoRecordDocNumber,
  key DocumentInfoRecordDocVersion,
  key DocumentInfoRecordDocPart,
  key LinkedSAPObject,
  key LinkedSAPObjectKey,
  key DocObjectLinkCounter,
      @ObjectModel.editableFieldFor: 'DocumentInfoRecordDocNumber'
      cast (DocumentInfoRecordDocNumber as doknr preserving type ) as DocInfoRecdDocNumberForEdit,
      @ObjectModel.editableFieldFor: 'DocumentInfoRecordDocType'
      cast (DocumentInfoRecordDocType as dokar preserving type ) as DocInfoRecdDocTypeForEdit,
      @ObjectModel.editableFieldFor: 'DocumentInfoRecordDocVersion'
      cast (DocumentInfoRecordDocVersion as dokvr preserving type) as DocInfoRecdDocVersionForEdit,
      @ObjectModel.editableFieldFor: 'DocumentInfoRecordDocPart'
      cast (DocumentInfoRecordDocPart as doktl_d preserving type) as DocInfoRecdDocPartForEdit,
      DocInfoRecdLinkStatus,
      DocInfoRecdObjectLinkStatus,
      ObjectTypeDatabaseTable,
      DocInfoRecdAdditionalObjectKey,
      //@Semantics.booleanIndicator

      DocLinkDirectionIsActive,
      IsDefaultDocument,
      //@Semantics.booleanIndicator

      DocInfoRecdIsMarkedForDeletion,
      //@Semantics.text: true

      cast ( DocInfoRecdLongTextUUID as sysuuid_c preserving type ) as DocInfoRecdLongTextUUID,
      //@Semantics.booleanIndicator

      IsDocInfoRecdCreatedFromCAD,
      DocInfoRecdConfignMgmtFixed,
      IsArchived,

      //@Semantics.systemDateTime.createdAt: true

      CreationDateTime,
      //@Semantics.user.createdBy: true

      CreatedByUser,
      //@Semantics.systemDateTime.lastChangedAt: true

      ChangedDateTime,
      //@Semantics.user.lastChangedBy: true

      LastChangedByUser,
      _DocInfoRecord
}