C_StRpWithholdingTaxItemQuery

DDL: C_STRPWITHHOLDINGTAXITEMQUERY Type: view_entity CONSUMPTION

Withholding Tax Item Query

C_StRpWithholdingTaxItemQuery is a Consumption CDS View that provides data about "Withholding Tax Item Query" in SAP S/4HANA. It reads from 1 data source (I_StRpWhldgTaxItem) and exposes 107 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem, WithholdingTaxType.

Data Sources (1)

SourceAliasJoin Type
I_StRpWhldgTaxItem I_StRpWhldgTaxItem from

Annotations (9)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_ALLOWED view
Analytics.query true view
Analytics.technicalName CSRWHLDGTXITMQ view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Withholding Tax Item Query view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view

Fields (107)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
KEY WithholdingTaxType WithholdingTaxType WTax Type
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
WithholdingTaxCode WithholdingTaxCode WTax Code
OfficialWhldgTaxCode OfficialWhldgTaxCode
Country Country Venue: Ctry/Reg
BusinessPlace BusinessPlace Business place
BusinessArea BusinessArea Business Area
TaxSection TaxSection Tax Section
FinancialAccountType FinancialAccountType Fin. Account Type
Debtor Debtor Debtor
Creditor Creditor Supplier
CustomerName CustomerName Name of Customer
BPCustomerName BPCustomerName Name of Customer
BusinessPartner BusinessPartner Customer/Supplier
FiscalPeriod FiscalPeriod Tax period
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
ReportingDate ReportingDate
WithholdingTaxReportingDate WithholdingTaxReportingDate Withholding Tax Reporting Date
ClearingDate ClearingDate Clearing Date
ClearingAccountingDocument ClearingAccountingDocument Clearing Journal Entry
ClearingJournalEntry ClearingJournalEntry Clrng doc.
PostingKey PostingKey Posting Key
AccountingDocumentType AccountingDocumentType Journal Entry Type
DocumentReferenceID DocumentReferenceID Reference
SpecialGLCode SpecialGLCode Special G/L Ind
SpecialGLTransactionType SpecialGLTransactionType Transact.Type
IsReversed IsReversed Reversed?
IsReversal IsReversal Reversal doc.
ReverseDocument ReverseDocument Reversed With
ReportingCurrency ReportingCurrency Currency
TransactionCurrency TransactionCurrency Transaction Currency
AdditionalCurrency1 AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 AdditionalCurrency2 Local curr. 3
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
AmountInAdditionalCurrency1 AmountInAdditionalCurrency1 Amount in Additional Currency 1
AmountInAdditionalCurrency2 AmountInAdditionalCurrency2 LC2 Amount
TaxAmountInCoCodeCrcy TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TaxAmount TaxAmount Tax Amt in Rptg Crcy
TaxAmountInAdditionalCurrency1 TaxAmountInAdditionalCurrency1 LC 2 Tax
TaxAmountInAdditionalCurrency2 TaxAmountInAdditionalCurrency2 LC 3 Tax
WhldgTaxBaseAmtInCoCodeCrcy WhldgTaxBaseAmtInCoCodeCrcy With. Tax Base in Company Code Currency
WhldgTaxBaseAmtInAddlCrcy2 WhldgTaxBaseAmtInAddlCrcy2 With. Tax Base in Additional Currency 2
WhldgTaxBaseAmtInAddlCrcy3 WhldgTaxBaseAmtInAddlCrcy3 With. Tax Base in Additional Currency 3
WhldgTaxBaseAmtInTransacCrcy WhldgTaxBaseAmtInTransacCrcy With. Tax Base in Transaction Currency
WhldgTaxAmtInCoCodeCrcy WhldgTaxAmtInCoCodeCrcy With. Tax Amt. in Company Code Currency
WhldgTaxAmtInAddlCrcy2 WhldgTaxAmtInAddlCrcy2 With. Tax Amt. in Additional Currency 2
WhldgTaxAmtInAddlCrcy3 WhldgTaxAmtInAddlCrcy3 With. Tax Amt. in Additional Currency 3
WhldgTaxDeductedNetAmount WhldgTaxDeductedNetAmount With. Tax Net Deducted Amount
WhldgTaxAmtInTransacCrcy WhldgTaxAmtInTransacCrcy With. Tax Amt. in Transaction Currency
WhldgTaxBaseIsEnteredManually WhldgTaxBaseIsEnteredManually
WhldgTaxIsEnteredManually WhldgTaxIsEnteredManually
WhldgTaxItemStatus WhldgTaxItemStatus
WhldgTaxExmptAmtInCoCodeCrcy WhldgTaxExmptAmtInCoCodeCrcy
WhldgTaxExmptAmtInTransacCrcy WhldgTaxExmptAmtInTransacCrcy
WhldgTaxExmptAmtInAddlCrcy2 WhldgTaxExmptAmtInAddlCrcy2
WhldgTaxExmptAmtInAddlCrcy3 WhldgTaxExmptAmtInAddlCrcy3
WhldgTaxExmptCertificate WhldgTaxExmptCertificate Exemption Number
GLAccount GLAccount General Ledger
SupplierRecipientType SupplierRecipientType
WithholdingTaxExmptPercent WithholdingTaxExmptPercent Exemption Rate
WithholdingTaxPercent WithholdingTaxPercent
IsSelfWhldgTax IsSelfWhldgTax
IsGrossingUp IsGrossingUp
WithholdingTaxCertificate WithholdingTaxCertificate WHT Certificate
WhldgTaxCertDate WhldgTaxCertDate
WithholdingTaxIncomeType WithholdingTaxIncomeType
WhldgTaxDocumentType WhldgTaxDocumentType Withholding Tax Document Type
Name Name Name
BusinessPartnerName BusinessPartnerName Business Partner Name
TaxNumber1 TaxNumber1 Tax Number 1
TaxNumber2 TaxNumber2 Tax Number 2
TaxNumber3 TaxNumber3 Tax Number 3
TaxNumber4 TaxNumber4 Tax Number 4
TaxNumber5 TaxNumber5 Tax Number 5
VATRegistration VATRegistration VAT Registration No.
TaxNumberType TaxNumberType Tax number type
PostalCode PostalCode Postal Code
CityName CityName City Name
StreetName StreetName Street Name
HouseNumber HouseNumber House Number
HouseNumberSupplementText HouseNumberSupplementText House Number Supplement
OrganizationBPName1 OrganizationBPName1 Organization BP Name 1
OrganizationBPName2 OrganizationBPName2 Organization BP Name 2
SearchTerm1 SearchTerm1 Search Term
OrganizationFoundationDate OrganizationFoundationDate Organization Foundation Date
POBoxPostalCode POBoxPostalCode PO Box Postal Code
POBox POBox PO Box
Region Region Region
BusinessPartnerCountry BusinessPartnerCountry Business Partner Country/Region
PaymentIsNotified PaymentIsNotified Payment is Notified
DocumentItemText DocumentItemText Text
Language Language Report Text Language
IsNaturalPerson IsNaturalPerson Natural person
EmailAddress EmailAddress E-Mail Address
ItemIsReportingRelevant ItemIsReportingRelevant Item Is Reporting Relevant
TaxItemIsZeroRated TaxItemIsZeroRated Tax Item Is Zero Rated
BusinessPartnerNumber BusinessPartnerNumber
AbsoluteExchangeRate AbsoluteExchangeRate Absolute Exchange Rate
ExchangeRateType ExchangeRateType Exch. Rate Type

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 C_StRpWithholdingTaxItemQuery.
-- 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 C_StRpWithholdingTaxItemQuery AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  AccountingDocumentItem,
  WithholdingTaxType,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  WithholdingTaxCode,
  OfficialWhldgTaxCode,
  Country,
  BusinessPlace,
  BusinessArea,
  TaxSection,
  FinancialAccountType,
  Debtor,
  Creditor,
  CustomerName,
  BPCustomerName,
  BusinessPartner,
  FiscalPeriod,
  PostingDate,
  DocumentDate,
  ReportingDate,
  WithholdingTaxReportingDate,
  ClearingDate,
  ClearingAccountingDocument,
  ClearingJournalEntry,
  PostingKey,
  AccountingDocumentType,
  DocumentReferenceID,
  SpecialGLCode,
  SpecialGLTransactionType,
  IsReversed,
  IsReversal,
  ReverseDocument,
  ReportingCurrency,
  TransactionCurrency,
  AdditionalCurrency1,
  AdditionalCurrency2,
  AmountInCompanyCodeCurrency,
  AmountInTransactionCurrency,
  AmountInAdditionalCurrency1,
  AmountInAdditionalCurrency2,
  TaxAmountInCoCodeCrcy,
  TaxAmount,
  TaxAmountInAdditionalCurrency1,
  TaxAmountInAdditionalCurrency2,
  WhldgTaxBaseAmtInCoCodeCrcy,
  WhldgTaxBaseAmtInAddlCrcy2,
  WhldgTaxBaseAmtInAddlCrcy3,
  WhldgTaxBaseAmtInTransacCrcy,
  WhldgTaxAmtInCoCodeCrcy,
  WhldgTaxAmtInAddlCrcy2,
  WhldgTaxAmtInAddlCrcy3,
  WhldgTaxDeductedNetAmount,
  WhldgTaxAmtInTransacCrcy,
  WhldgTaxBaseIsEnteredManually,
  WhldgTaxIsEnteredManually,
  WhldgTaxItemStatus,
  WhldgTaxExmptAmtInCoCodeCrcy,
  WhldgTaxExmptAmtInTransacCrcy,
  WhldgTaxExmptAmtInAddlCrcy2,
  WhldgTaxExmptAmtInAddlCrcy3,
  WhldgTaxExmptCertificate,
  GLAccount,
  SupplierRecipientType,
  WithholdingTaxExmptPercent,
  WithholdingTaxPercent,
  IsSelfWhldgTax,
  IsGrossingUp,
  WithholdingTaxCertificate,
  WhldgTaxCertDate,
  WithholdingTaxIncomeType,
  WhldgTaxDocumentType,
  Name,
  BusinessPartnerName,
  TaxNumber1,
  TaxNumber2,
  TaxNumber3,
  TaxNumber4,
  TaxNumber5,
  VATRegistration,
  TaxNumberType,
  PostalCode,
  CityName,
  StreetName,
  HouseNumber,
  HouseNumberSupplementText,
  OrganizationBPName1,
  OrganizationBPName2,
  SearchTerm1,
  OrganizationFoundationDate,
  POBoxPostalCode,
  POBox,
  Region,
  BusinessPartnerCountry,
  PaymentIsNotified,
  DocumentItemText,
  Language,
  IsNaturalPerson,
  EmailAddress,
  ItemIsReportingRelevant,
  TaxItemIsZeroRated,
  BusinessPartnerNumber,
  AbsoluteExchangeRate,
  ExchangeRateType
FROM I_StRpWhldgTaxItem
;