SEPM_I_CustomerInvoiceItem
EPM Demo: Customer Invoice Item
SEPM_I_CustomerInvoiceItem is a CDS View of category Dimension that provides data about "EPM Demo: Customer Invoice Item" in SAP S/4HANA. It reads from 1 data source (snwd_so_inv_item) and exposes 16 fields with key field CustomerInvoiceItemUUID. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_so_inv_item | snwd_so_inv_item | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | SEPM_I_CustomerInvoice | _CustomerInvoice | $projection.CustomerInvoiceUUID = _CustomerInvoice.CustomerInvoiceUUID |
| [0..1] | SEPM_I_SalesOrderItem | _SalesOrderItem | $projection.SalesOrderItemUUID = _SalesOrderItem.SalesOrderItemUUID |
| [0..1] | SEPM_I_Product | _Product | $projection.ProductUUID = _Product.ProductUUID |
| [0..1] | SEPM_I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | SEPM_I_UnitOfMeasure | _QuantityUnit | $projection.QuantityUnit = _QuantityUnit.UnitOfMeasure |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | EPM Demo: Customer Invoice Item | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AbapCatalog.sqlViewName | SEPM_ICII | view | |
| ObjectModel.representativeKey | CustomerInvoiceItemUUID | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerInvoiceItemUUID | node_key | Tree Model: Node Key | |
| CustomerInvoiceUUID | parent_key | UUID | ||
| SalesOrderItemUUID | so_item_guid | Node Key | ||
| QuantityUnit | quantity_unit | Unit of Measure | ||
| Quantity | quantity | Value | ||
| TransactionCurrency | currency_code | Currency Code | ||
| GrossAmountInTransacCurrency | gross_amount | Tax-Inclusive Amount | ||
| NetAmountInTransactionCurrency | net_amount | Tax-Exclusive Amount | ||
| TaxAmountInTransactionCurrency | tax_amount | VAT Amount Type | ||
| ProductUUID | product_guid | Product | ||
| CustomerInvoiceItem | inv_item_pos | Item Position | ||
| _TransactionCurrency | _TransactionCurrency | |||
| _QuantityUnit | _QuantityUnit | |||
| _CustomerInvoice | _CustomerInvoice | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _Product | _Product |
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_CustomerInvoiceItem.
-- 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_ICII
CREATE VIEW SEPM_I_CustomerInvoiceItem AS
SELECT
node_key AS CustomerInvoiceItemUUID,
parent_key AS CustomerInvoiceUUID,
so_item_guid AS SalesOrderItemUUID,
quantity_unit AS QuantityUnit,
Quantity,
currency_code AS TransactionCurrency,
gross_amount AS GrossAmountInTransacCurrency,
net_amount AS NetAmountInTransactionCurrency,
tax_amount AS TaxAmountInTransactionCurrency,
product_guid AS ProductUUID,
inv_item_pos AS CustomerInvoiceItem
FROM snwd_so_inv_item
LEFT OUTER JOIN SEPM_I_CustomerInvoice AS _CustomerInvoice ON CustomerInvoiceUUID = _CustomerInvoice.CustomerInvoiceUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_SalesOrderItem AS _SalesOrderItem ON SalesOrderItemUUID = _SalesOrderItem.SalesOrderItemUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_Product AS _Product ON ProductUUID = _Product.ProductUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN SEPM_I_UnitOfMeasure AS _QuantityUnit ON QuantityUnit = _QuantityUnit.UnitOfMeasure -- 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