I_Extendedwhldgtaxcode

DDL: I_EXTENDEDWHLDGTAXCODE SQL: IFIEWHTAXCODE Type: view BASIC Package: FINS_FIS_FICO

Extended Withholding Tax Code

I_Extendedwhldgtaxcode (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_Extendedwhldgtaxcode is a Basic CDS View (Cube) that provides data about "Extended Withholding Tax Code" in SAP S/4HANA. It reads from 1 data source (t059z) and exposes 14 fields with key fields Country, WithholdingTaxType, WithholdingTaxCode. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F4051, UI_UPLOADOPENARITEMS). Part of development package FINS_FIS_FICO.

SAP Help Documentation

CategoryCDS Views for Configuration Data
Data CategoryCube
StatusReleased
Purpose
This CDS view exposes the values for the extended withholding tax code. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Not applicable.

Structure
Important fields Important fields in this view include the following: Field Name Description Measure or Attribute COUNTRY Country Attribute REGION Region Attribute WITHHOLDINGTAXCODE Withholding tax code Attribute WITHHOLDINGTAXPERCENT Withholding tax percent Attribute WHLDGTAXRELEVANTPERCENT Withholding tax relevant percent Attribute WITHHOLDINGTAXTYPE Withholding tax type Attribute

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-IS-2CL
CapabilitiesAssociation Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
t059z t059z from

Associations (2)

CardinalityTargetAliasCondition
[1] I_Country _Country $projection.Country = _Country.Country
[1..*] I_ExtendedWhldgTaxCodeText _CodeText $projection.WithholdingTaxType = _CodeText.WithholdingTaxType and $projection.WithholdingTaxCode = _CodeText.WithholdingTaxCode and $projection.Country = _CodeText.CountryCode

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IFIEWHTAXCODE view
EndUserText.label Extended Withholding Tax Code view
VDM.viewType #BASIC view
Analytics.dataCategory #CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
AbapCatalog.preserveKey true view
Metadata.allowExtensions true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.supportedCapabilities #CDS_MODELING_ASSOCIATION_TARGET view
Metadata.ignorePropagatedAnnotations true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F4051 ASQL_F4051 C2 NOT_RELEASED
UI_UPLOADOPENARITEMS UI_UPLOADOPENARITEMS V4 C1 NOT_TO_BE_RELEASED_STABLE

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Country land1 Country/Region Key
KEY WithholdingTaxType witht Indicator for Withholding Tax Type
KEY WithholdingTaxCode wt_withcd Withholding Tax Code
OfficialWhldgTaxCode qscod Official Withholding Tax Key
WhldgTaxRelevantPercent qproz Percentage Subject to Withholding Tax
WithholdingTaxPercent qsatz Withholding Tax Rate
WhldgTaxCalcFormulaIsUsed xqfor Indicator: Calculate Withholding Tax According to Formula?
Region regio Region (State, Province, County)
ProvincialTaxCode fprcd Provincial Tax Code
WithholdingTaxIncomeType qekar Income Type
WithholdingTaxPostingRule wt_posin Posting Indicator
WhldgTaxReferenceText withcd2 Withholding Tax Key
_Country _Country
_CodeText _CodeText

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_Extendedwhldgtaxcode.
-- 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: IFIEWHTAXCODE

CREATE VIEW I_Extendedwhldgtaxcode AS
SELECT
  land1 AS Country,
  witht AS WithholdingTaxType,
  wt_withcd AS WithholdingTaxCode,
  qscod AS OfficialWhldgTaxCode,
  qproz AS WhldgTaxRelevantPercent,
  qsatz AS WithholdingTaxPercent,
  xqfor AS WhldgTaxCalcFormulaIsUsed,
  regio AS Region,
  fprcd AS ProvincialTaxCode,
  qekar AS WithholdingTaxIncomeType,
  wt_posin AS WithholdingTaxPostingRule,
  withcd2 AS WhldgTaxReferenceText
FROM t059z
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [1]
LEFT OUTER JOIN I_ExtendedWhldgTaxCodeText AS _CodeText ON WithholdingTaxType = _CodeText.WithholdingTaxType AND WithholdingTaxCode = _CodeText.WithholdingTaxCode AND Country = _CodeText.CountryCode  -- association [1..*]
;