I_InvoiceListItem

DDL: I_INVOICELISTITEM Type: view BASIC

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.

Data Sources (1)

SourceAliasJoin Type
vbrl vbrl from

Associations (5)

CardinalityTargetAliasCondition
[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 (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
ObjectModel.representativeKey InvoiceListItem view
Analytics.dataCategory #DIMENSION view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISDINVOICELISTIT view
AbapCatalog.preserveKey true view
EndUserText.label Invoice List Item view
Metadata.allowExtensions true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY InvoiceList vbeln
KEY InvoiceListItem posnr
BillingDocument vbeln_vf
NetAmount netwr
TaxAmount mwsbp
GrossAmount
RemunerationNetAmount kwert_rl
RemunerationTaxAmount mwsbp_rl
TransactionCurrency _BillingDocument TransactionCurrency
PricingIsIncomplete uvprs
SoldToParty kunag
LogicalSystem logsys
_InvoiceList _InvoiceList
_BillingDocument _BillingDocument
_TransactionCurrency _TransactionCurrency
_SoldToParty _SoldToParty
_LogicalSystem _LogicalSystem
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'InvoiceListItem'
@Analytics.dataCategory: #DIMENSION
@AccessControl.authorizationCheck:#CHECK
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
@AbapCatalog: {
  sqlViewName: 'ISDINVOICELISTIT',
  preserveKey: true 
}
@EndUserText.label: 'Invoice List Item'
@Metadata.allowExtensions: true

define view I_InvoiceListItem
  as select from vbrl
  //Association


  association [1..1] to I_InvoiceList     as _InvoiceList         on $projection.InvoiceList = _InvoiceList.InvoiceList
  association [0..1] to I_BillingDocument as _BillingDocument     on $projection.BillingDocument = _BillingDocument.BillingDocument
  association [0..1] to I_Currency        as _TransactionCurrency on $projection.TransactionCurrency = _TransactionCurrency.Currency
  association [0..1] to I_Customer        as _SoldToParty         on $projection.SoldToParty = _SoldToParty.Customer
  association [0..1] to I_LogicalSystem   as _LogicalSystem       on $projection.LogicalSystem = _LogicalSystem.LogicalSystem
{
      //Key

      @Consumption.valueHelpDefinition: [ 
      { entity:  { name:    'I_InvoiceListStdVH',
                   element: 'InvoiceList' }
      }]    
      @ObjectModel.foreignKey.association: '_InvoiceList'
  key vbeln                                                   as InvoiceList,
  key posnr                                                   as InvoiceListItem,

      //Billing

      //--[ GENERATED:012:GlBfhyJl7kY4v5RWfCiSf0

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_BillingDocumentStdVH',
                     element: 'BillingDocument' }
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_BillingDocument'
      vbeln_vf                                                as BillingDocument,

      //Pricing

      @DefaultAggregation: #NONE
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      netwr                                                   as NetAmount,
      @DefaultAggregation: #NONE
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      mwsbp                                                   as TaxAmount,
      @DefaultAggregation: #NONE
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      cast(netwr + mwsbp + kwert_rl + mwsbp_rl as brtwert_rl) as GrossAmount,

      @DefaultAggregation: #NONE
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      kwert_rl                                                as RemunerationNetAmount,
      @DefaultAggregation: #NONE
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      mwsbp_rl                                                as RemunerationTaxAmount,

      @Semantics.currencyCode: true
      @ObjectModel.foreignKey.association: '_TransactionCurrency'
      _BillingDocument.TransactionCurrency                    as TransactionCurrency,
      uvprs                                                   as PricingIsIncomplete,

      //Sales

      //--[ GENERATED:012:GlBfhyJl7kY4v5RWfCiSf0

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_Customer_VH',
                     element: 'Customer' }
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_SoldToParty'
      kunag                                                   as SoldToParty,

      //Admin

      @ObjectModel.foreignKey.association: '_LogicalSystem'
      logsys                                                  as LogicalSystem,

      //Association

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

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLINGDOCUMENT",
"VBRL"
],
"ASSOCIATED":
[
"I_BILLINGDOCUMENT",
"I_CURRENCY",
"I_CUSTOMER",
"I_INVOICELIST",
"I_LOGICALSYSTEM"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/