P_DocumentInfoRecordObjectLink
Document Info Record Object Link
P_DocumentInfoRecordObjectLink is a Basic CDS View that provides data about "Document Info Record Object Link" in SAP S/4HANA. It reads from 2 data sources (drad_last_change, drad) and exposes 22 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, LinkedSAPObject. Part of development package VDM_DMS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| drad_last_change | LastChange | left_outer |
| drad | obj_links | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCVDOCOBJLINK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocumentInfoRecordDocType | drad | dokar | SW Document Type |
| KEY | DocumentInfoRecordDocNumber | drad | doknr | Document |
| KEY | DocumentInfoRecordDocVersion | drad | dokvr | Doc. Version |
| KEY | DocumentInfoRecordDocPart | drad | doktl | Document Part |
| KEY | LinkedSAPObject | drad | dokob | Object |
| KEY | LinkedSAPObjectKey | drad | objky | Relation (Key) |
| KEY | DocObjectLinkCounter | drad | obzae | Object counters |
| CreationDateTime | drad_last_change | created_at | Uploaded On | |
| CreatedByUser | drad_last_change | created_by | Version Created By | |
| ChangedDateTime | drad_last_change | changed_at | Timestamp | |
| LastChangedByUser | drad_last_change | changed_by | User Name | |
| DocInfoRecdLinkStatus | drad | vrkstat | Link status | |
| DocInfoRecdObjectLinkStatus | drad | vrkstat1 | Object link status | |
| ObjectTypeDatabaseTable | drad | vobj | Table | |
| DocInfoRecdAdditionalObjectKey | drad | vkey | Object Key | |
| DocLinkDirectionIsActive | drad | vdir | Active | |
| IsDefaultDocument | drad | viewflag | View indocator | |
| DocInfoRecdIsMarkedForDeletion | drad | delflag | Yes/No (X/ ) | |
| DocInfoRecdLongTextUUID | drad | longtext_id | Long Text ID | |
| IsDocInfoRecdCreatedFromCAD | drad | cad_pos | CAD | |
| DocInfoRecdConfignMgmtFixed | drad | cm_fixed | Fixed | |
| IsArchived | drad | archflag | Arch. Flag |
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 P_DocumentInfoRecordObjectLink.
-- 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: PCVDOCOBJLINK
CREATE VIEW P_DocumentInfoRecordObjectLink AS
SELECT
obj_links.dokar AS DocumentInfoRecordDocType,
obj_links.doknr AS DocumentInfoRecordDocNumber,
obj_links.dokvr AS DocumentInfoRecordDocVersion,
obj_links.doktl AS DocumentInfoRecordDocPart,
obj_links.dokob AS LinkedSAPObject,
obj_links.objky AS LinkedSAPObjectKey,
obj_links.obzae AS DocObjectLinkCounter,
LastChange.created_at AS CreationDateTime,
LastChange.created_by AS CreatedByUser,
LastChange.changed_at AS ChangedDateTime,
LastChange.changed_by AS LastChangedByUser,
obj_links.vrkstat AS DocInfoRecdLinkStatus,
obj_links.vrkstat1 AS DocInfoRecdObjectLinkStatus,
obj_links.vobj AS ObjectTypeDatabaseTable,
obj_links.vkey AS DocInfoRecdAdditionalObjectKey,
obj_links.vdir AS DocLinkDirectionIsActive,
obj_links.viewflag AS IsDefaultDocument,
obj_links.delflag AS DocInfoRecdIsMarkedForDeletion,
obj_links.longtext_id AS DocInfoRecdLongTextUUID,
obj_links.cad_pos AS IsDocInfoRecdCreatedFromCAD,
obj_links.cm_fixed AS DocInfoRecdConfignMgmtFixed,
obj_links.archflag AS IsArchived
FROM drad AS obj_links
LEFT OUTER JOIN drad_last_change AS LastChange ON /* join condition not captured in parsed metadata */
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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