I_DOCUMENTINFORECORDOBJECTLINK

CDS View

Document Info Record Object Link

I_DOCUMENTINFORECORDOBJECTLINK is a CDS View in S/4HANA. Document Info Record Object Link. It contains 24 fields. 20 CDS views read from this table.

CDS Views using this table (20)

ViewTypeJoinVDMDescription
C_CharacteristicDocument view from CONSUMPTION Characteristic Document of DMS
C_InspLotDocument view_entity from CONSUMPTION Inspection Lot Document of DMS
C_InspMethodDocument view_entity from CONSUMPTION Inspection Method Document of DMS
I_DocForQltyInProcmt view_entity from COMPOSITE Documents for QltyInProcmt
I_DocInfoRecdBusObjAttachCntnt view from COMPOSITE DIR Business Object Attachment Content
I_DocInfoRecdObjLinkAttchDet view from COMPOSITE DocumentInfoRecord ObjLink Attach Detail
I_DocInfoRecdObjLinkBOMTP view from TRANSACTIONAL Doc Info Recd Obj Link BOM TP
I_DocInfoRecdObjLinkChgRecdTP view from TRANSACTIONAL CDS View for Change Record Object Link
I_DocInfoRecdObjLinkProdTP view from TRANSACTIONAL Doc Info Recd Obj Link Prod TP
I_DocInfoRecdObjLinkProduct view from BASIC Document Info Record Object Link Product
I_DocInfoRecordObjLinkAddlInfo view from COMPOSITE Document Info Record Object Link ( ESH )
I_DocumentInfoRecordLinkAttach view from COMPOSITE DIR and Attachment details
I_DocumentInfoRecordObjLinkTP view from TRANSACTIONAL Object Link Transactional View
I_LglCntntMDocInfoAttchAll view from COMPOSITE Document attachment fields
I_LglCntntMDocInfoRecord view from COMPOSITE Document Info record view
I_ShiftNoteDocumentLink view_entity inner COMPOSITE Shift Note Document Link
P_MfgOrderDocInfoRecdObjLink view inner COMPOSITE Mfg Order Document Info Record Object Link
P_NotifNmbrOfAttachedDocuments view_entity from COMPOSITE Num. of Original Files in Maint. Notif.
P_OrderNmbrOfAttachedDocuments view_entity from COMPOSITE Num. of Original Files in Maint. Order
R_DocumentInfoRecObjLnkTP view_entity from TRANSACTIONAL Doc Info Record Obj Link TP

Fields (24)

KeyField CDS FieldsUsed in Views
KEY DocObjectLinkCounter DocObjectLinkCounter 5
KEY DocumentInfoRecordDocNumber DocumentInfoRecord,DocumentInfoRecordDocNumber 11
KEY DocumentInfoRecordDocPart DocumentInfoRecordDocPart,DocumentPart 11
KEY DocumentInfoRecordDocType DocumentInfoRecordDocType,DocumentType 11
KEY DocumentInfoRecordDocVersion DocumentInfoRecordDocVersion,DocumentVersion 11
KEY LinkedSAPObject LinkedSAPObject 14
KEY LinkedSAPObjectKey LinkedSAPObjectKey 15
_DocumentInfoRecordDesc _Text 1
_Text _Text 1
ChangedDateTime ChangedDateTime 2
CreatedByUser CreatedByUser 2
CreationDateTime CreationDateTime 2
DocInfoRecdAdditionalObjectKey DocInfoRecdAdditionalObjectKey 1
DocInfoRecdConfignMgmtFixed DocInfoRecdConfignMgmtFixed 1
DocInfoRecdIsMarkedForDeletion DocInfoRecdIsMarkedForDeletion 2
DocInfoRecdLinkStatus DocInfoRecdLinkStatus 3
DocInfoRecdLongTextUUID DocInfoRecdLongTextUUID 1
DocInfoRecdObjectLinkStatus DocInfoRecdObjectLinkStatus 2
DocLinkDirectionIsActive DocLinkDirectionIsActive 1
IsArchived IsArchived 1
IsDefaultDocument IsDefaultDocument 2
IsDocInfoRecdCreatedFromCAD IsDocInfoRecdCreatedFromCAD 1
LastChangedByUser LastChangedByUser 2
ObjectTypeDatabaseTable ObjectTypeDatabaseTable 2
@AbapCatalog.sqlViewName: 'ICVDOCOBJECTLINK'
@AbapCatalog.compiler.compareFilter: true
//@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Document Info Record Object Link'
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #TRANSACTIONAL}
//@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API

@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel.modelingPattern: #NONE

