I_DocInfoRecdObjectLink
Document Info Record Object Link Details
I_DocInfoRecdObjectLink is a Basic CDS View (Dimension) that provides data about "Document Info Record Object Link Details" in SAP S/4HANA. It reads from 2 data sources (drad_last_change, P_DocInfoRecdObjectLink) and exposes 29 fields with key fields LinkedSAPObjectKey, DocumentType, DocumentInfoRecord, DocumentPart, DocumentVersion. It has 8 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| drad_last_change | LastChange | left_outer |
| P_DocInfoRecdObjectLink | ObjectLinks | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_DocInfoRecdDocumentType | _DocumentType | $projection.DocumentType = _DocumentType.DocumentType --Get Document Number |
| [1..1] | I_DocInfoRecdNumber | _DocumentNumber | $projection.DocumentType = _DocumentNumber.DocumentType and $projection.DocumentInfoRecord = _DocumentNumber.DocumentInfoRecord --Get Document Version |
| [1..1] | I_DocInfoRecdDocumentVersion | _DocumentVersion | $projection.DocumentType = _DocumentVersion.DocumentType and $projection.DocumentInfoRecord = _DocumentVersion.DocumentInfoRecord and $projection.DocumentVersion = _DocumentVersion.DocumentVersion --Get Document Part |
| [1..1] | I_DocInfoRecdDocumentPart | _DocumentPart | $projection.DocumentPart = _DocumentPart.DocumentPart and $projection.DocumentType = _DocumentPart.DocumentType and $projection.DocumentInfoRecord = _DocumentPart.DocumentInfoRecord and $projection.DocumentVersion = _DocumentPart.DocumentVersion --Get Document type description |
| [0..*] | I_DocInfoRecdDocumentTypeText | _DocumentTypeDescription | $projection.DocumentType = _DocumentTypeDescription.DocumentType --Get Linked object description |
| [0..*] | I_DocInfoRecdObjectLinkText | _LinkedObjectDesc | $projection.LinkedSAPObject = _LinkedObjectDesc.LinkedSAPObject --Get DocumentInfoRecord created user value help |
| [1..1] | I_DocumentInfoRecordUserVH | _CreatedUser | $projection.DocumentType = _CreatedUser.DocumentInfoRecordDocType and $projection.DocumentPart = _CreatedUser.DocumentInfoRecordDocPart and $projection.DocumentInfoRecord = _CreatedUser.DocumentInfoRecordDocNumber and $projection.DocumentVersion = _CreatedUser.DocumentInfoRecordDocVersion and $projection.CreatedByUser = _CreatedUser.ResponsiblePersonName --Get DocumentInfoRecord changed user value help |
| [1..1] | I_DocumentInfoRecordUserVH | _ChangedUser | $projection.DocumentType = _ChangedUser.DocumentInfoRecordDocType and $projection.DocumentPart = _ChangedUser.DocumentInfoRecordDocPart and $projection.DocumentInfoRecord = _ChangedUser.DocumentInfoRecordDocNumber and $projection.DocumentVersion = _ChangedUser.DocumentInfoRecordDocVersion and $projection.ChangedBy = _ChangedUser.LastChangedByUser |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICVDOCOBJLINK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Document Info Record Object Link Details | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | I_DocumentInfoRecordObjectLink | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LinkedSAPObjectKey | P_DocInfoRecdObjectLink | LinkedSAPObjectKey | SAP Object Key |
| KEY | DocumentType | P_DocInfoRecdObjectLink | DocumentType | Order Type |
| KEY | DocumentInfoRecord | P_DocInfoRecdObjectLink | DocumentInfoRecord | Document |
| KEY | DocumentPart | P_DocInfoRecdObjectLink | DocumentPart | Document Part |
| KEY | DocumentVersion | P_DocInfoRecdObjectLink | DocumentVersion | Docu. Version |
| KEY | LinkedSAPObject | P_DocInfoRecdObjectLink | LinkedSAPObject | Object |
| DocObjectLinkCounter | P_DocInfoRecdObjectLink | DocObjectLinkCounter | Obj.Ctr | |
| CreationDateTime | drad_last_change | created_at | Uploaded On | |
| CreatedByUser | drad_last_change | created_by | Version Created By | |
| ChangedDateTime | drad_last_change | changed_at | Timestamp | |
| ChangedBy | drad_last_change | changed_by | User Name | |
| DocInfoRecdLinkStatus | P_DocInfoRecdObjectLink | DocInfoRecdLinkStatus | Link status | |
| DocInfoRecdObjectLinkStatus | P_DocInfoRecdObjectLink | DocInfoRecdObjectLinkStatus | Object link status | |
| ObjectTypeDatabaseTable | P_DocInfoRecdObjectLink | ObjectTypeDatabaseTable | Table | |
| DocInfoRecdAdditionalObjectKey | P_DocInfoRecdObjectLink | DocInfoRecdAdditionalObjectKey | Object Key | |
| DocLinkDirectionIsActive | P_DocInfoRecdObjectLink | DocLinkDirectionIsActive | Active | |
| IsDefaultDocument | P_DocInfoRecdObjectLink | IsDefaultDocument | View indocator | |
| DocInfoRecdIsMarkedForDeletion | P_DocInfoRecdObjectLink | DocInfoRecdIsDeleted | Deletion Indicator | |
| DocInfoRecdLongTextUUID | P_DocInfoRecdObjectLink | DocInfoRecdLongTextUUID | UUID | |
| DocumentIsCreatedByCAD | P_DocInfoRecdObjectLink | DocumentIsCreatedByCAD | CAD Indicator | |
| DocInfoRecdConfignMgmtFixed | P_DocInfoRecdObjectLink | DocInfoRecdConfignMgmtFixed | Fixed | |
| _DocumentTypeDescription | _DocumentTypeDescription | |||
| _LinkedObjectDesc | _LinkedObjectDesc | |||
| _CreatedUser | _CreatedUser | |||
| _ChangedUser | _ChangedUser | |||
| _DocumentNumber | _DocumentNumber | |||
| _DocumentType | _DocumentType | |||
| _DocumentVersion | _DocumentVersion | |||
| _DocumentPart | _DocumentPart |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_DocInfoRecdObjectLink.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ICVDOCOBJLINK
CREATE VIEW I_DocInfoRecdObjectLink AS
SELECT
ObjectLinks.LinkedSAPObjectKey AS LinkedSAPObjectKey,
ObjectLinks.DocumentType AS DocumentType,
ObjectLinks.DocumentInfoRecord AS DocumentInfoRecord,
ObjectLinks.DocumentPart AS DocumentPart,
ObjectLinks.DocumentVersion AS DocumentVersion,
ObjectLinks.LinkedSAPObject AS LinkedSAPObject,
ObjectLinks.DocObjectLinkCounter AS DocObjectLinkCounter,
LastChange.created_at AS CreationDateTime,
LastChange.created_by AS CreatedByUser,
LastChange.changed_at AS ChangedDateTime,
LastChange.changed_by AS ChangedBy,
ObjectLinks.DocInfoRecdLinkStatus AS DocInfoRecdLinkStatus,
ObjectLinks.DocInfoRecdObjectLinkStatus AS DocInfoRecdObjectLinkStatus,
ObjectLinks.ObjectTypeDatabaseTable AS ObjectTypeDatabaseTable,
ObjectLinks.DocInfoRecdAdditionalObjectKey AS DocInfoRecdAdditionalObjectKey,
ObjectLinks.DocLinkDirectionIsActive AS DocLinkDirectionIsActive,
ObjectLinks.IsDefaultDocument AS IsDefaultDocument,
ObjectLinks.DocInfoRecdIsDeleted AS DocInfoRecdIsMarkedForDeletion,
ObjectLinks.DocInfoRecdLongTextUUID AS DocInfoRecdLongTextUUID,
ObjectLinks.DocumentIsCreatedByCAD AS DocumentIsCreatedByCAD,
ObjectLinks.DocInfoRecdConfignMgmtFixed AS DocInfoRecdConfignMgmtFixed
FROM P_DocInfoRecdObjectLink AS ObjectLinks
LEFT OUTER JOIN drad_last_change AS LastChange ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DocInfoRecdDocumentType AS _DocumentType ON DocumentType = _DocumentType.DocumentType -- association [1..1]
LEFT OUTER JOIN I_DocInfoRecdNumber AS _DocumentNumber ON DocumentType = _DocumentNumber.DocumentType AND DocumentInfoRecord = _DocumentNumber.DocumentInfoRecord -- association [1..1]
LEFT OUTER JOIN I_DocInfoRecdDocumentVersion AS _DocumentVersion ON DocumentType = _DocumentVersion.DocumentType AND DocumentInfoRecord = _DocumentVersion.DocumentInfoRecord AND DocumentVersion = _DocumentVersion.DocumentVersion -- association [1..1]
LEFT OUTER JOIN I_DocInfoRecdDocumentPart AS _DocumentPart ON DocumentPart = _DocumentPart.DocumentPart AND DocumentType = _DocumentPart.DocumentType AND DocumentInfoRecord = _DocumentPart.DocumentInfoRecord AND DocumentVersion = _DocumentPart.DocumentVersion -- association [1..1]
LEFT OUTER JOIN I_DocInfoRecdDocumentTypeText AS _DocumentTypeDescription ON DocumentType = _DocumentTypeDescription.DocumentType -- association [0..*]
LEFT OUTER JOIN I_DocInfoRecdObjectLinkText AS _LinkedObjectDesc ON LinkedSAPObject = _LinkedObjectDesc.LinkedSAPObject -- association [0..*]
LEFT OUTER JOIN I_DocumentInfoRecordUserVH AS _CreatedUser ON DocumentType = _CreatedUser.DocumentInfoRecordDocType AND DocumentPart = _CreatedUser.DocumentInfoRecordDocPart AND DocumentInfoRecord = _CreatedUser.DocumentInfoRecordDocNumber AND DocumentVersion = _CreatedUser.DocumentInfoRecordDocVersion AND CreatedByUser = _CreatedUser.ResponsiblePersonName -- association [1..1]
LEFT OUTER JOIN I_DocumentInfoRecordUserVH AS _ChangedUser ON DocumentType = _ChangedUser.DocumentInfoRecordDocType AND DocumentPart = _ChangedUser.DocumentInfoRecordDocPart AND DocumentInfoRecord = _ChangedUser.DocumentInfoRecordDocNumber AND DocumentVersion = _ChangedUser.DocumentInfoRecordDocVersion AND ChangedBy = _ChangedUser.LastChangedByUser -- association [1..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA