P_RU_StRpJournalEntryLogRun
P_RU_StRpJournalEntryLogRun is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_RU_StRpJournalEntryLog, I_StRpRepRun) and exposes 14 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_RU_StRpJournalEntryLog | ProcessedDocs | from |
| I_StRpRepRun | ReportRuns | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_RU_STRPJOURNALENTRYLOG",
"I_STRPREPRUN"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA