C_WhldgTaxTypVHTemp

DDL: C_WHLDGTAXTYPVHTEMP SQL: CWHLDGTAXTYPEVH Type: view CONSUMPTION Package: VDM_MD_BP

Withholding Tax Code Type

C_WhldgTaxTypVHTemp is a Consumption CDS View that provides data about "Withholding Tax Code Type" in SAP S/4HANA. It reads from 1 data source (t059p) and exposes 4 fields with key fields WithholdingTaxType, WithholdingTaxCountry. It has 2 associations to related views. Part of development package VDM_MD_BP.

Data Sources (1)

SourceAliasJoin Type
t059p t059p from

Associations (2)

CardinalityTargetAliasCondition
[1..*] C_WhldgTaxTypeTextVHTemp _Text $projection.WithholdingTaxType = _Text.WithholdingTaxType and $projection.WithholdingTaxCountry = _Text.CountryCode
[0..1] I_Country _Country $projection.WithholdingTaxCountry = _Country.Country

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CWHLDGTAXTYPEVH view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey WithholdingTaxType view
Search.searchable true view
EndUserText.label Withholding Tax Code Type view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
Consumption.ranked true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY WithholdingTaxType t059p witht WTax Type
KEY WithholdingTaxCountry t059p land1 Trip Ctry/Reg
_Country _Country
_Text _Text

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 C_WhldgTaxTypVHTemp.
-- 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: CWHLDGTAXTYPEVH

CREATE VIEW C_WhldgTaxTypVHTemp AS
SELECT
  t059p.witht AS WithholdingTaxType,
  t059p.land1 AS WithholdingTaxCountry
FROM t059p
LEFT OUTER JOIN C_WhldgTaxTypeTextVHTemp AS _Text ON WithholdingTaxType = _Text.WithholdingTaxType AND WithholdingTaxCountry = _Text.CountryCode  -- association [1..*]
LEFT OUTER JOIN I_Country AS _Country ON WithholdingTaxCountry = _Country.Country  -- association [0..1]
;