I_ExternalRefForPurReqnItm

DDL: I_EXTERNALREFFORPURREQNITM SQL: IPURREQNEXTREF Type: view BASIC Package: VDM_MM_PUR_PR

Purchase Reqn Item External Reference

I_ExternalRefForPurReqnItm is a Basic CDS View that provides data about "Purchase Reqn Item External Reference" in SAP S/4HANA. It reads from 3 data sources (eban_tech, eban, I_ExternalRefForPurgDoc) and exposes 19 fields with key fields PurchaseRequisition, PurchaseRequisitionItem. Part of development package VDM_MM_PUR_PR.

Data Sources (3)

SourceAliasJoin Type
eban_tech _extPurReqn from
eban _purReqn inner
I_ExternalRefForPurgDoc I_ExternalRefForPurgDoc union

Annotations (11)

NameValueLevelField
EndUserText.label Purchase Reqn Item External Reference view
AbapCatalog.sqlViewName IPURREQNEXTREF view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.preserveKey true view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY PurchaseRequisition eban_tech banfn Requisition
KEY PurchaseRequisitionItem eban_tech bnfpo Requisn. item
PurReqnProcessingType eban_tech proc_status Work Item ID
PurReqnProcessingDateTime eban_tech proc_date Timestamp
PurReqnExternalReference eban_tech ext_doc_number External Document
PurReqnItemExternalReference eban_tech ext_doc_item External Item
PurReqnTypeExternalReference eban_tech ext_doc_type External Doc. Type
PurReqnOrigin eban_tech create_ind Creation ind.
PurReqnExternalSystemId eban_tech ext_system_id Ext. Ref. System
banfnasPurchaseRequisition
PurchaseRequisitionItem eban bnfpo Requisn. item
PurReqnProcessingType Work Item ID
PurReqnProcessingDateTime Timestamp
PurReqnExternalReference External Document
PurReqnItemExternalReference External Item
PurReqnTypeExternalReference External Doc. Type
PurReqnOrigin Creation ind.
PurReqnExternalSystemId Ext. Ref. System
PurReqnExternalSystemType

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_ExternalRefForPurReqnItm.
-- 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: IPURREQNEXTREF

CREATE VIEW I_ExternalRefForPurReqnItm AS
SELECT
  _extPurReqn.banfn AS PurchaseRequisition,
  _extPurReqn.bnfpo AS PurchaseRequisitionItem,
  _extPurReqn.proc_status AS PurReqnProcessingType,
  _extPurReqn.proc_date AS PurReqnProcessingDateTime,
  _extPurReqn.ext_doc_number AS PurReqnExternalReference,
  _extPurReqn.ext_doc_item AS PurReqnItemExternalReference,
  _extPurReqn.ext_doc_type AS PurReqnTypeExternalReference,
  _extPurReqn.create_ind AS PurReqnOrigin,
  _extPurReqn.ext_system_id AS PurReqnExternalSystemId,
  _extPurReqn.ext_system_type as PurReqnExternalSystemType AS banfnasPurchaseRequisition,
  '' AS PurReqnExternalSystemType
FROM eban_tech AS _extPurReqn
INNER JOIN eban AS _purReqn ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_ExternalRefForPurgDoc
;