I_SuplrInvcHeaderWhldgTax

DDL: I_SUPLRINVCHEADERWHLDGTAX SQL: ISIHDRWHLDG Type: view BASIC

SI Withholding Tax Header Level

I_SuplrInvcHeaderWhldgTax is a Basic CDS View that provides data about "SI Withholding Tax Header Level" in SAP S/4HANA. It reads from 1 data source (I_SuplrInvcWithholdingTax) and exposes 9 fields with key fields SupplierInvoice, FiscalYear, WithholdingTaxType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SuplrInvcWithholdingTax I_SuplrInvcWithholdingTax from

Associations (1)

CardinalityTargetAliasCondition
[1..1] P_SuplrInvcAmountSplitCount _AmountSplitCount $projection.SupplierInvoice = _AmountSplitCount.SupplierInvoice and $projection.FiscalYear = _AmountSplitCount.FiscalYear

Annotations (12)

NameValueLevelField
EndUserText.label SI Withholding Tax Header Level view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.sqlViewName ISIHDRWHLDG view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice SupplierInvoice SD Document
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY WithholdingTaxType WithholdingTaxType WTax Type
DocumentCurrency DocumentCurrency Document Currency
WithholdingTaxCode WithholdingTaxCode WTax Code
WithholdingTaxBaseAmount WithholdingTaxBaseAmount WTax Base Amt
ManuallyEnteredWhldgTaxAmount ManuallyEnteredWhldgTaxAmount Manual W/Tax in FC
_SupplierInvoice _SupplierInvoice
_Currency _Currency

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_SuplrInvcHeaderWhldgTax.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ISIHDRWHLDG

CREATE VIEW I_SuplrInvcHeaderWhldgTax AS
SELECT
  SupplierInvoice,
  FiscalYear,
  WithholdingTaxType,
  DocumentCurrency,
  WithholdingTaxCode,
  WithholdingTaxBaseAmount,
  ManuallyEnteredWhldgTaxAmount
FROM I_SuplrInvcWithholdingTax
LEFT OUTER JOIN P_SuplrInvcAmountSplitCount AS _AmountSplitCount ON SupplierInvoice = _AmountSplitCount.SupplierInvoice AND FiscalYear = _AmountSplitCount.FiscalYear  -- association [1..1]
;