R_DocumentInfoRecordTP

DDL: R_DOCUMENTINFORECORDTP Type: view_entity TRANSACTIONAL Package: RAP_DMS

Document Info Record - TP

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

Data Sources (1)

SourceAliasJoin Type
I_DocumentInfoRecord I_DocumentInfoRecord from

Associations (4)

CardinalityTargetAliasCondition
[0..*] R_DocumentInfoRecordRelationTP _Relation $projection.DocumentInfoRecordDocNumber = _Relation.DocInfoRecdDocNumberForEdit and $projection.DocumentInfoRecordDocPart = _Relation.DocInfoRecdDocPartForEdit and $projection.DocumentInfoRecordDocVersion = _Relation.DocInfoRecdDocVersionForEdit and $projection.DocumentInfoRecordDocType = _Relation.DocInfoRecdDocTypeForEdit
[0..*] R_DocumentInfoRecObjLnkTP _Link
[0..*] R_DocumentInfoRecordAttchTP _Attachment
[0..*] R_DocumentInfoRecordDescTP _Description

Annotations (8)

NameValueLevelField
EndUserText.label Document Info Record - TP view
ObjectModel.sapObjectNodeType.name DocumentInfoRecord 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 #MANDATORY view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType DocumentInfoRecordDocType
KEY DocumentInfoRecordDocVersion DocumentInfoRecordDocVersion
KEY DocumentInfoRecordDocNumber DocumentInfoRecordDocNumber
KEY DocumentInfoRecordDocPart DocumentInfoRecordDocPart
DocumentInfoRecord DocumentInfoRecord
InternalDocumentStatus InternalDocumentStatus
ExternalDocumentStatus ExternalDocumentStatus
LaboratoryOrDesignOffice LaboratoryOrDesignOffice
AuthorizationGroup AuthorizationGroup
ChangeNumber ChangeNumber
DocInfoRecdIsMarkedForDeletion DocInfoRecdIsMarkedForDeletion
IsDocInfoRecdCreatedFromCAD IsDocInfoRecdCreatedFromCAD
ResponsiblePersonName ResponsiblePersonName
CreationDateTime CreationDateTime
CreatedByUser CreatedByUser
ChangedDateTime ChangedDateTime
LastChangedByUser LastChangedByUser
DocumentInfoRecordIsFrozen DocumentInfoRecordIsFrozen
_Description _Description
_Link _Link
_Attachment _Attachment
_Relation _Relation
@EndUserText.label: 'Document Info Record - TP'
@ObjectModel.sapObjectNodeType.name: 'DocumentInfoRecord'

@VDM:{ viewType: #TRANSACTIONAL ,
       lifecycle.contract.type: #SAP_INTERNAL_API }

@ObjectModel:{ usageType:{ dataClass       : #TRANSACTIONAL,
                           serviceQuality  : #C,
                           sizeCategory    : #L } }

@AccessControl.authorizationCheck: #MANDATORY

@AccessControl.privilegedAssociations: [ '_Relation' ] // Added to resolve RAP Contract for Cross-BO Association 

define root view entity R_DocumentInfoRecordTP  
      as select from I_DocumentInfoRecord
      association [0..*] to R_DocumentInfoRecordRelationTP as _Relation on $projection.DocumentInfoRecordDocNumber  = _Relation.DocInfoRecdDocNumberForEdit
                                                                       and $projection.DocumentInfoRecordDocPart    = _Relation.DocInfoRecdDocPartForEdit
                                                                       and $projection.DocumentInfoRecordDocVersion = _Relation.DocInfoRecdDocVersionForEdit
                                                                       and $projection.DocumentInfoRecordDocType    = _Relation.DocInfoRecdDocTypeForEdit      
      composition [0..*] of R_DocumentInfoRecObjLnkTP as _Link
      composition [0..*] of R_DocumentInfoRecordAttchTP as _Attachment
      composition [0..*] of R_DocumentInfoRecordDescTP as _Description
      
{
  key DocumentInfoRecordDocType,
  key DocumentInfoRecordDocVersion,
  key DocumentInfoRecordDocNumber,
  key DocumentInfoRecordDocPart,
      DocumentInfoRecord,
      
      /*  Document Info Record other Details */
      InternalDocumentStatus,
      ExternalDocumentStatus,
      LaboratoryOrDesignOffice,
      AuthorizationGroup,
      ChangeNumber,

      
      /*  Document Structure, CAD and Deletion Indicator */
      DocInfoRecdIsMarkedForDeletion,
      IsDocInfoRecdCreatedFromCAD,
      ResponsiblePersonName,
      
      /* DIR Administrative Data */
      CreationDateTime,
      CreatedByUser,
      ChangedDateTime,
      LastChangedByUser,
      DocumentInfoRecordIsFrozen,
      
      _Description,
      _Link,
      _Attachment,
      _Relation
      
}