C_ES_StRp190WhldgTaxItemQuery
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)
| Source | Alias | Join Type |
|---|---|---|
| C_ES_StRp190WhldgTaxItemCube | C_ES_StRp190WhldgTaxItemCube | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA