SEPM_I_SupplierInvoice_E
EPM Demo: Supplier Invoice with Ext. IDs
SEPM_I_SupplierInvoice_E is a CDS View of category Dimension that provides data about "EPM Demo: Supplier Invoice with Ext. IDs" in SAP S/4HANA. It reads from 3 data sources (SEPM_I_BusinessPartner, SEPM_I_PurchaseOrder, SEPM_I_SupplierInvoice) and exposes 17 fields with key field SupplierInvoice. It has 4 associations to related views. Part of development package S_EPM_CDS_REF.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| SEPM_I_BusinessPartner | BP | left_outer |
| SEPM_I_PurchaseOrder | PO | left_outer |
| SEPM_I_SupplierInvoice | SI | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | SEPM_I_SupplierInvoiceItem_E | _Item | $projection.SupplierInvoice = _Item.SupplierInvoice |
| [0..1] | SEPM_I_PurchaseOrder_E | _PurchaseOrder | $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder |
| [0..1] | SEPM_I_BusinessPartner_E | _Supplier | $projection.Supplier = _Supplier.BusinessPartner |
| [0..1] | SEPM_I_SUPPLIER_E | _SupplierV2 | $projection.Supplier = _SupplierV2.Supplier |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | EPM Demo: Supplier Invoice with Ext. IDs | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| AbapCatalog.sqlViewName | SEPM_ISIE | view | |
| ObjectModel.representativeKey | SupplierInvoice | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplierInvoice | SEPM_I_PurchaseOrder | PurchaseOrder | Purchasing Document |
| PurchaseOrder | SEPM_I_PurchaseOrder | PurchaseOrder | Purchasing Document | |
| DeliveryNote | SEPM_I_SupplierInvoice | DeliveryNote | Delivery Note No. | |
| CreationDateTime | SEPM_I_SupplierInvoice | CreationDateTime | Timestamp | |
| LastChangedDateTime | SEPM_I_SupplierInvoice | LastChangedDateTime | Time Stamp | |
| CreatedBySystemUser | ||||
| LastChangedBySystemUser | ||||
| GrossAmountInTransacCurrency | SEPM_I_SupplierInvoice | GrossAmountInTransacCurrency | Tax-Inclusive Amount | |
| NetAmountInTransactionCurrency | SEPM_I_SupplierInvoice | NetAmountInTransactionCurrency | Tax-Exclusive Amount | |
| TaxAmountInTransactionCurrency | SEPM_I_SupplierInvoice | TaxAmountInTransactionCurrency | VAT Amount Type | |
| TransactionCurrency | SEPM_I_SupplierInvoice | TransactionCurrency | Transaction Currency | |
| Supplier | SEPM_I_BusinessPartner | BusinessPartner | Issuing Authority | |
| _PurchaseOrder | _PurchaseOrder | |||
| _Item | _Item | |||
| _Supplier | _Supplier | |||
| _SupplierV2 | _SupplierV2 | |||
| _TransactionCurrency | SEPM_I_SupplierInvoice | _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_E.
-- 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_ISIE
CREATE VIEW SEPM_I_SupplierInvoice_E AS
SELECT
PO.PurchaseOrder AS SupplierInvoice,
PO.PurchaseOrder AS PurchaseOrder,
SI.DeliveryNote AS DeliveryNote,
SI.CreationDateTime AS CreationDateTime,
SI.LastChangedDateTime AS LastChangedDateTime,
SI._CreatedByUser.SystemUser AS CreatedBySystemUser,
SI._LastChangedByUser.SystemUser AS LastChangedBySystemUser,
SI.GrossAmountInTransacCurrency AS GrossAmountInTransacCurrency,
SI.NetAmountInTransactionCurrency AS NetAmountInTransactionCurrency,
SI.TaxAmountInTransactionCurrency AS TaxAmountInTransactionCurrency,
SI.TransactionCurrency AS TransactionCurrency,
BP.BusinessPartner AS Supplier,
SI._TransactionCurrency AS _TransactionCurrency
FROM SEPM_I_SupplierInvoice AS SI
LEFT OUTER JOIN SEPM_I_BusinessPartner AS BP ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SEPM_I_PurchaseOrder AS PO ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SEPM_I_SupplierInvoiceItem_E AS _Item ON SupplierInvoice = _Item.SupplierInvoice -- association [0..*]
LEFT OUTER JOIN SEPM_I_PurchaseOrder_E AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder -- association [0..1]
LEFT OUTER JOIN SEPM_I_BusinessPartner_E AS _Supplier ON Supplier = _Supplier.BusinessPartner -- association [0..1]
LEFT OUTER JOIN SEPM_I_SUPPLIER_E AS _SupplierV2 ON Supplier = _SupplierV2.Supplier -- 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