C_ES_StRpWhldgTaxItemQuery

DDL: C_ES_STRPWHLDGTAXITEMQUERY Type: view_entity CONSUMPTION

Withholding Tax Item For Statutory Reporting Spain

C_ES_StRpWhldgTaxItemQuery is a Consumption CDS View that provides data about "Withholding Tax Item For Statutory Reporting Spain" in SAP S/4HANA. It reads from 1 data source (I_ES_StRpWhldgTaxItem) and exposes 50 fields with key fields CompanyCode, WhldgTaxReferenceText, FiscalYear, AccountingDocumentItem, WithholdingTaxType.

Data Sources (1)

SourceAliasJoin Type
I_ES_StRpWhldgTaxItem I_ES_StRpWhldgTaxItem from

Annotations (8)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.query true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
EndUserText.label Withholding Tax Item For Statutory Reporting Spain view

Fields (50)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY WhldgTaxReferenceText WhldgTaxReferenceText
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
KEY ES_WhldgReportType ES_WhldgReportType
KEY WithholdingTaxCode WithholdingTaxCode WTax Code
KEY AccountingDocument AccountingDocument Journal Entry
SupplierRecipientType SupplierRecipientType
Country Country Venue: Ctry/Reg
FinancialAccountType FinancialAccountType Fin. Account Type
ItemIsReportingRelevant ItemIsReportingRelevant Item Reporting Relv
WhldgTaxDocumentType WhldgTaxDocumentType 3-Byte field
OpenInvoiceSelection OpenInvoiceSelection
Debtor Debtor Debtor
Creditor Creditor Supplier
BusinessPartnerNumber BusinessPartnerNumber
PostingDate PostingDate Posting Date
DocumentDate DocumentDate Document Date
ReportingDate ReportingDate
IsReversed IsReversed Reversed?
IsReversal IsReversal Reversal doc.
ReportingCurrency ReportingCurrency Currency
WhldgTaxExmptAmtInCoCodeCrcy WhldgTaxExmptAmtInCoCodeCrcy
WhldgTaxExmptAmtInTransacCrcy WhldgTaxExmptAmtInTransacCrcy
WhldgTaxAmtInCoCodeCrcy WhldgTaxAmtInCoCodeCrcy
WhldgTaxBaseAmtInCoCodeCrcy WhldgTaxBaseAmtInCoCodeCrcy
WithholdingTaxPercent WithholdingTaxPercent
WithholdingTaxIncomeType WithholdingTaxIncomeType
EsIncTypeClassfctn EsIncTypeClassfctn
TaxNumber1 TaxNumber1 VAT Reg. No.
IsNaturalPerson IsNaturalPerson Natural person
SupplierFullName SupplierFullName Supplier Full Name
SupplierName SupplierName Supplier Name
SupplierAddress SupplierAddress 3rd Party Suplr Addr
AddressText AddressText Notes
FiscalAddress FiscalAddress Fiscal address
CustomerSupplierCityName CustomerSupplierCityName
CustomerSupplierPostalCode CustomerSupplierPostalCode
RegionName RegionName Description
Region Region Venue Region
BusinessPartnerCountry BusinessPartnerCountry BP Ctry/Reg.
VATRegistration VATRegistration Company Code VAT Registration Number
CompanyCodeName CompanyCodeName Company Code Name
ClearingAccountingDocument ClearingAccountingDocument Clearing Journal Entry
ClearingDate ClearingDate Clearing Date
SpecialGLCode SpecialGLCode Special G/L Ind

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_ES_StRpWhldgTaxItemQuery.
-- 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_ES_StRpWhldgTaxItemQuery AS
SELECT
  CompanyCode,
  WhldgTaxReferenceText,
  FiscalYear,
  AccountingDocumentItem,
  WithholdingTaxType,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  ES_WhldgReportType,
  WithholdingTaxCode,
  AccountingDocument,
  SupplierRecipientType,
  Country,
  FinancialAccountType,
  ItemIsReportingRelevant,
  WhldgTaxDocumentType,
  OpenInvoiceSelection,
  Debtor,
  Creditor,
  BusinessPartnerNumber,
  PostingDate,
  DocumentDate,
  ReportingDate,
  IsReversed,
  IsReversal,
  ReportingCurrency,
  WhldgTaxExmptAmtInCoCodeCrcy,
  WhldgTaxExmptAmtInTransacCrcy,
  WhldgTaxAmtInCoCodeCrcy,
  WhldgTaxBaseAmtInCoCodeCrcy,
  WithholdingTaxPercent,
  WithholdingTaxIncomeType,
  EsIncTypeClassfctn,
  TaxNumber1,
  IsNaturalPerson,
  SupplierFullName,
  SupplierName,
  SupplierAddress,
  AddressText,
  FiscalAddress,
  CustomerSupplierCityName,
  CustomerSupplierPostalCode,
  RegionName,
  Region,
  BusinessPartnerCountry,
  VATRegistration,
  CompanyCodeName,
  ClearingAccountingDocument,
  ClearingDate,
  SpecialGLCode
FROM I_ES_StRpWhldgTaxItem
;