P_ZA_StRpTaxReturnBox

DDL: P_ZA_STRPTAXRETURNBOX SQL: PZASTRPTXBOX1 Type: view COMPOSITE

P_ZA_StRpTaxReturnBox is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_StRpTaxReturnBoxCube) and exposes 10 fields with key fields CompanyCode, StatryRptgEntity, StatryRptCategory, StatryRptRunID, TaxDeclnAmountType.

Data Sources (1)

SourceAliasJoin Type
I_StRpTaxReturnBoxCube I_StRpTaxReturnBoxCube from

Parameters (4)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id
P_ReportingCountry land1

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PZASTRPTXBOX1 view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
KEY TaxDeclnAmountType TaxDeclnAmountType
KEY TaxItemGroupingVersion TaxItemGroupingVersion Tax Grping Ver.
KEY TaxBoxStructure TaxBoxStructure
TaxBox TaxBox Tax.Bs.Gp.No.
TaxRate Tax Rate
ReportingCurrency ReportingCurrency Currency

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 P_ZA_StRpTaxReturnBox.
-- 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: PZASTRPTXBOX1
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_ReportingCountry : land1

CREATE VIEW P_ZA_StRpTaxReturnBox AS
SELECT
  CompanyCode,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  TaxDeclnAmountType,
  TaxItemGroupingVersion,
  TaxBoxStructure,
  TaxBox,
  cast (TaxRate as fiza_tax_rate) AS TaxRate,
  ReportingCurrency
FROM I_StRpTaxReturnBoxCube
;