P_RU_StRpJournalEntryLogStat
P_RU_StRpJournalEntryLogStat is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_RU_StRpJournalEntryLogStat1, P_RU_StRpRepRun) and exposes 14 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_RU_StRpJournalEntryLogStat1 | doc_log | from |
| P_RU_StRpRepRun | run | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | PRUSRJRNLENTRLS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| StatryRptgEntity | P_RU_StRpJournalEntryLogStat1 | StatryRptgEntity | Reporting Entity | |
| StatryRptCategory | P_RU_StRpJournalEntryLogStat1 | StatryRptCategory | Report ID | |
| StatryRptRunID | P_RU_StRpJournalEntryLogStat1 | StatryRptRunID | Report Run ID | |
| CompanyCode | P_RU_StRpJournalEntryLogStat1 | CompanyCode | Receiver Company Code | |
| RU_VATReturnSectionType | P_RU_StRpJournalEntryLogStat1 | RU_VATReturnSectionType | Section Type | |
| TotalItem | P_RU_StRpJournalEntryLogStat1 | TotalItem | ||
| StatryRptRunStatus | P_RU_StRpRepRun | StatryRptRunStatus | ||
| StatryRptRunCreatedByUser | P_RU_StRpRepRun | StatryRptRunCreatedByUser | ||
| GeneratedOn | ||||
| GeneratedAt32asGeneratedAt | ||||
| StatryRptCatPhase | P_RU_StRpRepRun | StatryRptCatPhase | ||
| StatryRptDef | P_RU_StRpRepRun | StatryRptDef | ||
| Period | P_RU_StRpRepRun | Period | Tax Period | |
| StatryRptRunUUID | P_RU_StRpRepRun | StatryRptRunUUID |
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_StRpJournalEntryLogStat.
-- 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: PRUSRJRNLENTRLS
CREATE VIEW P_RU_StRpJournalEntryLogStat AS
SELECT
doc_log.StatryRptgEntity AS StatryRptgEntity,
doc_log.StatryRptCategory AS StatryRptCategory,
doc_log.StatryRptRunID AS StatryRptRunID,
doc_log.CompanyCode AS CompanyCode,
doc_log.RU_VATReturnSectionType AS RU_VATReturnSectionType,
doc_log.TotalItem AS TotalItem,
run.StatryRptRunStatus AS StatryRptRunStatus,
run.StatryRptRunCreatedByUser AS StatryRptRunCreatedByUser,
cast( run.GeneratedOn as dats preserving type ) AS GeneratedOn,
concat(concat(concat(substring(run.GeneratedAt, 1, 2), ':'), concat(substring(run.GeneratedAt, 3, 2), ':')), substring(run.GeneratedAt, 3, 2)) as GeneratedAt AS GeneratedAt32asGeneratedAt,
run.StatryRptCatPhase AS StatryRptCatPhase,
run.StatryRptDef AS StatryRptDef,
run.Period AS Period,
run.StatryRptRunUUID AS StatryRptRunUUID
FROM P_RU_StRpJournalEntryLogStat1 AS doc_log
INNER JOIN P_RU_StRpRepRun AS run ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA