I_Businesspartnerwhldgtax
Company code Whldg tax Core CDS
I_Businesspartnerwhldgtax is a Basic CDS View that provides data about "Company code Whldg tax Core CDS" in SAP S/4HANA. It reads from 1 data source (lfbw) and exposes 18 fields with key fields BusinessPartner, Supplier, CompanyCode, WithholdingTaxType. It has 3 associations to related views. Part of development package VDM_MD_BP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| lfbw | BusinessPartnerWhldgTax | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_Supplier_to_BusinessPartner | _SupplierToBusinessPartner | $projection.Supplier = _SupplierToBusinessPartner.Supplier |
| [1..1] | I_SupplierCompany | _SupplierCo | $projection.CompanyCode = _SupplierCo.CompanyCode and $projection.Supplier = _SupplierCo.Supplier |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBPWHLDGTAX | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Company code Whldg tax Core CDS | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | |||
| KEY | Supplier | lifnr | Vendor no. | |
| KEY | CompanyCode | bukrs | Value | |
| KEY | WithholdingTaxType | witht | WTax Type | |
| BusinessPartnerUUID | _SupplierToBusinessPartner | BusinessPartnerUUID | UUID | |
| CountryCode | _CompanyCode | Country | Venue: Ctry/Reg | |
| WithholdingTaxNumber | wt_wtstcd | W/tax number | ||
| WithholdingTaxCode | wt_withcd | W/Tax Code | ||
| IsWithholdingTaxSubject | wt_subjct | Subject to w/tx | ||
| RecipientType | qsrec | Recipient Type | ||
| WithholdingTaxCertificate | wt_exnr | Exemption Number | ||
| WithholdingTaxExmptPercent | wt_exrt | Exemption Rate | ||
| ExemptionDateBegin | wt_exdf | Exempt From | ||
| ExemptionDateEnd | wt_exdt | Exempt To | ||
| ExemptionReason | wt_wtexrs | Exempt. Reason | ||
| _SupplierToBusinessPartner | _SupplierToBusinessPartner | |||
| _CompanyCode | _CompanyCode | |||
| _SupplierCo | _SupplierCo |
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_Businesspartnerwhldgtax.
-- 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: IBPWHLDGTAX
CREATE VIEW I_Businesspartnerwhldgtax AS
SELECT
_SupplierToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
lifnr AS Supplier,
bukrs AS CompanyCode,
witht AS WithholdingTaxType,
_SupplierToBusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
_CompanyCode.Country AS CountryCode,
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 BusinessPartnerWhldgTax
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_Supplier_to_BusinessPartner AS _SupplierToBusinessPartner ON Supplier = _SupplierToBusinessPartner.Supplier -- association [1..1]
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCo ON CompanyCode = _SupplierCo.CompanyCode AND Supplier = _SupplierCo.Supplier -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA