I_BPCustomerWhldgTaxGovTP

DDL: I_BPCUSTOMERWHLDGTAXGOVTP Type: view_entity TRANSACTIONAL

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)

SourceAliasJoin Type
I_BPCustomerWhldgTaxGov I_BPCustomerWhldgTaxGov from

Associations (6)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;