sepm_sddl_purchaseorder_item
EPM: DDL View for purchase order item table
sepm_sddl_purchaseorder_item is a CDS View that provides data about "EPM: DDL View for purchase order item table" in SAP S/4HANA. It reads from 1 data source (snwd_po_i) and exposes 9 fields with key field item_key. It has 8 associations to related views. Part of development package S_EPM_CDS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_po_i | snwd_po_i | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | sepm_sddl_purchaseorder_itemsl | schedule_line | $projection.item_key = schedule_line.purchase_order_item_key |
| [0..1] | sepm_sddl_text_original_langu | original_note_language | $projection.note_key = original_note_language.text_original_language_key |
| [0..*] | sepm_sddl_text_data | note_texts | $projection.note_key = note_texts.original_lanuage_key |
| [1] | sepm_sddl_product | product | $projection.product_key = product.product_key |
| [1] | sepm_sddl_purchaseorder_header | purchase_order | $projection.purchase_order_key = purchase_order.purchase_order_key |
| [0..1] | sepm_sddl_goods_receipt_item | goods_receipt_item | $projection.item_key = goods_receipt_item.item_key |
| [0..1] | sepm_sddl_goods_receipt_item | purchase_invoice_item | $projection.item_key = purchase_invoice_item.item_key |
| [1] | tcurc | currency | currency_code = waers |
Annotations (1)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SEPM_SDDL_V_POI | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | item_key | node_key | Tree Model: Node Key | |
| product_key | product_guid | Product | ||
| note_key | note_guid | Node Key | ||
| gross_amount | gross_amount | Tax-Inclusive Amount | ||
| net_amount | net_amount | Tax-Exclusive Amount | ||
| tax_amount | tax_amount | VAT Amount Type | ||
| note_texts | note_texts | |||
| product | product | Product Sold | ||
| currency | currency | Valuation Crcy |
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 sepm_sddl_purchaseorder_item.
-- 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: SEPM_SDDL_V_POI
CREATE VIEW sepm_sddl_purchaseorder_item AS
SELECT
node_key AS item_key,
product_guid AS product_key,
note_guid AS note_key,
gross_amount,
net_amount,
tax_amount,
note_texts,
product,
currency
FROM snwd_po_i
LEFT OUTER JOIN sepm_sddl_purchaseorder_itemsl AS schedule_line ON item_key = schedule_line.purchase_order_item_key -- association [1]
LEFT OUTER JOIN sepm_sddl_text_original_langu AS original_note_language ON note_key = original_note_language.text_original_language_key -- association [0..1]
LEFT OUTER JOIN sepm_sddl_text_data AS note_texts ON note_key = note_texts.original_lanuage_key -- association [0..*]
LEFT OUTER JOIN sepm_sddl_product AS product ON product_key = product.product_key -- association [1]
LEFT OUTER JOIN sepm_sddl_purchaseorder_header AS purchase_order ON purchase_order_key = purchase_order.purchase_order_key -- association [1]
LEFT OUTER JOIN sepm_sddl_goods_receipt_item AS goods_receipt_item ON item_key = goods_receipt_item.item_key -- association [0..1]
LEFT OUTER JOIN sepm_sddl_goods_receipt_item AS purchase_invoice_item ON item_key = purchase_invoice_item.item_key -- association [0..1]
LEFT OUTER JOIN tcurc AS currency ON currency_code = waers -- association [1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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