SEPM_I_SupplierInvoice
EPM Demo: Supplier Invoice
SEPM_I_SupplierInvoice is a CDS View of category Dimension that provides data about "EPM Demo: Supplier Invoice" in SAP S/4HANA. It reads from 1 data source (snwd_po_inv_head) and exposes 19 fields with key field SupplierInvoiceUUID. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_po_inv_head | snwd_po_inv_head | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | SEPM_I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..*] | SEPM_I_SupplierInvoiceItem | _Item | $projection.SupplierInvoiceUUID = _Item.SupplierInvoiceUUID |
| [0..1] | SEPM_I_PurchaseOrder | _PurchaseOrder | $projection.PurchaseOrderUUID = _PurchaseOrder.PurchaseOrderUUID |
| [0..1] | SEPM_I_BusinessPartner | _Supplier | $projection.SupplierUUID = _Supplier.BusinessPartnerUUID |
| [0..1] | SEPM_I_SUPPLIER | _SupplierV2 | $projection.SupplierUUID = _SupplierV2.SupplierUUID |
| [0..1] | SEPM_I_Employee | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.EmployeeUUID |
| [0..1] | SEPM_I_Employee | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.EmployeeUUID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | EPM Demo: Supplier Invoice | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AbapCatalog.sqlViewName | SEPM_ISI | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | SupplierInvoiceUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplierInvoiceUUID | node_key | Tree Model: Node Key | |
| PurchaseOrderUUID | po_guid | Node Key | ||
| DeliveryNote | dly_note_number | Delivery Note No. | ||
| CreatedByUser | created_by | Version Created By | ||
| CreationDateTime | created_at | Uploaded On | ||
| LastChangedByUser | changed_by | User Name | ||
| LastChangedDateTime | changed_at | Timestamp | ||
| GrossAmountInTransacCurrency | gross_amount | Tax-Inclusive Amount | ||
| NetAmountInTransactionCurrency | net_amount | Tax-Exclusive Amount | ||
| TaxAmountInTransactionCurrency | tax_amount | VAT Amount Type | ||
| TransactionCurrency | currency_code | Currency Code | ||
| SupplierUUID | partner_guid | Partner GUID | ||
| _PurchaseOrder | _PurchaseOrder | |||
| _Supplier | _Supplier | |||
| _SupplierV2 | _SupplierV2 | |||
| _Item | _Item | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _TransactionCurrency | _TransactionCurrency |
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_I_SupplierInvoice.
-- 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_ISI
CREATE VIEW SEPM_I_SupplierInvoice AS
SELECT
node_key AS SupplierInvoiceUUID,
po_guid AS PurchaseOrderUUID,
dly_note_number AS DeliveryNote,
created_by AS CreatedByUser,
created_at AS CreationDateTime,
changed_by AS LastChangedByUser,
changed_at AS LastChangedDateTime,
gross_amount AS GrossAmountInTransacCurrency,
net_amount AS NetAmountInTransactionCurrency,
tax_amount AS TaxAmountInTransactionCurrency,
currency_code AS TransactionCurrency,
partner_guid AS SupplierUUID
FROM snwd_po_inv_head
LEFT OUTER JOIN SEPM_I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN SEPM_I_SupplierInvoiceItem AS _Item ON SupplierInvoiceUUID = _Item.SupplierInvoiceUUID -- association [0..*]
LEFT OUTER JOIN SEPM_I_PurchaseOrder AS _PurchaseOrder ON PurchaseOrderUUID = _PurchaseOrder.PurchaseOrderUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_BusinessPartner AS _Supplier ON SupplierUUID = _Supplier.BusinessPartnerUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_SUPPLIER AS _SupplierV2 ON SupplierUUID = _SupplierV2.SupplierUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_Employee AS _CreatedByUser ON CreatedByUser = _CreatedByUser.EmployeeUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_Employee AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.EmployeeUUID -- association [0..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