I_ExternalRefForPurReqnItm
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)
| Source | Alias | Join Type |
|---|---|---|
| eban_tech | _extPurReqn | from |
| eban | _purReqn | inner |
| I_ExternalRefForPurgDoc | I_ExternalRefForPurgDoc | union |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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