P_RU_DSVATReportingExclSubmd

DDL: P_RU_DSVATREPORTINGEXCLSUBMD SQL: PRUDSVATRPTGEXS Type: view CONSUMPTION

P_RU_DSVATReportingExclSubmd is a Consumption CDS View in SAP S/4HANA. It reads from 3 data sources (I_StRpRepRun, I_RU_StRpJournalEntryLog, I_StRpRepRun) and exposes 12 fields.

Data Sources (3)

SourceAliasJoin Type
I_StRpRepRun CurrentRun from
I_RU_StRpJournalEntryLog SubmittedDoc inner
I_StRpRepRun SubmittedRun inner

Annotations (6)

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

Fields (12)

KeyFieldSource TableSource FieldDescription
CompanyCode I_RU_StRpJournalEntryLog CompanyCode Receiver Company Code
AccountingDocument I_RU_StRpJournalEntryLog AccountingDocument Journal Entry
FiscalYear I_RU_StRpJournalEntryLog FiscalYear G/L Fiscal Year
TaxItem I_RU_StRpJournalEntryLog TaxItem Tax Item
RevisionNumber I_RU_StRpJournalEntryLog RevisionNumber Revision Number
RU_VATReturnSectionType I_RU_StRpJournalEntryLog RU_VATReturnSectionType Section Type
StatryRptgEntity I_StRpRepRun StatryRptgEntity Reporting Entity
StatryRptCategory I_StRpRepRun StatryRptCategory Report ID
SubmittedStatryRptRunID I_StRpRepRun StatryRptRunID Report Run ID
SubmittedStatryRptRunType I_StRpRepRun StatryRptRunType Report Run Type
CurrentStatryRptRunID I_StRpRepRun StatryRptRunID Report Run ID
CurrentStatryRptRunType I_StRpRepRun StatryRptRunType Report Run Type

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_DSVATReportingExclSubmd.
-- 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: PRUDSVATRPTGEXS

CREATE VIEW P_RU_DSVATReportingExclSubmd AS
SELECT
  SubmittedDoc.CompanyCode AS CompanyCode,
  SubmittedDoc.AccountingDocument AS AccountingDocument,
  SubmittedDoc.FiscalYear AS FiscalYear,
  SubmittedDoc.TaxItem AS TaxItem,
  SubmittedDoc.RevisionNumber AS RevisionNumber,
  SubmittedDoc.RU_VATReturnSectionType AS RU_VATReturnSectionType,
  SubmittedRun.StatryRptgEntity AS StatryRptgEntity,
  SubmittedRun.StatryRptCategory AS StatryRptCategory,
  SubmittedRun.StatryRptRunID AS SubmittedStatryRptRunID,
  SubmittedRun.StatryRptRunType AS SubmittedStatryRptRunType,
  CurrentRun.StatryRptRunID AS CurrentStatryRptRunID,
  CurrentRun.StatryRptRunType AS CurrentStatryRptRunType
FROM I_StRpRepRun AS CurrentRun
INNER JOIN I_StRpRepRun AS SubmittedRun ON /* join condition not captured in parsed metadata */
INNER JOIN I_RU_StRpJournalEntryLog AS SubmittedDoc ON /* join condition not captured in parsed metadata */
;