I_BPCustomerWhldgTaxGovTP
BP Customer Withholding Tax Gov - TP
I_BPCustomerWhldgTaxGovTP is a Transactional CDS View that provides data about "BP Customer Withholding Tax Gov - TP" in SAP S/4HANA. It reads from 1 data source (I_BPCustomerWhldgTaxGov) and exposes 32 fields with key fields BusinessPartnerUUID, CustomerCompanyUUID, CustomerWithholdingTaxUUID, MasterDataChangeProcess, MDChgProcessSrceSystem. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BPCustomerWhldgTaxGov | I_BPCustomerWhldgTaxGov | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BusinessPartnerGovTP | _BusinessPartnerGov | $projection.MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess and $projection.BusinessPartnerUUID = _BusinessPartnerGov.BusinessPartnerUUID and $projection.MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject |
| [1..1] | I_BPCustomerGovTP | _Customer | $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess and $projection.BusinessPartnerUUID = _Customer.BusinessPartnerUUID and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject |
| [0..1] | I_MasterDataChangeProcess | _MasterDataChangeProcess | $projection.MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess |
| [0..1] | I_CoCodeWithholdingTaxType | _WithholdingTaxType | $projection.CompanyCodeForEdit = _WithholdingTaxType.CompanyCode and $projection.WithholdingTaxTypeForEdit = _WithholdingTaxType.WithholdingTaxType |
| [0..1] | I_CoCodeWithholdingTaxCode | _WithholdingTaxCode | $projection.CompanyCodeForEdit = _WithholdingTaxCode.CompanyCode and $projection.WithholdingTaxTypeForEdit = _WithholdingTaxCode.WithholdingTaxType and $projection.WithholdingTaxCode = _WithholdingTaxCode.WithholdingTaxCode |
| [0..1] | I_CoCodeWhgdTaxExemptionReason | _ExemptionReason | $projection.CompanyCodeForEdit = _ExemptionReason.CompanyCode and $projection.ExemptionReason = _ExemptionReason.ExemptionReason |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | BP Customer Withholding Tax Gov - TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #TRANSACTIONAL | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartnerUUID | |||
| KEY | CustomerCompanyUUID | |||
| KEY | CustomerWithholdingTaxUUID | |||
| KEY | MasterDataChangeProcess | MasterDataChangeProcess | Process ID | |
| KEY | MDChgProcessSrceSystem | MDChgProcessSrceSystem | Source System | |
| KEY | MDChgProcessSrceObject | MDChgProcessSrceObject | Source ID | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | WithholdingTaxType | WithholdingTaxType | WTax Type | |
| MDChgProcessStep | MDChgProcessStep | Step Number | ||
| CompanyCodeForEdit | CompanyCode | Receiver Company Code | ||
| WithholdingTaxTypeForEdit | WithholdingTaxType | WTax Type | ||
| BPAssignmentID | BPAssignmentID | Assignment ID | ||
| Customer | Customer | Sold-to Party | ||
| WithholdingTaxCode | WithholdingTaxCode | WTax Code | ||
| WithholdingTaxAgent | WithholdingTaxAgent | WTax Agent | ||
| ObligationDateBegin | ObligationDateBegin | W/Tax Obligated Frm | ||
| ObligationDateEnd | ObligationDateEnd | Oblig.to W/Tax Until | ||
| WithholdingTaxNumber | WithholdingTaxNumber | W/tax number | ||
| WithholdingTaxCertificate2 | WithholdingTaxCertificate2 | Exemption Number | ||
| WithholdingTaxExmptPercent | WithholdingTaxExmptPercent | Exemption Rate | ||
| ExemptionDateBegin | ExemptionDateBegin | Exempt From | ||
| ExemptionDateEnd | ExemptionDateEnd | Exempt To | ||
| ExemptionReason | ExemptionReason | Exempt. Reason | ||
| MasterDataIsCurrent | MasterDataIsCurrent | Truth Value | ||
| _Customer | _Customer | |||
| _CustomerCompany | _CustomerCompany | |||
| _CustomerToBusinessPartner | _CustomerToBusinessPartner | |||
| _MasterDataChangeProcess | _MasterDataChangeProcess | |||
| _BusinessPartnerGov | _BusinessPartnerGov | |||
| _WithholdingTaxCode | _WithholdingTaxCode | |||
| _WithholdingTaxType | _WithholdingTaxType | |||
| _ExemptionReason | _ExemptionReason |
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_BPCustomerWhldgTaxGovTP.
-- 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.
CREATE VIEW I_BPCustomerWhldgTaxGovTP AS
SELECT
cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS BusinessPartnerUUID,
cast ( hextobin('00000000000000000000000000000000') as sysuuid_x ) AS CustomerCompanyUUID,
cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS CustomerWithholdingTaxUUID,
MasterDataChangeProcess,
MDChgProcessSrceSystem,
MDChgProcessSrceObject,
CompanyCode,
WithholdingTaxType,
MDChgProcessStep,
CompanyCode AS CompanyCodeForEdit,
WithholdingTaxType AS WithholdingTaxTypeForEdit,
BPAssignmentID,
Customer,
WithholdingTaxCode,
WithholdingTaxAgent,
ObligationDateBegin,
ObligationDateEnd,
WithholdingTaxNumber,
WithholdingTaxCertificate2,
WithholdingTaxExmptPercent,
ExemptionDateBegin,
ExemptionDateEnd,
ExemptionReason,
MasterDataIsCurrent
FROM I_BPCustomerWhldgTaxGov
LEFT OUTER JOIN I_BusinessPartnerGovTP AS _BusinessPartnerGov ON MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess AND BusinessPartnerUUID = _BusinessPartnerGov.BusinessPartnerUUID AND MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject -- association [1..1]
LEFT OUTER JOIN I_BPCustomerGovTP AS _Customer ON MasterDataChangeProcess = _Customer.MasterDataChangeProcess AND BusinessPartnerUUID = _Customer.BusinessPartnerUUID AND MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject -- association [1..1]
LEFT OUTER JOIN I_MasterDataChangeProcess AS _MasterDataChangeProcess ON MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess -- association [0..1]
LEFT OUTER JOIN I_CoCodeWithholdingTaxType AS _WithholdingTaxType ON CompanyCodeForEdit = _WithholdingTaxType.CompanyCode AND WithholdingTaxTypeForEdit = _WithholdingTaxType.WithholdingTaxType -- association [0..1]
LEFT OUTER JOIN I_CoCodeWithholdingTaxCode AS _WithholdingTaxCode ON CompanyCodeForEdit = _WithholdingTaxCode.CompanyCode AND WithholdingTaxTypeForEdit = _WithholdingTaxCode.WithholdingTaxType AND WithholdingTaxCode = _WithholdingTaxCode.WithholdingTaxCode -- association [0..1]
LEFT OUTER JOIN I_CoCodeWhgdTaxExemptionReason AS _ExemptionReason ON CompanyCodeForEdit = _ExemptionReason.CompanyCode AND ExemptionReason = _ExemptionReason.ExemptionReason -- association [0..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