C_InvoiceListObjPg
C_InvoiceListObjPg is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_InvoiceList) and exposes 24 fields with key field InvoiceList. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InvoiceList | InvoiceList | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_InvoiceListItemObjPg | _Item | $projection.InvoiceList = _Item.InvoiceList |
| [0..*] | C_SDDocumentPartnerCard | _SDDocumentPartnerCard | $projection.InvoiceList = _SDDocumentPartnerCard.SDDocument and _SDDocumentPartnerCard.SDDocumentItem = '000000' |
| [0..1] | I_InvoiceListRemuneration | _InvoiceListRemuneration | $projection.InvoiceList = _InvoiceListRemuneration.InvoiceList |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CINVLISTOP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Search.searchable | false | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InvoiceList | I_InvoiceList | InvoiceList | Invoice List |
| PayerParty | I_InvoiceList | PayerParty | Payer | |
| BillingDocumentDate | I_InvoiceList | InvoiceListBillingDate | Billing Date | |
| TotalNetAmount | I_InvoiceList | TotalNetAmount | Total Net Amount | |
| TotalTaxAmount | I_InvoiceList | TotalTaxAmount | Tax Amount | |
| TransactionCurrency | I_InvoiceList | TransactionCurrency | Transaction Currency | |
| CompanyCode | I_InvoiceList | CompanyCode | Receiver Company Code | |
| SalesOrganization | I_InvoiceList | SalesOrganization | Sales Organization | |
| DocumentReferenceID | I_InvoiceList | DocumentReferenceID | Reference | |
| CustomerPaymentTerms | I_InvoiceList | CustomerPaymentTerms | Pyt Terms | |
| AccountingTransferStatus | I_InvoiceList | AccountingTransferStatus | ||
| BillingDocumentType | I_InvoiceList | InvoiceListType | ||
| BillingDocumentTypeName | ||||
| TotalRemunerationNetAmount | _InvoiceListRemuneration | TotalRemunerationNetAmount | ||
| TotalRemunerationTaxAmount | _InvoiceListRemuneration | TotalRemunerationTaxAmount | ||
| TotalGrossAmount | ||||
| _PayerParty | I_InvoiceList | _PayerParty | ||
| _BillingDocumentType | I_InvoiceList | _InvoiceListType | ||
| _SalesOrganization | I_InvoiceList | _SalesOrganization | ||
| _CompanyCode | I_InvoiceList | _CompanyCode | ||
| _CustomerPaymentTerms | I_InvoiceList | _CustomerPaymentTerms | ||
| _AccountingTransferStatus | I_InvoiceList | _AccountingTransferStatus | ||
| _Item | _Item | |||
| _SDDocumentPartnerCard | _SDDocumentPartnerCard |
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_InvoiceListObjPg.
-- 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 C_InvoiceListObjPg AS
SELECT
InvoiceList.InvoiceList AS InvoiceList,
InvoiceList.PayerParty AS PayerParty,
InvoiceList.InvoiceListBillingDate AS BillingDocumentDate,
InvoiceList.TotalNetAmount AS TotalNetAmount,
InvoiceList.TotalTaxAmount AS TotalTaxAmount,
InvoiceList.TransactionCurrency AS TransactionCurrency,
InvoiceList.CompanyCode AS CompanyCode,
InvoiceList.SalesOrganization AS SalesOrganization,
InvoiceList.DocumentReferenceID AS DocumentReferenceID,
InvoiceList.CustomerPaymentTerms AS CustomerPaymentTerms,
InvoiceList.AccountingTransferStatus AS AccountingTransferStatus,
InvoiceList.InvoiceListType AS BillingDocumentType,
InvoiceList._InvoiceListType._Text[1: Language = $session.system_language ].InvoiceListTypeName AS BillingDocumentTypeName,
_InvoiceListRemuneration.TotalRemunerationNetAmount AS TotalRemunerationNetAmount,
_InvoiceListRemuneration.TotalRemunerationTaxAmount AS TotalRemunerationTaxAmount,
cast( TotalTaxAmount + TotalNetAmount + _InvoiceListRemuneration.TotalRemunerationNetAmount + _InvoiceListRemuneration.TotalRemunerationTaxAmount as sum_rl) AS TotalGrossAmount,
InvoiceList._PayerParty AS _PayerParty,
InvoiceList._InvoiceListType AS _BillingDocumentType,
InvoiceList._SalesOrganization AS _SalesOrganization,
InvoiceList._CompanyCode AS _CompanyCode,
InvoiceList._CustomerPaymentTerms AS _CustomerPaymentTerms,
InvoiceList._AccountingTransferStatus AS _AccountingTransferStatus
FROM I_InvoiceList AS InvoiceList
LEFT OUTER JOIN C_InvoiceListItemObjPg AS _Item ON InvoiceList = _Item.InvoiceList -- association [0..*]
LEFT OUTER JOIN C_SDDocumentPartnerCard AS _SDDocumentPartnerCard ON InvoiceList = _SDDocumentPartnerCard.SDDocument AND _SDDocumentPartnerCard.SDDocumentItem = '000000' -- association [0..*]
LEFT OUTER JOIN I_InvoiceListRemuneration AS _InvoiceListRemuneration ON InvoiceList = _InvoiceListRemuneration.InvoiceList -- 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