I_InvoiceListItem
Invoice List Item
I_InvoiceListItem is a Basic CDS View (Dimension) that provides data about "Invoice List Item" in SAP S/4HANA. It reads from 1 data source (vbrl) and exposes 17 fields with key fields InvoiceList, InvoiceListItem. It has 5 associations to related views.
SAP Help Documentation
| Category | Invoice Lists |
|---|---|
| Data Category | Dimension |
Purpose
This CDS view enables consumers to retrieve item-level data from invoice lists. Such data includes billing documents referenced by invoice list items, along with their net value, sold-to party, and factoring discount. Example business questions could include: Billing documents of which customers are included in a particular invoice list? How much factoring discount was granted on a particular invoice list item? Note If you want to retrieve detailed information about a particular billing document, you can do so through the association _BillingDocument or by using the Billing Document view. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: FKART (Billing Type) VKORG (Sales Organization for Billing Process Documents) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Important Fields Important fields in this view include the following: Field Name Description BillingDocument Billing document NetAmount Net value TaxAmount Tax amount RemunerationNetAmount Factoring discount TransactionCurrency Document currency SoldToParty Sold-to party
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.
This CDS view enables consumers to retrieve item-level data from invoice lists. Such data includes billing documents referenced by invoice list items, along with their net value, sold-to party, and factoring discount. Example business questions could include: Billing documents of which customers are included in a particular invoice list? How much factoring discount was granted on a particular invoice list item? Note If you want to retrieve detailed information about a particular billing document, you can do so through the association _BillingDocument or by using the Billing Document view. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: FKART (Billing Type) VKORG (Sales Organization for Billing Process Documents) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Important Fields Important fields in this view include the following: Field Name Description BillingDocument Billing document NetAmount Net value TaxAmount Tax amount RemunerationNetAmount Factoring discount TransactionCurrency Document currency SoldToParty Sold-to party
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vbrl | vbrl | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InvoiceList | _InvoiceList | $projection.InvoiceList = _InvoiceList.InvoiceList |
| [0..1] | I_BillingDocument | _BillingDocument | $projection.BillingDocument = _BillingDocument.BillingDocument |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_Customer | _SoldToParty | $projection.SoldToParty = _SoldToParty.Customer |
| [0..1] | I_LogicalSystem | _LogicalSystem | $projection.LogicalSystem = _LogicalSystem.LogicalSystem |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.technicalName | ISDINVOICELISTIT | view | |
| EndUserText.label | Invoice List Item | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | InvoiceListItem | view | |
| ObjectModel.sapObjectNodeType.name | InvoiceListItem | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #BASIC | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InvoiceList | vbeln | SD Sched. Agmt | |
| KEY | InvoiceListItem | posnr | WBS Element | |
| BillingDocument | vbeln_vf | Billing Doc. | ||
| NetAmount | netwr | Value | ||
| TaxAmount | mwsbp | Tax Amount | ||
| GrossAmount | ||||
| RemunerationNetAmount | kwert_rl | SDoc List Value | ||
| RemunerationTaxAmount | mwsbp_rl | SDListCond Tax | ||
| TransactionCurrency | _BillingDocument | TransactionCurrency | Transaction Currency | |
| PricingIsIncomplete | uvprs | Pricing – Item | ||
| SoldToParty | kunag | Sold-to Party | ||
| LogicalSystem | logsys | Source system | ||
| _InvoiceList | _InvoiceList | |||
| _BillingDocument | _BillingDocument | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _SoldToParty | _SoldToParty | |||
| _LogicalSystem | _LogicalSystem |
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 I_InvoiceListItem.
-- 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.
CREATE VIEW I_InvoiceListItem AS
SELECT
vbeln AS InvoiceList,
posnr AS InvoiceListItem,
vbeln_vf AS BillingDocument,
netwr AS NetAmount,
mwsbp AS TaxAmount,
cast(netwr + mwsbp + kwert_rl + mwsbp_rl as brtwert_rl) AS GrossAmount,
kwert_rl AS RemunerationNetAmount,
mwsbp_rl AS RemunerationTaxAmount,
_BillingDocument.TransactionCurrency AS TransactionCurrency,
uvprs AS PricingIsIncomplete,
kunag AS SoldToParty,
logsys AS LogicalSystem
FROM vbrl
LEFT OUTER JOIN I_InvoiceList AS _InvoiceList ON InvoiceList = _InvoiceList.InvoiceList -- association [1..1]
LEFT OUTER JOIN I_BillingDocument AS _BillingDocument ON BillingDocument = _BillingDocument.BillingDocument -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer -- association [0..1]
LEFT OUTER JOIN I_LogicalSystem AS _LogicalSystem ON LogicalSystem = _LogicalSystem.LogicalSystem -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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