I_CoCodeWithholdingTaxCode

DDL: I_COCODEWITHHOLDINGTAXCODE SQL: ICCWHLDGCODE Type: view BASIC Package: MDC_SUPPL_GOV_BO

Withholding Tax Code in Company Code

I_CoCodeWithholdingTaxCode is a Basic CDS View that provides data about "Withholding Tax Code in Company Code" in SAP S/4HANA. It reads from 1 data source (I_Extendedwhldgtaxcode) and exposes 5 fields with key fields CompanyCode, WithholdingTaxType, WithholdingTaxCode. It has 1 association to related views. Part of development package MDC_SUPPL_GOV_BO.

Data Sources (1)

SourceAliasJoin Type
I_Extendedwhldgtaxcode ExtendedWithholdingTax from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ExtendedWhldgTaxCodeText _Text $projection.WithholdingTaxType = _Text.WithholdingTaxType and $projection.WithholdingTaxCode = _Text.WithholdingTaxCode and $projection.Country = _Text.CountryCode

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICCWHLDGCODE view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Withholding Tax Code in Company Code view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.modelingPattern #NONE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode CompanyCode Receiver Company Code
KEY WithholdingTaxType I_Extendedwhldgtaxcode WithholdingTaxType WTax Type
KEY WithholdingTaxCode I_Extendedwhldgtaxcode WithholdingTaxCode WTax Code
Country CompanyCode Country Venue: Ctry/Reg
_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 I_CoCodeWithholdingTaxCode.
-- 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: ICCWHLDGCODE

CREATE VIEW I_CoCodeWithholdingTaxCode AS
SELECT
  CompanyCode.CompanyCode AS CompanyCode,
  ExtendedWithholdingTax.WithholdingTaxType AS WithholdingTaxType,
  ExtendedWithholdingTax.WithholdingTaxCode AS WithholdingTaxCode,
  CompanyCode.Country AS Country
FROM I_Extendedwhldgtaxcode AS ExtendedWithholdingTax
LEFT OUTER JOIN I_ExtendedWhldgTaxCodeText AS _Text ON WithholdingTaxType = _Text.WithholdingTaxType AND WithholdingTaxCode = _Text.WithholdingTaxCode AND Country = _Text.CountryCode  -- association [0..*]
;