I_BusinessPartnerCustWhdgTaxTP
Customer Withholding tax BO view
I_BusinessPartnerCustWhdgTaxTP is a Transactional CDS View that provides data about "Customer Withholding tax BO view" in SAP S/4HANA. It reads from 1 data source (I_BusinessPartnerCustWhdgTax) and exposes 23 fields with key fields BusinessPartner, CompanyCode, WithholdingTaxType. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BusinessPartnerCustWhdgTax | BusinessPartnerCustWhdgTax | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BusinessPartnerTP | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [1..1] | I_BusinessPartnerCustCoTP | _BusinessPartnerCustomerCo | $projection.BusinessPartner = _BusinessPartnerCustomerCo.BusinessPartner and $projection.CompanyCode = _BusinessPartnerCustomerCo.CompanyCode |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Customer Withholding tax BO view | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | IBUPACUSTWHTTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.writeDraftPersistence | CUST_WTAX_D | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.createEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | I_BusinessPartnerCustWhdgTax | BusinessPartner | Issuing Authority |
| KEY | CompanyCode | I_BusinessPartnerCustWhdgTax | CompanyCode | Receiver Company Code |
| KEY | WithholdingTaxType | I_BusinessPartnerCustWhdgTax | WithholdingTaxType | WTax Type |
| Customer | I_BusinessPartnerCustWhdgTax | Customer | Sold-to Party | |
| WithholdingTaxTypeForEdit | I_BusinessPartnerCustWhdgTax | WithholdingTaxType | WTax Type | |
| CompanyCodeForEdit | I_BusinessPartnerCustWhdgTax | CompanyCode | Receiver Company Code | |
| BusinessPartnerForEdit | I_BusinessPartnerCustWhdgTax | BusinessPartner | Issuing Authority | |
| CountryCode | I_BusinessPartnerCustWhdgTax | CountryCode | Country/Reg. | |
| WithholdingTaxCode | I_BusinessPartnerCustWhdgTax | WithholdingTaxCode | WTax Code | |
| WithholdingTaxAgent | I_BusinessPartnerCustWhdgTax | WithholdingTaxAgent | WTax Agent | |
| ObligationDateBegin | I_BusinessPartnerCustWhdgTax | ObligationDateBegin | W/Tax Obligated Frm | |
| ObligationDateEnd | I_BusinessPartnerCustWhdgTax | ObligationDateEnd | Oblig.to W/Tax Until | |
| WithholdingTaxNumber | I_BusinessPartnerCustWhdgTax | WithholdingTaxNumber | W/tax number | |
| WithholdingTaxCertificate | I_BusinessPartnerCustWhdgTax | WithholdingTaxCertificate | WHT Certificate | |
| WithholdingTaxCertificate2 | I_BusinessPartnerCustWhdgTax | WithholdingTaxCertificate2 | Exemption Number | |
| WithholdingTaxExmptPercent | I_BusinessPartnerCustWhdgTax | WithholdingTaxExmptPercent | Exemption Rate | |
| ExemptionDateBegin | I_BusinessPartnerCustWhdgTax | ExemptionDateBegin | Exempt From | |
| ExemptionDateEnd | I_BusinessPartnerCustWhdgTax | ExemptionDateEnd | Exempt To | |
| ExemptionReason | I_BusinessPartnerCustWhdgTax | ExemptionReason | Exempt. Reason | |
| RecipientType | I_BusinessPartnerCustWhdgTax | RecipientType | Recipient Type | |
| ExtendedWhldgTaxIsActive | ||||
| _BusinessPartner | _BusinessPartner | |||
| _BusinessPartnerCustomerCo | _BusinessPartnerCustomerCo |
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_BusinessPartnerCustWhdgTaxTP.
-- 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: IBUPACUSTWHTTP
CREATE VIEW I_BusinessPartnerCustWhdgTaxTP AS
SELECT
BusinessPartnerCustWhdgTax.BusinessPartner AS BusinessPartner,
BusinessPartnerCustWhdgTax.CompanyCode AS CompanyCode,
BusinessPartnerCustWhdgTax.WithholdingTaxType AS WithholdingTaxType,
BusinessPartnerCustWhdgTax.Customer AS Customer,
BusinessPartnerCustWhdgTax.WithholdingTaxType AS WithholdingTaxTypeForEdit,
BusinessPartnerCustWhdgTax.CompanyCode AS CompanyCodeForEdit,
BusinessPartnerCustWhdgTax.BusinessPartner AS BusinessPartnerForEdit,
BusinessPartnerCustWhdgTax.CountryCode AS CountryCode,
BusinessPartnerCustWhdgTax.WithholdingTaxCode AS WithholdingTaxCode,
BusinessPartnerCustWhdgTax.WithholdingTaxAgent AS WithholdingTaxAgent,
BusinessPartnerCustWhdgTax.ObligationDateBegin AS ObligationDateBegin,
BusinessPartnerCustWhdgTax.ObligationDateEnd AS ObligationDateEnd,
BusinessPartnerCustWhdgTax.WithholdingTaxNumber AS WithholdingTaxNumber,
BusinessPartnerCustWhdgTax.WithholdingTaxCertificate AS WithholdingTaxCertificate,
BusinessPartnerCustWhdgTax.WithholdingTaxCertificate2 AS WithholdingTaxCertificate2,
BusinessPartnerCustWhdgTax.WithholdingTaxExmptPercent AS WithholdingTaxExmptPercent,
BusinessPartnerCustWhdgTax.ExemptionDateBegin AS ExemptionDateBegin,
BusinessPartnerCustWhdgTax.ExemptionDateEnd AS ExemptionDateEnd,
BusinessPartnerCustWhdgTax.ExemptionReason AS ExemptionReason,
BusinessPartnerCustWhdgTax.RecipientType AS RecipientType,
BusinessPartnerCustWhdgTax._CompanyCode.ExtendedWhldgTaxIsActive AS ExtendedWhldgTaxIsActive
FROM I_BusinessPartnerCustWhdgTax AS BusinessPartnerCustWhdgTax
LEFT OUTER JOIN I_BusinessPartnerTP AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_BusinessPartnerCustCoTP AS _BusinessPartnerCustomerCo ON BusinessPartner = _BusinessPartnerCustomerCo.BusinessPartner AND CompanyCode = _BusinessPartnerCustomerCo.CompanyCode -- 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