P_SG_STRPRUNLOG2
Get Report Run Log
P_SG_STRPRUNLOG2 is a Composite CDS View that provides data about "Get Report Run Log" in SAP S/4HANA. It reads from 2 data sources (I_StRpRepRun, I_StRpTaskDetails) and exposes 6 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID. Part of development package GLO_FIN_IS_VAT_SG.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpRepRun | _StRpRepRun | from |
| I_StRpTaskDetails | _StRpTaskDetails | inner |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptgEntity | I_StRpTaskDetails | StatryRptgEntity | |
| KEY | StatryRptCategory | I_StRpTaskDetails | StatryRptCategory | |
| KEY | StatryRptRunID | |||
| StatryRptRunStatus | I_StRpRepRun | StatryRptRunStatus | ||
| ReportingYear | I_StRpTaskDetails | ReportingYear | ||
| StatryRptTaskPeriod | I_StRpTaskDetails | StatryRptTaskPeriod |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM: {private: true, viewType: #COMPOSITE}
define view entity P_SG_STRPRUNLOG2
as select from I_StRpRepRun as _StRpRepRun
inner join I_StRpTaskDetails as _StRpTaskDetails on(
_StRpRepRun.StatryRptTaskUUID = _StRpTaskDetails.StatryRptTaskUUID
)
{
key _StRpTaskDetails.StatryRptgEntity as StatryRptgEntity,
key _StRpTaskDetails.StatryRptCategory as StatryRptCategory,
key max(_StRpRepRun.StatryRptRunID) as StatryRptRunID,
_StRpRepRun.StatryRptRunStatus,
_StRpTaskDetails.ReportingYear,
_StRpTaskDetails.StatryRptTaskPeriod
}
where _StRpRepRun.StatryRptRunStatus = 'SOK'
group by _StRpTaskDetails.StatryRptgEntity , _StRpTaskDetails.StatryRptCategory, _StRpRepRun.StatryRptRunStatus, _StRpTaskDetails.ReportingYear, _StRpTaskDetails.StatryRptTaskPeriod
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