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

C_GB_TaxReturnBoxQuery

DDL: C_GB_TAXRETURNBOXQUERY SQL: CGBSRQTAXITEMTDQ Type: view CONSUMPTION

OBSOLETE GB_RCSL_V2-Rev Charge list Qry

C_GB_TaxReturnBoxQuery is a Consumption CDS View that provides data about "OBSOLETE GB_RCSL_V2-Rev Charge list Qry" in SAP S/4HANA. It reads from 1 data source (C_GB_TaxReturnBoxCube) and exposes 44 fields with key fields CompanyCode, AccountingDocument, FiscalYear, StatryRptgEntity, StatryRptCategory.

Data Sources (1)

SourceAliasJoin Type
C_GB_TaxReturnBoxCube C_GB_TaxReturnBoxCube from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (12)

NameValueLevelField
VDM.viewType #CONSUMPTION view
VDM.lifecycle.status #DEPRECATED view
Analytics.query true view
AbapCatalog.sqlViewName CGBSRQTAXITEMTDQ view
EndUserText.label OBSOLETE GB_RCSL_V2-Rev Charge list Qry view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
KEY TaxCode TaxCode Tax Code
KEY TransactionTypeDetermination TransactionTypeDetermination Transaction Key
KEY TaxBox TaxBox Tax.Bs.Gp.No.
KEY TaxDeclnAmountType TaxDeclnAmountType
KEY TaxItemGroupingVersion TaxItemGroupingVersion Tax Grping Ver.
KEY ValidFrom ValidFrom Vers.Valid From
KEY TaxBoxStructureType TaxBoxStructureType
VATRegistration VATRegistration VAT Registration No.
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
TaxReportingDate TaxReportingDate Tax Reporting Date
FiscalPeriod FiscalPeriod Tax period
ReportingDate ReportingDate
ReportingYear ReportingYear
ReportingMonth ReportingMonth
AccountingDocumentType AccountingDocumentType Journal Entry Type
DocumentReferenceID DocumentReferenceID Reference
CompanyCodeCountry CompanyCodeCountry Reporting Ctry/Reg.
ReportingCountry ReportingCountry
TaxReturnCountry TaxReturnCountry Reporting C/R
ExchangeRate ExchangeRate Exchange rate
TaxRate TaxRate Tax Rate
GLAccount GLAccount General Ledger
BusinessPlace BusinessPlace Business place
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
LowestLevelTaxJurisdiction LowestLevelTaxJurisdiction Jurisdict. Code
TaxNumber1 TaxNumber1 VAT Reg. No.
TaxNumber2 TaxNumber2 Tax Number 2
TaxNumber3 TaxNumber3
BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerName BusinessPartnerName Extracted Customer Name
CustomerSupplierAddress CustomerSupplierAddress
TaxType TaxType Tax Type
TargetTaxCode TargetTaxCode
ReportingCurrency ReportingCurrency Currency
AmountInReportingCurrency AmountInReportingCurrency
DocumentCurrency DocumentCurrency Document Currency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt

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_GB_TaxReturnBoxQuery.
-- 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: CGBSRQTAXITEMTDQ
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id

CREATE VIEW C_GB_TaxReturnBoxQuery AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  TaxCode,
  TransactionTypeDetermination,
  TaxBox,
  TaxDeclnAmountType,
  TaxItemGroupingVersion,
  ValidFrom,
  TaxBoxStructureType,
  VATRegistration,
  PostingDate,
  DocumentDate,
  TaxReportingDate,
  FiscalPeriod,
  ReportingDate,
  ReportingYear,
  ReportingMonth,
  AccountingDocumentType,
  DocumentReferenceID,
  CompanyCodeCountry,
  ReportingCountry,
  TaxReturnCountry,
  ExchangeRate,
  TaxRate,
  GLAccount,
  BusinessPlace,
  TaxJurisdiction,
  LowestLevelTaxJurisdiction,
  TaxNumber1,
  TaxNumber2,
  TaxNumber3,
  BusinessPartner,
  BusinessPartnerName,
  CustomerSupplierAddress,
  TaxType,
  TargetTaxCode,
  ReportingCurrency,
  AmountInReportingCurrency,
  DocumentCurrency,
  AmountInTransactionCurrency
FROM C_GB_TaxReturnBoxCube
;