C_ES_StRp190WhldgTaxItemQuery

DDL: C_ES_STRP190WHLDGTAXITEMQUERY Type: view_entity CONSUMPTION

Spain Modelo-190 Wth Tax Itm View-Query

C_ES_StRp190WhldgTaxItemQuery is a Consumption CDS View that provides data about "Spain Modelo-190 Wth Tax Itm View-Query" in SAP S/4HANA. It reads from 1 data source (C_ES_StRp190WhldgTaxItemCube) and exposes 68 fields with key fields CompanyCode, Supplier, BPTaxNumber, WhldgTaxReferenceText, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
C_ES_StRp190WhldgTaxItemCube C_ES_StRp190WhldgTaxItemCube from

Parameters (4)

NameTypeDefault
P_ES_01TurnoverPercent fiwt_es_ar_turnover
P_ES_31TurnoverPercent fiwt_es_na_turnover
P_ES_20TurnoverPercent fiwt_es_gi_turnover
P_ES_48TurnoverPercent fiwt_es_bi_turnover

Annotations (9)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.query true view
Analytics.technicalName CES190GWHLDGQ 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 Spain Modelo-190 Wth Tax Itm View-Query view

Fields (68)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY Supplier Supplier Supplier
KEY BPTaxNumber BPTaxNumber Supplier Tax Number
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 PostingDate PostingDate Posting Date
KEY ES_ServiceRenderedRegion ES_ServiceRenderedRegion Service Rendered Region
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
ProvincialTaxCode ProvincialTaxCode Provincial Tax Code
Debtor Debtor Debtor
Creditor Creditor Supplier
BusinessPartnerNumber BusinessPartnerNumber
ReportingDate ReportingDate
Language Language Report Text Language
IsReversed IsReversed Reversed?
IsReversal IsReversal Reversal doc.
ReportingCurrency ReportingCurrency Currency
WhldgTaxExmptAmtInCoCodeCrcy WhldgTaxExmptAmtInCoCodeCrcy
WhldgTaxExmptAmtInTransacCrcy WhldgTaxExmptAmtInTransacCrcy
WhldgTaxAmtInCoCodeCrcy WhldgTaxAmtInCoCodeCrcy
WhldgTaxBaseAmtInCoCodeCrcy WhldgTaxBaseAmtInCoCodeCrcy
MntryWHTTaxAmtInCoCodeCrcy MntryWHTTaxAmtInCoCodeCrcy
MntryWHTTaxBaseAmtInCCCrcy MntryWHTTaxBaseAmtInCCCrcy
InkindWHTTaxAmtInCCCrcy InkindWHTTaxAmtInCCCrcy
InkindWHTTaxBaseAmtInCCCrcy InkindWHTTaxBaseAmtInCCCrcy
ES_01WhldgTaxAmtInCoCodeCrcy ES_01WhldgTaxAmtInCoCodeCrcy
ES_20WhldgTaxAmtInCoCodeCrcy ES_20WhldgTaxAmtInCoCodeCrcy
ES_48WhldgTaxAmtInCoCodeCrcy ES_48WhldgTaxAmtInCoCodeCrcy
ES_31WhldgTaxAmtInCoCodeCrcy ES_31WhldgTaxAmtInCoCodeCrcy
ES_ComWhldgTaxAmtInCoCodeCrcy ES_ComWhldgTaxAmtInCoCodeCrcy
WithholdingTaxPercent WithholdingTaxPercent
WithholdingTaxIncomeType WithholdingTaxIncomeType
ES_IncomeNature ES_IncomeNature
EsIncTypeClassfctn EsIncTypeClassfctn
ES_TaxModel190NumberOfIncomes Number Records of Type 2
FileName FileName URL or Filenam Path
ES_TaxReturnType ES_TaxReturnType
ES_SrvcIsDlvrdInAutonomousCity ES_SrvcIsDlvrdInAutonomousCity Ceuta/Mellila
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
InvoiceReference InvoiceReference Invoice Reference
InvoiceReferenceFiscalYear InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
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_StRp190WhldgTaxItemQuery.
-- 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.
-- Parameters: P_ES_01TurnoverPercent : fiwt_es_ar_turnover, P_ES_31TurnoverPercent : fiwt_es_na_turnover, P_ES_20TurnoverPercent : fiwt_es_gi_turnover, P_ES_48TurnoverPercent : fiwt_es_bi_turnover

CREATE VIEW C_ES_StRp190WhldgTaxItemQuery AS
SELECT
  CompanyCode,
  Supplier,
  BPTaxNumber,
  WhldgTaxReferenceText,
  FiscalYear,
  AccountingDocumentItem,
  WithholdingTaxType,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  ES_WhldgReportType,
  WithholdingTaxCode,
  PostingDate,
  ES_ServiceRenderedRegion,
  AccountingDocument,
  SupplierRecipientType,
  Country,
  FinancialAccountType,
  ItemIsReportingRelevant,
  WhldgTaxDocumentType,
  OpenInvoiceSelection,
  ProvincialTaxCode,
  Debtor,
  Creditor,
  BusinessPartnerNumber,
  ReportingDate,
  Language,
  IsReversed,
  IsReversal,
  ReportingCurrency,
  WhldgTaxExmptAmtInCoCodeCrcy,
  WhldgTaxExmptAmtInTransacCrcy,
  WhldgTaxAmtInCoCodeCrcy,
  WhldgTaxBaseAmtInCoCodeCrcy,
  MntryWHTTaxAmtInCoCodeCrcy,
  MntryWHTTaxBaseAmtInCCCrcy,
  InkindWHTTaxAmtInCCCrcy,
  InkindWHTTaxBaseAmtInCCCrcy,
  ES_01WhldgTaxAmtInCoCodeCrcy,
  ES_20WhldgTaxAmtInCoCodeCrcy,
  ES_48WhldgTaxAmtInCoCodeCrcy,
  ES_31WhldgTaxAmtInCoCodeCrcy,
  ES_ComWhldgTaxAmtInCoCodeCrcy,
  WithholdingTaxPercent,
  WithholdingTaxIncomeType,
  ES_IncomeNature,
  EsIncTypeClassfctn,
  cast(0 as abap.int2) AS ES_TaxModel190NumberOfIncomes,
  FileName,
  ES_TaxReturnType,
  ES_SrvcIsDlvrdInAutonomousCity,
  SupplierFullName,
  SupplierName,
  SupplierAddress,
  AddressText,
  FiscalAddress,
  CustomerSupplierCityName,
  CustomerSupplierPostalCode,
  RegionName,
  Region,
  BusinessPartnerCountry,
  VATRegistration,
  CompanyCodeName,
  InvoiceReference,
  InvoiceReferenceFiscalYear,
  ClearingAccountingDocument,
  ClearingDate,
  SpecialGLCode
FROM C_ES_StRp190WhldgTaxItemCube
;