define view I_DocumentInfoRecordObjectLink
  as select from P_DocumentInfoRecordObjectLink as ObjLink 

  --Get Linked object description
  association [0..*] to I_DocumentInfoRecordObjLinkT as _Text                   on  $projection.LinkedSAPObject = _Text.LinkedSAPObject
  
  --Get DocumentInfoRecord created user full name
  association [1..1] to I_DocumentInfoRecordUserVH   as _CreatedUser            on  $projection.DocumentInfoRecordDocType    = _CreatedUser.DocumentInfoRecordDocType
                                                                                and $projection.DocumentInfoRecordDocPart    = _CreatedUser.DocumentInfoRecordDocPart
                                                                                and $projection.DocumentInfoRecordDocNumber  = _CreatedUser.DocumentInfoRecordDocNumber
                                                                                and $projection.DocumentInfoRecordDocVersion = _CreatedUser.DocumentInfoRecordDocVersion
                                                                                and $projection.CreatedByUser                = _CreatedUser.ResponsiblePersonName

  --Get DocumentInfoRecord changed user full name
  association [1..1] to I_DocumentInfoRecordUserVH   as _ChangedUser            on  $projection.DocumentInfoRecordDocType    = _ChangedUser.DocumentInfoRecordDocType
                                                                                and $projection.DocumentInfoRecordDocPart    = _ChangedUser.DocumentInfoRecordDocPart
                                                                                and $projection.DocumentInfoRecordDocNumber  = _ChangedUser.DocumentInfoRecordDocNumber
                                                                                and $projection.DocumentInfoRecordDocVersion = _ChangedUser.DocumentInfoRecordDocVersion
                                                                                and $projection.LastChangedByUser            = _ChangedUser.LastChangedByUser
  association [0..*] to I_DocumentInfoRecordDesc     as _DocumentInfoRecordDesc on  $projection.DocumentInfoRecordDocNumber = _DocumentInfoRecordDesc.DocumentInfoRecordDocNumber
{
      /*  Document Info Record key Details */
  key ObjLink.DocumentInfoRecordDocType      as DocumentInfoRecordDocType,
  key ObjLink.DocumentInfoRecordDocNumber    as DocumentInfoRecordDocNumber,
  key ObjLink.DocumentInfoRecordDocVersion   as DocumentInfoRecordDocVersion,
  key ObjLink.DocumentInfoRecordDocPart      as DocumentInfoRecordDocPart,

      /*  Object Type and Object Key Details */
  key ObjLink.LinkedSAPObject                as LinkedSAPObject,
  key ObjLink.LinkedSAPObjectKey             as LinkedSAPObjectKey,
  key ObjLink.DocObjectLinkCounter           as DocObjectLinkCounter,

      /* DIR Administrative Data */
      //@Semantics.businessDate.at: true

      //@Semantics.businessDate.createdAt: true

      ObjLink.CreationDateTime               as CreationDateTime,

      @Consumption.valueHelpDefinition.association: '_CreatedUser'
      @Semantics.user.createdBy: true
      ObjLink.CreatedByUser                  as CreatedByUser,

      //@Semantics.businessDate.at: true

      //@Semantics.businessDate.lastChangedAt: true

      ObjLink.ChangedDateTime                as ChangedDateTime,

      @Consumption.valueHelpDefinition.association: '_ChangedUser'
      @Semantics.user.lastChangedBy: true
      ObjLink.LastChangedByUser              as LastChangedByUser,

      ObjLink.DocInfoRecdLinkStatus          as DocInfoRecdLinkStatus,
      ObjLink.DocInfoRecdObjectLinkStatus    as DocInfoRecdObjectLinkStatus,
      ObjLink.ObjectTypeDatabaseTable        as ObjectTypeDatabaseTable,
      ObjLink.DocInfoRecdAdditionalObjectKey as DocInfoRecdAdditionalObjectKey,
      @Semantics.booleanIndicator: true
      ObjLink.DocLinkDirectionIsActive       as DocLinkDirectionIsActive,
      ObjLink.IsDefaultDocument              as IsDefaultDocument,
      @Semantics.booleanIndicator: true
      ObjLink.DocInfoRecdIsMarkedForDeletion as DocInfoRecdIsMarkedForDeletion,
      @Semantics.uuid: true
      ObjLink.DocInfoRecdLongTextUUID        as DocInfoRecdLongTextUUID,
      @Semantics.booleanIndicator: true
      ObjLink.IsDocInfoRecdCreatedFromCAD    as IsDocInfoRecdCreatedFromCAD,
      ObjLink.DocInfoRecdConfignMgmtFixed    as DocInfoRecdConfignMgmtFixed,
      //ObjLink.DocInfoRecdConfignMgmtIsFixed  as DocInfoRecdConfignMgmtIsFixed,

      ObjLink.IsArchived                     as IsArchived,
      
      //Associations

      _CreatedUser,
      _ChangedUser,
      _Text,
      _DocumentInfoRecordDesc
}