I_SuplrInvcHeaderWhldgTaxAPI01

DDL: I_SUPLRINVCHEADERWHLDGTAXAPI01 SQL: ISIHDRWHLDGAPI01 Type: view COMPOSITE Package: VDM_MM_IV_SI_API

Withholding Tax for Supplier Invoice

I_SuplrInvcHeaderWhldgTaxAPI01 is a Composite CDS View that provides data about "Withholding Tax for Supplier Invoice" in SAP S/4HANA. It reads from 2 data sources (I_SuplrInvcHeaderWhldgTax, I_SupplierInvoiceAPI01) and exposes 9 fields with key fields SupplierInvoice, FiscalYear, WithholdingTaxType. It has 1 association to related views. Part of development package VDM_MM_IV_SI_API.

Data Sources (2)

SourceAliasJoin Type
I_SuplrInvcHeaderWhldgTax I_SuplrInvcHeaderWhldgTax from
I_SupplierInvoiceAPI01 I_SupplierInvoiceAPI01 inner

Associations (1)

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

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ISIHDRWHLDGAPI01 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Withholding Tax for Supplier Invoice 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 (9)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice I_SuplrInvcHeaderWhldgTax SupplierInvoice
KEY FiscalYear I_SuplrInvcHeaderWhldgTax FiscalYear
KEY WithholdingTaxType WithholdingTaxType
DocumentCurrency I_SuplrInvcHeaderWhldgTax DocumentCurrency
WithholdingTaxCode WithholdingTaxCode
WithholdingTaxBaseAmount WithholdingTaxBaseAmount
ManuallyEnteredWhldgTaxAmount ManuallyEnteredWhldgTaxAmount
_SupplierInvoiceAPI01 _SupplierInvoiceAPI01
_Currency I_SuplrInvcHeaderWhldgTax _Currency
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'ISIHDRWHLDGAPI01'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@EndUserText.label: 'Withholding Tax for Supplier Invoice'
@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 I_SuplrInvcHeaderWhldgTaxAPI01
  as select from I_SuplrInvcHeaderWhldgTax  
    
    inner join   I_SupplierInvoiceAPI01 on  I_SuplrInvcHeaderWhldgTax.SupplierInvoice = I_SupplierInvoiceAPI01.SupplierInvoice
                                        and I_SuplrInvcHeaderWhldgTax.FiscalYear      = I_SupplierInvoiceAPI01.FiscalYear

  association [1..1] to I_SupplierInvoiceAPI01 as _SupplierInvoiceAPI01 on  $projection.SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice
                                                                        and $projection.FiscalYear      = _SupplierInvoiceAPI01.FiscalYear
{

  key I_SuplrInvcHeaderWhldgTax.SupplierInvoice,
  key I_SuplrInvcHeaderWhldgTax.FiscalYear,
  key WithholdingTaxType,

      @Semantics.currencyCode: true
      I_SuplrInvcHeaderWhldgTax.DocumentCurrency,
      WithholdingTaxCode,
      @Semantics.amount.currencyCode: 'DocumentCurrency'
      @DefaultAggregation:#NONE
      WithholdingTaxBaseAmount,
      @Semantics.amount.currencyCode: 'DocumentCurrency'
      @DefaultAggregation:#NONE
      ManuallyEnteredWhldgTaxAmount,

      /* Associations */
      _SupplierInvoiceAPI01,
      I_SuplrInvcHeaderWhldgTax._Currency
}