I_DocumentInfoRecordObjectLink
Document Info Record Object Link
I_DocumentInfoRecordObjectLink is a Basic CDS View that provides data about "Document Info Record Object Link" in SAP S/4HANA. It reads from 1 data source (P_DocumentInfoRecordObjectLink) and exposes 26 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, LinkedSAPObject. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_DocumentInfoRecordObjectLink | ObjLink | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_DocumentInfoRecordObjLinkT | _Text | $projection.LinkedSAPObject = _Text.LinkedSAPObject --Get DocumentInfoRecord created user full name |
| [1..1] | I_DocumentInfoRecordUserVH | _CreatedUser | $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 |
| [1..1] | I_DocumentInfoRecordUserVH | _ChangedUser | $projection.DocumentInfoRecordDocType = _ChangedUser.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocPart = _ChangedUser.DocumentInfoRecordDocPart and $projection.DocumentInfoRecordDocNumber = _ChangedUser.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _ChangedUser.DocumentInfoRecordDocVersion and $projection.LastChangedByUser = _ChangedUser.LastChangedByUser |
| [0..*] | I_DocumentInfoRecordDesc | _DocumentInfoRecordDesc | $projection.DocumentInfoRecordDocNumber = _DocumentInfoRecordDesc.DocumentInfoRecordDocNumber |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICVDOCOBJECTLINK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Document Info Record Object Link | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocumentInfoRecordDocType | P_DocumentInfoRecordObjectLink | DocumentInfoRecordDocType | |
| KEY | DocumentInfoRecordDocNumber | P_DocumentInfoRecordObjectLink | DocumentInfoRecordDocNumber | |
| KEY | DocumentInfoRecordDocVersion | P_DocumentInfoRecordObjectLink | DocumentInfoRecordDocVersion | |
| KEY | DocumentInfoRecordDocPart | P_DocumentInfoRecordObjectLink | DocumentInfoRecordDocPart | |
| KEY | LinkedSAPObject | P_DocumentInfoRecordObjectLink | LinkedSAPObject | |
| KEY | LinkedSAPObjectKey | P_DocumentInfoRecordObjectLink | LinkedSAPObjectKey | |
| KEY | DocObjectLinkCounter | P_DocumentInfoRecordObjectLink | DocObjectLinkCounter | |
| CreationDateTime | P_DocumentInfoRecordObjectLink | CreationDateTime | ||
| CreatedByUser | P_DocumentInfoRecordObjectLink | CreatedByUser | ||
| ChangedDateTime | P_DocumentInfoRecordObjectLink | ChangedDateTime | ||
| LastChangedByUser | P_DocumentInfoRecordObjectLink | LastChangedByUser | ||
| DocInfoRecdLinkStatus | P_DocumentInfoRecordObjectLink | DocInfoRecdLinkStatus | ||
| DocInfoRecdObjectLinkStatus | P_DocumentInfoRecordObjectLink | DocInfoRecdObjectLinkStatus | ||
| ObjectTypeDatabaseTable | P_DocumentInfoRecordObjectLink | ObjectTypeDatabaseTable | ||
| DocInfoRecdAdditionalObjectKey | P_DocumentInfoRecordObjectLink | DocInfoRecdAdditionalObjectKey | ||
| DocLinkDirectionIsActive | P_DocumentInfoRecordObjectLink | DocLinkDirectionIsActive | ||
| IsDefaultDocument | P_DocumentInfoRecordObjectLink | IsDefaultDocument | ||
| DocInfoRecdIsMarkedForDeletion | P_DocumentInfoRecordObjectLink | DocInfoRecdIsMarkedForDeletion | ||
| DocInfoRecdLongTextUUID | P_DocumentInfoRecordObjectLink | DocInfoRecdLongTextUUID | ||
| IsDocInfoRecdCreatedFromCAD | P_DocumentInfoRecordObjectLink | IsDocInfoRecdCreatedFromCAD | ||
| DocInfoRecdConfignMgmtFixed | P_DocumentInfoRecordObjectLink | DocInfoRecdConfignMgmtFixed | ||
| IsArchived | P_DocumentInfoRecordObjectLink | IsArchived | ||
| _CreatedUser | _CreatedUser | |||
| _ChangedUser | _ChangedUser | |||
| _Text | _Text | |||
| _DocumentInfoRecordDesc | _DocumentInfoRecordDesc |
@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: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
//@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
//@Metadata.ignorePropagatedAnnotations: true
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,
ObjLink.DocLinkDirectionIsActive as DocLinkDirectionIsActive,
ObjLink.IsDefaultDocument as IsDefaultDocument,
ObjLink.DocInfoRecdIsMarkedForDeletion as DocInfoRecdIsMarkedForDeletion,
ObjLink.DocInfoRecdLongTextUUID as DocInfoRecdLongTextUUID,
ObjLink.IsDocInfoRecdCreatedFromCAD as IsDocInfoRecdCreatedFromCAD,
ObjLink.DocInfoRecdConfignMgmtFixed as DocInfoRecdConfignMgmtFixed,
//ObjLink.DocInfoRecdConfignMgmtIsFixed as DocInfoRecdConfignMgmtIsFixed,
ObjLink.IsArchived as IsArchived,
//Associations
_CreatedUser,
_ChangedUser,
_Text,
_DocumentInfoRecordDesc
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_DOCUMENTINFORECORDOBJECTLINK"
],
"ASSOCIATED":
[
"I_DOCUMENTINFORECORDDESC",
"I_DOCUMENTINFORECORDOBJLINKT",
"I_DOCUMENTINFORECORDUSERVH"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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