R_CustomerWithHoldingTaxDraft

DDL: R_CUSTOMERWITHHOLDINGTAXDRAFT Type: view_entity BASIC Package: VDM_MD_BP_RAP

Customer With Holding Tax - Draft

R_CustomerWithHoldingTaxDraft is a Basic CDS View that provides data about "Customer With Holding Tax - Draft" in SAP S/4HANA. It reads from 1 data source (cust_wth_tax) and exposes 32 fields with key fields BusinessPartner, CompanyCode, WithholdingTaxType, Customer, DraftUUID. Part of development package VDM_MD_BP_RAP.

Data Sources (1)

SourceAliasJoin Type
cust_wth_tax cust_wth_tax from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Customer With Holding Tax - Draft view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner businesspartner Issuing Authority
KEY CompanyCode companycode Receiver Company Code
KEY WithholdingTaxType withholdingtaxtype WTax Type
KEY Customer customer Sold-to Party
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
WithholdingTaxTypeForEdit withholdingtaxtypeforedit WTax Type
CompanyCodeForEdit companycodeforedit Company Code
BusinessPartnerForEdit businesspartnerforedit Busn. Partner
CountryCode countrycode Country/Reg.
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
BPHasActiveEntity bphasactiveentity Is active
BPCustomerDraftUUID buspartcustomerdraftuuid Draft Document ID
BusinessPartnerDraftUUID businesspartnerdraftuuid Draft Document ID
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
CustomerCompanyAuthznGroup customercompanyauthzngroup Authorization
AuthorizationGroup authorizationgroup AuthorizGroup
IsBusinessPurposeCompleted isbusinesspurposecompleted Purpose Completed
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes

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 R_CustomerWithHoldingTaxDraft.
-- 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 R_CustomerWithHoldingTaxDraft AS
SELECT
  BusinessPartner,
  CompanyCode,
  WithholdingTaxType,
  Customer,
  DraftUUID,
  ParentDraftUUID,
  WithholdingTaxTypeForEdit,
  CompanyCodeForEdit,
  BusinessPartnerForEdit,
  CountryCode,
  WithholdingTaxCode,
  WithholdingTaxAgent,
  ObligationDateBegin,
  ObligationDateEnd,
  WithholdingTaxNumber,
  WithholdingTaxCertificate2,
  WithholdingTaxExmptPercent,
  ExemptionDateBegin,
  ExemptionDateEnd,
  ExemptionReason,
  BPHasActiveEntity,
  buspartcustomerdraftuuid AS BPCustomerDraftUUID,
  BusinessPartnerDraftUUID,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  CustomerCompanyAuthznGroup,
  AuthorizationGroup,
  IsBusinessPurposeCompleted,
  HasActiveEntity,
  DraftFieldChanges
FROM cust_wth_tax
;