C_SuplrInvcItQty
Supplier Invoice Item Quantity
C_SuplrInvcItQty is a CDS View that provides data about "Supplier Invoice Item Quantity" in SAP S/4HANA. It reads from 1 data source (rseg) and exposes 18 fields with key fields SupplierInvoice, SupplierInvoiceYear, SupplierInvoiceItem. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| rseg | iv_items | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | view_iv_head_p | iv_head | $projection.SupplierInvoice = iv_head.belnr and $projection.SupplierInvoiceYear = iv_head.gjahr |
| [0..1] | view_PO_items_p | purchase_order_item | $projection.PurchaseOrder = purchase_order_item.ebeln and $projection.PurchaseOrderItem = purchase_order_item.ebelp |
| [0..*] | t006a | SuplrInvcUnitT006A | $projection.SuplrInvcItemQuantityUnit = SuplrInvcUnitT006A.msehi |
| [0..*] | t006a | BaseUnitT006A | $projection.BaseUnit = BaseUnitT006A.msehi |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSUPLRINVCITQTY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Supplier Invoice Item Quantity | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplierInvoice | rseg | belnr | Supplier Invoice |
| KEY | SupplierInvoiceYear | rseg | gjahr | Supplier Invoice Year |
| KEY | SupplierInvoiceItem | rseg | buzei | Supplier Invoice Item |
| PurchaseOrder | rseg | ebeln | Purchase Order | |
| PurchaseOrderItem | rseg | ebelp | Purchase Order Item | |
| Material | rseg | matnr | Material | |
| SuplrInvcItemQtyToBaseQtyNmrtr | 0 | Supplier Invoice Item Qty To Base Qty Numerator | ||
| SuplrInvcItmQtyToBaseQtyDnmntr | 0 | Supplier Invoice Item Qty To Base Qty Denominator | ||
| SuplrInvcItemQuantityUnit | rseg | bstme | Unit.Order | |
| SuplrInvcUnitT006A | SuplrInvcUnitT006A | Supplier Invoice Item Quantity Unit | ||
| BaseUnit | rseg | meins | Valuation Unit | |
| BaseUnitT006A | BaseUnitT006A | Base Unit | ||
| SupplierInvoiceCurrency | iv_head | waers | Supplier Invoice Currency | |
| SupplierInvoiceItemQuantity | rseg | menge | Supplier Invoice Item Quantity | |
| SuplrInvcItmQuantityInBaseUnit | rseg | menge | Supplier Invoice Item Quantity in Base Unit | |
| ItemAmountOfSupplierInvoice | rseg | wrbtr | Item Amount of Supplier Invoice | |
| shkzg | rseg | shkzg | Returns | |
| meins | rseg | meins | Valuation Unit |
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 C_SuplrInvcItQty.
-- 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: CSUPLRINVCITQTY
CREATE VIEW C_SuplrInvcItQty AS
SELECT
iv_items.belnr AS SupplierInvoice,
iv_items.gjahr AS SupplierInvoiceYear,
iv_items.buzei AS SupplierInvoiceItem,
iv_items.ebeln AS PurchaseOrder,
iv_items.ebelp AS PurchaseOrderItem,
iv_items.matnr AS Material,
0 AS SuplrInvcItemQtyToBaseQtyNmrtr,
0 AS SuplrInvcItmQtyToBaseQtyDnmntr,
iv_items.bstme AS SuplrInvcItemQuantityUnit,
SuplrInvcUnitT006A,
iv_items.meins AS BaseUnit,
BaseUnitT006A,
iv_head.waers AS SupplierInvoiceCurrency,
iv_items.menge AS SupplierInvoiceItemQuantity,
iv_items.menge AS SuplrInvcItmQuantityInBaseUnit,
iv_items.wrbtr AS ItemAmountOfSupplierInvoice,
iv_items.shkzg AS shkzg,
iv_items.meins AS meins
FROM rseg AS iv_items
LEFT OUTER JOIN view_iv_head_p AS iv_head ON SupplierInvoice = iv_head.belnr AND SupplierInvoiceYear = iv_head.gjahr -- association [1..1]
LEFT OUTER JOIN view_PO_items_p AS purchase_order_item ON PurchaseOrder = purchase_order_item.ebeln AND PurchaseOrderItem = purchase_order_item.ebelp -- association [0..1]
LEFT OUTER JOIN t006a AS SuplrInvcUnitT006A ON SuplrInvcItemQuantityUnit = SuplrInvcUnitT006A.msehi -- association [0..*]
LEFT OUTER JOIN t006a AS BaseUnitT006A ON BaseUnit = BaseUnitT006A.msehi -- association [0..*]
;
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