I_InvoiceListRemuneration

DDL: I_INVOICELISTREMUNERATION Type: view BASIC

Invoice List Remuneration

I_InvoiceListRemuneration is a Basic CDS View that provides data about "Invoice List Remuneration" in SAP S/4HANA. It reads from 1 data source (I_InvoiceListItem) and exposes 6 fields with key field InvoiceList. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_InvoiceListItem InvoiceListItem from

Associations (1)

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

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Invoice List Remuneration view
AbapCatalog.sqlViewName ISDINVOICELSTRMN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey InvoiceList view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY InvoiceList I_InvoiceListItem InvoiceList
TransactionCurrency I_InvoiceListItem TransactionCurrency
TotalRemunerationNetAmount
TotalRemunerationTaxAmount
_TransactionCurrency _TransactionCurrency
_InvoiceList _InvoiceList
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Invoice List Remuneration'

@AbapCatalog: { 
  sqlViewName: 'ISDINVOICELSTRMN', 
  compiler.compareFilter: true,
  preserveKey: true
}
@AccessControl.authorizationCheck: #CHECK

@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.representativeKey: 'InvoiceList'

@VDM.viewType: #BASIC


define view I_InvoiceListRemuneration
  as select from I_InvoiceListItem as InvoiceListItem

  //Association

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


{

  key InvoiceListItem.InvoiceList,
      @Semantics.currencyCode:true
      InvoiceListItem.TransactionCurrency,

      @DefaultAggregation: #NONE
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      cast(sum(InvoiceListItem.RemunerationNetAmount) as kwert_rl) as TotalRemunerationNetAmount,
      @DefaultAggregation: #NONE
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      cast(sum(InvoiceListItem.RemunerationTaxAmount) as mwsbp_rl) as TotalRemunerationTaxAmount,

      _TransactionCurrency,
      //    Needed for DCL

      @Consumption.hidden: true
      _InvoiceList
}

group by
  InvoiceListItem.InvoiceList,
  InvoiceListItem.TransactionCurrency
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_INVOICELISTITEM"
],
"ASSOCIATED":
[
"I_CURRENCY",
"I_INVOICELIST"
],
"BASE":
[
"I_INVOICELISTITEM"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/