P_NZ_StRpTaxReturnBox

DDL: P_NZ_STRPTAXRETURNBOX SQL: PNZSRTAXRETBOX Type: view COMPOSITE Package: GLO_FIN_IS_VAT_NZ

New Zealand specific base view for TaxBox Reporting

P_NZ_StRpTaxReturnBox is a Composite CDS View that provides data about "New Zealand specific base view for TaxBox Reporting" in SAP S/4HANA. It reads from 1 data source (I_StRpTaxReturnBoxCube) and exposes 18 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem, TaxCode. Part of development package GLO_FIN_IS_VAT_NZ.

Data Sources (1)

SourceAliasJoin Type
I_StRpTaxReturnBoxCube I_StRpTaxReturnBoxCube from

Parameters (6)

NameTypeDefault
P_FromReportingDate figen_rep_date_from
P_ToReportingDate figen_rep_date_to
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id
P_ReportingCountry land1

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PNZSRTAXRETBOX view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label New Zealand specific base view for TaxBox Reporting view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.preserveKey true view
VDM.private true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY TaxItem TaxItem Tax Item
KEY TaxCode TaxCode Tax Code
KEY TransactionTypeDetermination TransactionTypeDetermination Transaction Key
KEY TaxBox TaxBox Tax.Bs.Gp.No.
KEY Country Country Venue: Ctry/Reg
KEY TaxDeclnAmountType TaxDeclnAmountType
KEY ValidFrom ValidFrom Vers.Valid From
keyUnifiedTaxBoxStructureType
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
TaxType TaxType Tax Type
DebitCreditCode DebitCreditCode Single-Character Flag
ReportingCountry ReportingCountry
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_NZ_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: PNZSRTAXRETBOX
-- Parameters: P_FromReportingDate : figen_rep_date_from, P_ToReportingDate : figen_rep_date_to, P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_ReportingCountry : land1

CREATE VIEW P_NZ_StRpTaxReturnBox AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  TaxItem,
  TaxCode,
  TransactionTypeDetermination,
  TaxBox,
  Country,
  TaxDeclnAmountType,
  ValidFrom,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  TaxType,
  DebitCreditCode,
  ReportingCountry,
  ReportingCurrency
FROM I_StRpTaxReturnBoxCube
;