I_ExtReferencesForPurReqnItm

DDL: I_EXTREFERENCESFORPURREQNITM SQL: IPURREQNEXTLINKS Type: view BASIC Package: VDM_MM_PUR_PR

External References of PR Item

I_ExtReferencesForPurReqnItm is a Basic CDS View that provides data about "External References of PR Item" in SAP S/4HANA. It reads from 1 data source (I_ExternalRefForPurgDoc) and exposes 7 fields with key fields PurchaseRequisition, PurchaseRequisitionItem, LinkType, SequenceNumber. Part of development package VDM_MM_PUR_PR.

Data Sources (1)

SourceAliasJoin Type
I_ExternalRefForPurgDoc I_ExternalRefForPurgDoc from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPURREQNEXTLINKS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label External References of PR Item view
VDM.viewType #BASIC 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 #SAP_INTERNAL_API view
AbapCatalog.preserveKey true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PurchaseRequisition
KEY PurchaseRequisitionItem
KEY LinkType LinkType Link Types for Doc.
KEY SequenceNumber SequenceNumber Sort sequence
PurReqnExternalReference
PurReqnItemExternalReference
PurReqnExternalSystemId PurgDocExternalSystem Ext. Ref. System

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_ExtReferencesForPurReqnItm.
-- 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: IPURREQNEXTLINKS

CREATE VIEW I_ExtReferencesForPurReqnItm AS
SELECT
  substring( PurchasingDocumentUniqueID ,1, 10 ) AS PurchaseRequisition,
  substring( PurchasingDocumentUniqueID ,11, 5 ) AS PurchaseRequisitionItem,
  LinkType,
  SequenceNumber,
  substring( PurgDocExternalReference ,1, 35 ) AS PurReqnExternalReference,
  substring( PurgDocExternalReference ,36, 10 ) AS PurReqnItemExternalReference,
  PurgDocExternalSystem AS PurReqnExternalSystemId
FROM I_ExternalRefForPurgDoc
;