C_InvoiceListItemObjPg

DDL: C_INVOICELISTITEMOBJPG Type: view CONSUMPTION

C_InvoiceListItemObjPg is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_InvoiceListItem) and exposes 14 fields with key fields InvoiceList, InvoiceListItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_InvoiceListItem InvoiceListItem from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_InvoiceListObjPg _InvoiceList $projection.InvoiceList = _InvoiceList.InvoiceList

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CINVLISTIOP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable false view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY InvoiceList I_InvoiceListItem InvoiceList
KEY InvoiceListItem I_InvoiceListItem InvoiceListItem
BillingDocument I_InvoiceListItem BillingDocument
SoldToParty I_InvoiceListItem SoldToParty
NetAmount I_InvoiceListItem NetAmount
TaxAmount I_InvoiceListItem TaxAmount
GrossAmount I_InvoiceListItem GrossAmount
RemunerationNetAmount I_InvoiceListItem RemunerationNetAmount
RemunerationTaxAmount I_InvoiceListItem RemunerationTaxAmount
TransactionCurrency I_InvoiceListItem TransactionCurrency
BillingDocumentTypeName
_BillingDocument I_InvoiceListItem _BillingDocument
_SoldToParty I_InvoiceListItem _SoldToParty
_InvoiceList _InvoiceList
@AbapCatalog: { 
  sqlViewName: 'CINVLISTIOP',
  compiler.compareFilter: true,
  preserveKey: true
 }
@AccessControl.authorizationCheck: #CHECK

@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #CONSUMPTION

@Metadata.allowExtensions: true

@ObjectModel: {
  semanticKey:   ['InvoiceList', 'InvoiceListItem'],
  usageType: { 
    serviceQuality: #C, 
    sizeCategory: #L,
    dataClass: #MIXED
   }  
}

@Search.searchable: false

define view C_InvoiceListItemObjPg
  as select from I_InvoiceListItem as InvoiceListItem

    association [1..1] to C_InvoiceListObjPg as _InvoiceList on $projection.InvoiceList = _InvoiceList.InvoiceList
{

  key InvoiceListItem.InvoiceList,

  key InvoiceListItem.InvoiceListItem,        
      
      InvoiceListItem.BillingDocument,
      
      InvoiceListItem.SoldToParty,

      

      InvoiceListItem.NetAmount,

      InvoiceListItem.TaxAmount,

      InvoiceListItem.GrossAmount,
      
      InvoiceListItem.RemunerationNetAmount,
      
      InvoiceListItem.RemunerationTaxAmount,
      
      InvoiceListItem.TransactionCurrency,      

      InvoiceListItem._BillingDocument._BillingDocumentType._Text[1: Language = $session.system_language ].BillingDocumentTypeName                                                       as BillingDocumentTypeName,

      InvoiceListItem._BillingDocument,
      InvoiceListItem._SoldToParty,      
      @ObjectModel.association.type:  [ #TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT ]
      _InvoiceList

}

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLINGDOCUMENT",
"I_BILLINGDOCUMENTTYPE",
"I_BILLINGDOCUMENTTYPETEXT",
"I_INVOICELISTITEM"
],
"ASSOCIATED":
[
"C_INVOICELISTOBJPG",
"I_BILLINGDOCUMENT",
"I_CUSTOMER"
],
"BASE":
[
"I_INVOICELISTITEM"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/