I_SupplierWithHoldingTax

DDL: I_SUPPLIERWITHHOLDINGTAX SQL: ISUPLRWHLDGTAX Type: view BASIC Package: VDM_MD_COMMON

Supplier WithHolding Tax

I_SupplierWithHoldingTax (Basic)

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

SupplierWithHoldingTax · Database & Data Management

I_SupplierWithHoldingTax is a Basic CDS View (Dimension) that provides data about "Supplier WithHolding Tax" in SAP S/4HANA. It reads from 1 data source (lfbw) and exposes 15 fields with key fields Supplier, CompanyCode, WithholdingTaxType. It has 3 associations to related views. Part of development package VDM_MD_COMMON.

SAP Help Documentation

CategoryCDS Views for Business Partner
Data CategoryDimension
StatusReleased
Purpose
This CDS view retrieves supplier withholding tax data.

Structure
Object types This view relates to the following SAP object types: Supplier Business Partner Measures and attributes Some important measures and attributes are: Supplier Withholding Tax

SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. In case you are interested in the details of the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Application Help SAP Library BI Content . For more information on extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessDatabase & Data Management
Application ComponentLO-MD-BP-2CL
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Analytical Dimension,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageDatabase and Data Management for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves supplier withholding tax data.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
lfbw WithHoldingTax from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_SupplierCompany _SupplierCompany $projection.Supplier = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode
[1..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName ISUPLRWHLDGTAX view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Supplier WithHolding Tax view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.sapObjectNodeType.name SupplierWithHoldingTax view
ObjectModel.representativeKey WithholdingTaxType view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY Supplier lifnr Account Number of Supplier
KEY CompanyCode bukrs Company Code
KEY WithholdingTaxType witht Indicator for Withholding Tax Type
WithholdingTaxNumber wt_wtstcd Withholding tax identification number
WithholdingTaxCode wt_withcd Withholding Tax Code
IsWithholdingTaxSubject wt_subjct Indicator: Subject to Withholding Tax?
RecipientType qsrec Recipient Type
WithholdingTaxCertificate wt_exnr Exemption Certificate Number
WithholdingTaxExmptPercent wt_exrt Exemption Rate
ExemptionDateBegin wt_exdf Date on Which Exemption Begins
ExemptionDateEnd wt_exdt Date on Which Exemption Ends
ExemptionReason wt_wtexrs Reason for Exemption
_SupplierCompany _SupplierCompany
_CompanyCode _CompanyCode
_Supplier _Supplier

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_SupplierWithHoldingTax.
-- 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: ISUPLRWHLDGTAX

CREATE VIEW I_SupplierWithHoldingTax AS
SELECT
  lifnr AS Supplier,
  bukrs AS CompanyCode,
  witht AS WithholdingTaxType,
  wt_wtstcd AS WithholdingTaxNumber,
  wt_withcd AS WithholdingTaxCode,
  wt_subjct AS IsWithholdingTaxSubject,
  qsrec AS RecipientType,
  wt_exnr AS WithholdingTaxCertificate,
  wt_exrt AS WithholdingTaxExmptPercent,
  wt_exdf AS ExemptionDateBegin,
  wt_exdt AS ExemptionDateEnd,
  wt_wtexrs AS ExemptionReason
FROM lfbw AS WithHoldingTax
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCompany ON Supplier = _SupplierCompany.Supplier AND CompanyCode = _SupplierCompany.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [1..1]
;