sepm_sddl_po_invoice_header
sepm_sddl_po_invoice_header is a CDS View in SAP S/4HANA. It reads from 1 data source (snwd_po_inv_head) and exposes 9 fields. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_po_inv_head | snwd_po_inv_head | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | sepm_sddl_purchaseorder_header | purchases_order | $projection.purchase_order_key = purchases_order.purchase_order_key |
| [1] | sepm_sddl_employees | created_by_employee | $projection.created_by_employee_key = created_by_employee.employee_key |
| [1] | sepm_sddl_employees | changed_by_employee | $projection.changed_by_employee_key = changed_by_employee.employee_key |
| [1] | sepm_sddl_businesspartner | supplier | $projection.supplier_key = supplier.business_partner_key |
| [0..*] | sepm_sddl_po_invoice_item | items | $projection.purchase_order_invoice_key = items.purchase_order_invoice_key |
| [1] | tcurc | currency | currency_code = waers |
Annotations (1)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SEPM_SDDL_V_POIH | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| created_at | created_at | Uploaded On | ||
| changed_at | changed_at | Timestamp | ||
| gross_amount | gross_amount | Tax-Inclusive Amount | ||
| net_amount | net_amount | Tax-Exclusive Amount | ||
| tax_amount | tax_amount | VAT Amount Type | ||
| supplier_key | partner_guid | Partner GUID | ||
| supplier | supplier | Supplier | ||
| items | items | Single-Character Flag | ||
| 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_po_invoice_header.
-- 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_POIH
CREATE VIEW sepm_sddl_po_invoice_header AS
SELECT
created_at,
changed_at,
gross_amount,
net_amount,
tax_amount,
partner_guid AS supplier_key,
supplier,
items,
currency
FROM snwd_po_inv_head
LEFT OUTER JOIN sepm_sddl_purchaseorder_header AS purchases_order ON purchase_order_key = purchases_order.purchase_order_key -- association [1]
LEFT OUTER JOIN sepm_sddl_employees AS created_by_employee ON created_by_employee_key = created_by_employee.employee_key -- association [1]
LEFT OUTER JOIN sepm_sddl_employees AS changed_by_employee ON changed_by_employee_key = changed_by_employee.employee_key -- association [1]
LEFT OUTER JOIN sepm_sddl_businesspartner AS supplier ON supplier_key = supplier.business_partner_key -- association [1]
LEFT OUTER JOIN sepm_sddl_po_invoice_item AS items ON purchase_order_invoice_key = items.purchase_order_invoice_key -- association [0..*]
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