I_SuplrInvcItemCsgnmtAPI01

DDL: I_SUPLRINVCITEMCSGNMTAPI01 Type: view_entity BASIC Package: VDM_MM_IV_SI_API

Consignment Settlement Item

I_SuplrInvcItemCsgnmtAPI01 is a Basic CDS View that provides data about "Consignment Settlement Item" in SAP S/4HANA. It reads from 2 data sources (I_SuplrInvcItemConsignment, I_SupplierInvoiceAPI01) and exposes 23 fields with key fields SupplierInvoice, FiscalYear, SupplierInvoiceItem. It has 1 association to related views. Part of development package VDM_MM_IV_SI_API.

Data Sources (2)

SourceAliasJoin Type
I_SuplrInvcItemConsignment consignment from
I_SupplierInvoiceAPI01 I_SupplierInvoiceAPI01 inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_SupplierInvoiceAPI01 _SupplierInvoiceAPI01 $projection.SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice and $projection.FiscalYear = _SupplierInvoiceAPI01.FiscalYear

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Consignment Settlement Item view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #NONE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice I_SuplrInvcItemConsignment SupplierInvoice
KEY FiscalYear I_SuplrInvcItemConsignment FiscalYear
KEY SupplierInvoiceItem I_SuplrInvcItemConsignment SupplierInvoiceItem
MaterialDocument I_SuplrInvcItemConsignment MaterialDocument
MaterialDocumentYear I_SuplrInvcItemConsignment MaterialDocumentYear
MaterialDocumentItem I_SuplrInvcItemConsignment MaterialDocumentItem
Material I_SuplrInvcItemConsignment Material
CompanyCode I_SuplrInvcItemConsignment CompanyCode
Plant I_SuplrInvcItemConsignment Plant
DocumentCurrency I_SuplrInvcItemConsignment DocumentCurrency
SupplierInvoiceItemAmount I_SuplrInvcItemConsignment SupplierInvoiceItemAmount
DebitCreditCode I_SuplrInvcItemConsignment DebitCreditCode
TaxCode I_SuplrInvcItemConsignment TaxCode
TaxJurisdiction I_SuplrInvcItemConsignment TaxJurisdiction
QuantityUnit I_SuplrInvcItemConsignment QuantityUnit
Quantity I_SuplrInvcItemConsignment Quantity
BusinessArea I_SuplrInvcItemConsignment BusinessArea
GLAccount I_SuplrInvcItemConsignment GLAccount
ProfitCenter I_SuplrInvcItemConsignment ProfitCenter
TaxCountry I_SuplrInvcItemConsignment TaxCountry
_SupplierInvoiceAPI01 _SupplierInvoiceAPI01
_Currency I_SuplrInvcItemConsignment _Currency
_UnitOfMeasure I_SuplrInvcItemConsignment _UnitOfMeasure
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@EndUserText.label: 'Consignment Settlement Item'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.supportedCapabilities: [ #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE ]
@ObjectModel.modelingPattern: #NONE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@Metadata.ignorePropagatedAnnotations:true

define view entity I_SuplrInvcItemCsgnmtAPI01 
  as select from I_SuplrInvcItemConsignment as consignment
    inner join I_SupplierInvoiceAPI01 on  consignment.SupplierInvoice = I_SupplierInvoiceAPI01.SupplierInvoice
                                      and consignment.FiscalYear      = I_SupplierInvoiceAPI01.FiscalYear
  
    association [1..1] to I_SupplierInvoiceAPI01 as _SupplierInvoiceAPI01 on  $projection.SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice
                                                                          and $projection.FiscalYear      = _SupplierInvoiceAPI01.FiscalYear
{
  key consignment.SupplierInvoice,
  key consignment.FiscalYear,
  key consignment.SupplierInvoiceItem,
      consignment.MaterialDocument,
      consignment.MaterialDocumentYear,
      consignment.MaterialDocumentItem,
      consignment.Material,
      consignment.CompanyCode,
      consignment.Plant,
      @ObjectModel.foreignKey.association: '_Currency'
      consignment.DocumentCurrency,
      @Semantics.amount.currencyCode: 'DocumentCurrency'
      consignment.SupplierInvoiceItemAmount,
      consignment.DebitCreditCode,
      consignment.TaxCode,
      consignment.TaxJurisdiction,
      @ObjectModel.foreignKey.association: '_UnitOfMeasure'
      consignment.QuantityUnit,
      @Semantics.quantity.unitOfMeasure: 'QuantityUnit'
      consignment.Quantity,
      consignment.BusinessArea,
      consignment.GLAccount,
      consignment.ProfitCenter,
      consignment.TaxCountry,  
      /* Associations */
      _SupplierInvoiceAPI01,
      consignment._Currency,
      consignment._UnitOfMeasure
}