P_DocInfoRecdObjectLink
P_DocInfoRecdObjectLink is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (drad) and exposes 17 fields with key fields DocumentType, DocumentInfoRecord, DocumentVersion, DocumentPart, LinkedSAPObject.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| drad | obj_links | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCVDIROBJLINK | view | |
| AbapCatalog.compiler.compareFilter | 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 | |
| VDM.lifecycle.contract.type | #NONE | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | P_DocumentInfoRecordObjectLink | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocumentType | drad | dokar | SW Document Type |
| KEY | DocumentInfoRecord | drad | doknr | Document |
| KEY | DocumentVersion | drad | dokvr | Doc. Version |
| KEY | DocumentPart | drad | doktl | Document Part |
| KEY | LinkedSAPObject | drad | dokob | Object |
| KEY | DocObjectLinkCounter | drad | obzae | Object counters |
| KEY | LinkedSAPObjectKey | drad | objky | Relation (Key) |
| 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 | |
| DocInfoRecdIsDeleted | drad | delflag | Yes/No (X/ ) | |
| DocInfoRecdLongTextUUID | drad | longtext_id | Long Text ID | |
| DocumentIsCreatedByCAD | drad | cad_pos | CAD | |
| DocInfoRecdConfignMgmtFixed | drad | cm_fixed | Fixed |
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_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: PCVDIROBJLINK
CREATE VIEW P_DocInfoRecdObjectLink AS
SELECT
obj_links.dokar AS DocumentType,
obj_links.doknr AS DocumentInfoRecord,
obj_links.dokvr AS DocumentVersion,
obj_links.doktl AS DocumentPart,
obj_links.dokob AS LinkedSAPObject,
obj_links.obzae AS DocObjectLinkCounter,
obj_links.objky AS LinkedSAPObjectKey,
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 DocInfoRecdIsDeleted,
obj_links.longtext_id AS DocInfoRecdLongTextUUID,
obj_links.cad_pos AS DocumentIsCreatedByCAD,
obj_links.cm_fixed AS DocInfoRecdConfignMgmtFixed
FROM drad AS obj_links
;
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