Deprecated NONE
This CDS view is deprecated in S/4HANA. Use P_DocumentInfoRecordObjectLink instead. View all deprecated CDS views →

P_DocInfoRecdObjectLink

DDL: P_DOCINFORECDOBJECTLINK SQL: PCVDIROBJLINK Type: view BASIC

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)

SourceAliasJoin Type
drad obj_links from

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;