I_WithholdingTaxCodeVH
Extended Withholding Tax Code
I_WithholdingTaxCodeVH is a Composite CDS View that provides data about "Extended Withholding Tax Code" in SAP S/4HANA. It reads from 1 data source (I_Extendedwhldgtaxcode) and exposes 16 fields with key fields Country, WithholdingTaxType, WithholdingTaxCode. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Extendedwhldgtaxcode | I_Extendedwhldgtaxcode | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_Country | _Country | $projection.Country = _Country.Country |
| [1..*] | I_ExtendedWhldgTaxCodeText | _TaxCodeText | $projection.WithholdingTaxType = _TaxCodeText.WithholdingTaxType and $projection.WithholdingTaxCode = _TaxCodeText.WithholdingTaxCode and $projection.Country = _TaxCodeText.CountryCode |
| [1..1] | I_RegionText | _RegionText | $projection.Country = _RegionText.Country and $projection.Region = _RegionText.Region and _RegionText.Language = $session.system_language |
| [1..1] | I_WithholdingTaxIncomeTypeText | _IncomeTypeText | $projection.Country = _IncomeTypeText.Country and $projection.WithholdingTaxIncomeType = _IncomeTypeText.WithholdingTaxIncomeType and _IncomeTypeText.Language = $session.system_language |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IWHTCODEVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Extended Withholding Tax Code | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Consumption.ranked | true | view | |
| ObjectModel.representativeKey | WithholdingTaxCode | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Country | Country | ||
| KEY | WithholdingTaxType | WithholdingTaxType | ||
| KEY | WithholdingTaxCode | WithholdingTaxCode | ||
| OfficialWhldgTaxCode | OfficialWhldgTaxCode | |||
| WhldgTaxRelevantPercent | WhldgTaxRelevantPercent | |||
| WithholdingTaxPercent | WithholdingTaxPercent | |||
| WhldgTaxCalcFormulaIsUsed | WhldgTaxCalcFormulaIsUsed | |||
| Region | Region | |||
| ProvincialTaxCode | ProvincialTaxCode | |||
| WithholdingTaxIncomeType | WithholdingTaxIncomeType | |||
| WithholdingTaxPostingRule | WithholdingTaxPostingRule | |||
| WhldgTaxReferenceText | WhldgTaxReferenceText | |||
| _Country | _Country | |||
| _TaxCodeText | _TaxCodeText | |||
| _RegionText | _RegionText | |||
| _IncomeTypeText | _IncomeTypeText |
@AbapCatalog.sqlViewName: 'IWHTCODEVH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Extended Withholding Tax Code'
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.dataCategory: #VALUE_HELP
@Consumption.ranked: true
@ObjectModel.representativeKey: 'WithholdingTaxCode'
@Search.searchable: true
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_WithholdingTaxCodeVH
as select from I_Extendedwhldgtaxcode
association [1] to I_Country as _Country on $projection.Country = _Country.Country
association [1..*] to I_ExtendedWhldgTaxCodeText as _TaxCodeText on $projection.WithholdingTaxType = _TaxCodeText.WithholdingTaxType
and $projection.WithholdingTaxCode = _TaxCodeText.WithholdingTaxCode
and $projection.Country = _TaxCodeText.CountryCode
// association [1..1] to I_OfficialWithholdingTaxKey as _TaxKey on $projection.Country = _TaxKey.Country
// and $projection.OfficialWhldgTaxCode = _TaxKey.OfficialWhldgTaxCode
association [1..1] to I_RegionText as _RegionText on $projection.Country = _RegionText.Country
and $projection.Region = _RegionText.Region
and _RegionText.Language = $session.system_language
association [1..1] to I_WithholdingTaxIncomeTypeText as _IncomeTypeText on $projection.Country = _IncomeTypeText.Country
and $projection.WithholdingTaxIncomeType = _IncomeTypeText.WithholdingTaxIncomeType
and _IncomeTypeText.Language = $session.system_language
{
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
@ObjectModel.foreignKey.association: '_Country'
key Country,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.7
@Search.ranking: #LOW
key WithholdingTaxType,
@Semantics.text: true
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.7
@Search.ranking: #LOW
@ObjectModel.text.association: '_TaxCodeText'
key WithholdingTaxCode,
// @Semantics.text: true
// @Search.defaultSearchElement: true
// @Search.fuzzinessThreshold: 0.7
// @Search.ranking: #LOW
// @ObjectModel.foreignKey.association: '_TaxKey'
OfficialWhldgTaxCode,
WhldgTaxRelevantPercent,
WithholdingTaxPercent,
WhldgTaxCalcFormulaIsUsed,
@ObjectModel.text.association: '_RegionText'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.7
@Search.ranking: #LOW
Region,
ProvincialTaxCode,
@ObjectModel.text.association: '_IncomeTypeText'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.7
@Search.ranking: #LOW
WithholdingTaxIncomeType,
WithholdingTaxPostingRule,
WhldgTaxReferenceText,
_Country,
_TaxCodeText,
// _TaxKey,
_RegionText,
_IncomeTypeText
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA