SEPM_I_SupplierInvoice_E

DDL: SEPM_I_SUPPLIERINVOICE_E SQL: SEPM_ISIE Type: view Package: S_EPM_CDS_REF

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)

SourceAliasJoin Type
SEPM_I_BusinessPartner BP left_outer
SEPM_I_PurchaseOrder PO left_outer
SEPM_I_SupplierInvoice SI from

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;