Deprecated
This CDS view is deprecated in S/4HANA. Use C_ES_TaxReturnBoxQuery instead. View all deprecated CDS views →

C_ES_StRpVATRetTaxItem

DDL: C_ES_STRPVATRETTAXITEM SQL: CSRESTAXITEMRN Type: view CONSUMPTION

Reported and Non Reported Items for Modelo 303 Spain

C_ES_StRpVATRetTaxItem is a Consumption CDS View that provides data about "Reported and Non Reported Items for Modelo 303 Spain" in SAP S/4HANA. It reads from 1 data source (I_ES_StRpVATRetTaxItemCube) and exposes 16 fields with key fields CompanyCode, AccountingDocument, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_ES_StRpVATRetTaxItemCube I_ES_StRpVATRetTaxItemCube from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSRESTAXITEMRN view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Reported and Non Reported Items for Modelo 303 Spain view
AbapCatalog.preserveKey true view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor C_ES_TaxReturnBoxQuery view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
TaxItem TaxItem Tax Item
TaxCode TaxCode Tax Code
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
TaxBox TaxBox Tax.Bs.Gp.No.
TaxDeclnAmountType TaxDeclnAmountType
TaxItemGroupingVersion TaxItemGroupingVersion Tax Grping Ver.
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
TaxReportingDate TaxReportingDate Tax Reporting Date
ReportingDate ReportingDate
StatryRptgEntity
StatryRptCategory
StatryRptRunID

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_StRpVATRetTaxItem.
-- 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.
-- SQL view name: CSRESTAXITEMRN
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id

CREATE VIEW C_ES_StRpVATRetTaxItem AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  TaxItem,
  TaxCode,
  TransactionTypeDetermination,
  TaxBox,
  TaxDeclnAmountType,
  TaxItemGroupingVersion,
  PostingDate,
  DocumentDate,
  TaxReportingDate,
  ReportingDate,
  $parameters.P_StatryRptgEntity AS StatryRptgEntity,
  $parameters.P_StatryRptCategory AS StatryRptCategory,
  $parameters.P_StatryRptRunID AS StatryRptRunID
FROM I_ES_StRpVATRetTaxItemCube
;