P_RU_StRpJournalEntryLogRun

DDL: P_RU_STRPJOURNALENTRYLOGRUN SQL: PRUSRJRNLENTRLGR Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

All Reported Documents with Report RUN

P_RU_StRpJournalEntryLogRun is a Consumption CDS View that provides data about "All Reported Documents with Report RUN" in SAP S/4HANA. It reads from 2 data sources (I_RU_StRpJournalEntryLog, I_StRpRepRun) and exposes 14 fields. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (2)

SourceAliasJoin Type
I_RU_StRpJournalEntryLog ProcessedDocs from
I_StRpRepRun ReportRuns inner

Annotations (6)

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

Fields (14)

KeyFieldSource TableSource FieldDescription
CompanyCode I_RU_StRpJournalEntryLog CompanyCode
AccountingDocument I_RU_StRpJournalEntryLog AccountingDocument
FiscalYear I_RU_StRpJournalEntryLog FiscalYear
TaxItem I_RU_StRpJournalEntryLog TaxItem
SourceDocument I_RU_StRpJournalEntryLog SourceDocument
SourceDocumentFiscalYear I_RU_StRpJournalEntryLog SourceDocumentFiscalYear
RevisionNumber I_RU_StRpJournalEntryLog RevisionNumber
RU_VATReturnSectionType I_RU_StRpJournalEntryLog RU_VATReturnSectionType
StatryRptgEntity I_RU_StRpJournalEntryLog StatryRptgEntity
StatryRptCategory I_RU_StRpJournalEntryLog StatryRptCategory
StatryRptRunID I_RU_StRpJournalEntryLog StatryRptRunID
StatryRptTaskUUID I_StRpRepRun StatryRptTaskUUID
StatryRptRunType I_StRpRepRun StatryRptRunType
StatryRptRunStatus I_StRpRepRun StatryRptRunStatus
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'PRUSRJRNLENTRLGR'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
//All reported documents with Report RUNs

define view P_RU_StRpJournalEntryLogRun
  as select from I_RU_StRpJournalEntryLog as ProcessedDocs

    inner join   I_StRpRepRun             as ReportRuns on  ReportRuns.StatryRptgEntity  = ProcessedDocs.StatryRptgEntity
                                                        and ReportRuns.StatryRptCategory = ProcessedDocs.StatryRptCategory
                                                        and ReportRuns.StatryRptRunID    = ProcessedDocs.StatryRptRunID

{
  ProcessedDocs.CompanyCode,
  ProcessedDocs.AccountingDocument,
  ProcessedDocs.FiscalYear,
  ProcessedDocs.TaxItem,

  ProcessedDocs.SourceDocument,
  ProcessedDocs.SourceDocumentFiscalYear,
  ProcessedDocs.RevisionNumber,
  ProcessedDocs.RU_VATReturnSectionType,

  ProcessedDocs.StatryRptgEntity,
  ProcessedDocs.StatryRptCategory,
  ProcessedDocs.StatryRptRunID,
  ReportRuns.StatryRptTaskUUID,
  ReportRuns.StatryRptRunType,
  ReportRuns.StatryRptRunStatus
}