P_RU_VATSamePrdReverseDocument

DDL: P_RU_VATSAMEPRDREVERSEDOCUMENT SQL: PRUVATSPREVDOC Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

Reverse documents in the same period

P_RU_VATSamePrdReverseDocument is a Consumption CDS View that provides data about "Reverse documents in the same period" in SAP S/4HANA. It reads from 1 data source (I_RU_ReverseDocuments) and exposes 7 fields. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (1)

SourceAliasJoin Type
I_RU_ReverseDocuments I_RU_ReverseDocuments from

Parameters (2)

NameTypeDefault
P_ReportingPeriodStartDate datum
P_ReportingPeriodEndDate datum

Annotations (6)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PRUVATSPREVDOC view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (7)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
AccountingDocument AccountingDocument Journal Entry
FiscalYear FiscalYear G/L Fiscal Year
TaxReportingDate TaxReportingDate Tax Reporting Date
ReverseDocument ReverseDocument Reversed With
ReverseDocumentFiscalYear ReverseDocumentFiscalYear Year
ReverseDocTaxReportingDate ReverseDocTaxReportingDate Tax Reporting Date

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_RU_VATSamePrdReverseDocument.
-- 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: PRUVATSPREVDOC
-- Parameters: P_ReportingPeriodStartDate : datum, P_ReportingPeriodEndDate : datum

CREATE VIEW P_RU_VATSamePrdReverseDocument AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  TaxReportingDate,
  ReverseDocument,
  ReverseDocumentFiscalYear,
  ReverseDocTaxReportingDate
FROM I_RU_ReverseDocuments
;