I_BusinessPartnerCustWhdgTaxTP

DDL: I_BUSINESSPARTNERCUSTWHDGTAXTP SQL: IBUPACUSTWHTTP Type: view TRANSACTIONAL

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)

SourceAliasJoin Type
I_BusinessPartnerCustWhdgTax BusinessPartnerCustWhdgTax from

Associations (2)

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

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

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