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 (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CINVLISTOP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | 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 | |
| PayerParty | I_InvoiceList | PayerParty | ||
| BillingDocumentDate | I_InvoiceList | BillingDocumentDate | ||
| TotalNetAmount | I_InvoiceList | TotalNetAmount | ||
| TotalTaxAmount | I_InvoiceList | TotalTaxAmount | ||
| TransactionCurrency | I_InvoiceList | TransactionCurrency | ||
| CompanyCode | I_InvoiceList | CompanyCode | ||
| SalesOrganization | I_InvoiceList | SalesOrganization | ||
| DocumentReferenceID | I_InvoiceList | DocumentReferenceID | ||
| CustomerPaymentTerms | I_InvoiceList | CustomerPaymentTerms | ||
| AccountingTransferStatus | I_InvoiceList | AccountingTransferStatus | ||
| BillingDocumentType | I_InvoiceList | BillingDocumentType | ||
| BillingDocumentTypeName | ||||
| TotalRemunerationNetAmount | _InvoiceListRemuneration | TotalRemunerationNetAmount | ||
| TotalRemunerationTaxAmount | _InvoiceListRemuneration | TotalRemunerationTaxAmount | ||
| TotalGrossAmount | ||||
| _PayerParty | I_InvoiceList | _PayerParty | ||
| _BillingDocumentType | I_InvoiceList | _BillingDocumentType | ||
| _SalesOrganization | I_InvoiceList | _SalesOrganization | ||
| _CompanyCode | I_InvoiceList | _CompanyCode | ||
| _CustomerPaymentTerms | I_InvoiceList | _CustomerPaymentTerms | ||
| _AccountingTransferStatus | I_InvoiceList | _AccountingTransferStatus | ||
| _Item | _Item | |||
| _SDDocumentPartnerCard | _SDDocumentPartnerCard |
@AbapCatalog: {
sqlViewName: 'CINVLISTOP',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl: {
authorizationCheck: #CHECK,
privilegedAssociations: [ '_SDDocumentPartnerCard' ],
personalData: {
blocking: #REQUIRED
}
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@Metadata.allowExtensions: true
@ObjectModel: {
compositionRoot: true,
semanticKey: ['InvoiceList'],
usageType: {
serviceQuality: #C,
sizeCategory: #L,
dataClass: #MIXED
}
}
@Search.searchable: false
define view C_InvoiceListObjPg
as select from I_InvoiceList as InvoiceList
association [0..*] to C_InvoiceListItemObjPg as _Item on $projection.InvoiceList = _Item.InvoiceList
association [0..*] to C_SDDocumentPartnerCard as _SDDocumentPartnerCard on $projection.InvoiceList = _SDDocumentPartnerCard.SDDocument
and _SDDocumentPartnerCard.SDDocumentItem = '000000'
association [0..1] to I_InvoiceListRemuneration as _InvoiceListRemuneration on $projection.InvoiceList = _InvoiceListRemuneration.InvoiceList
{
key InvoiceList.InvoiceList,
InvoiceList.PayerParty,
@Semantics.businessDate.at: true
InvoiceList.BillingDocumentDate,
InvoiceList.TotalNetAmount,
InvoiceList.TotalTaxAmount,
InvoiceList.TransactionCurrency,
InvoiceList.CompanyCode,
InvoiceList.SalesOrganization,
InvoiceList.DocumentReferenceID,
InvoiceList.CustomerPaymentTerms,
InvoiceList.AccountingTransferStatus,
InvoiceList.BillingDocumentType,
InvoiceList._BillingDocumentType._Text[1: Language = $session.system_language ].BillingDocumentTypeName as BillingDocumentTypeName,
@Semantics.amount.currencyCode: 'TransactionCurrency'
_InvoiceListRemuneration.TotalRemunerationNetAmount as TotalRemunerationNetAmount,
@Semantics.amount.currencyCode: 'TransactionCurrency'
_InvoiceListRemuneration.TotalRemunerationTaxAmount as TotalRemunerationTaxAmount,
@Semantics.amount.currencyCode: 'TransactionCurrency'
cast( TotalTaxAmount + TotalNetAmount + _InvoiceListRemuneration.TotalRemunerationNetAmount + _InvoiceListRemuneration.TotalRemunerationTaxAmount as sum_rl) as TotalGrossAmount,
//InvoiceList.TotalGrossAmount,
InvoiceList._PayerParty,
InvoiceList._BillingDocumentType,
InvoiceList._SalesOrganization,
InvoiceList._CompanyCode,
InvoiceList._CustomerPaymentTerms,
InvoiceList._AccountingTransferStatus,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_Item,
_SDDocumentPartnerCard
}
Learn More
- 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 Annotations — A Complete Guide
- 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