I_StRpRunDetails
Reporting Periods of Reporting Documents
I_StRpRunDetails is a Composite CDS View (Cube) that provides data about "Reporting Periods of Reporting Documents" in SAP S/4HANA. It reads from 3 data sources (I_StRpJournalEntryLog, I_StRpRepRun, I_StRpTaskDetails) and exposes 18 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID, CompanyCode, AccountingDocument. It has 2 associations to related views. Part of development package GLO_FIN_IS_GEN.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpJournalEntryLog | _StRpJournalEntryLog | from |
| I_StRpRepRun | _StRpRepRun | inner |
| I_StRpTaskDetails | _StRpTaskDetails | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_StRpCategoryPhaseText | _PhaseText | $projection.StatryRptCategory = _PhaseText.StatryRptCategory and _StRpRepRun.StatryRptRunType = _PhaseText.StatryRptCatPhase and _PhaseText.StatryRptCatVersion = 'ACT' and _PhaseText.Language = $session.system_language |
| [0..1] | I_StRpCategoryText | _CategoryText | $projection.StatryRptCategory = _CategoryText.StatryRptCategory and _CategoryText.StatryRptCatVersion = 'ACT' and _CategoryText.Language = $session.system_language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Reporting Periods of Reporting Documents | view | |
| AbapCatalog.sqlViewName | ISTRPTRUNDET | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.allowExtensions | true | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptgEntity | I_StRpJournalEntryLog | StatryRptgEntity | |
| KEY | StatryRptCategory | I_StRpJournalEntryLog | StatryRptCategory | |
| KEY | StatryRptRunID | I_StRpJournalEntryLog | StatryRptRunID | |
| KEY | CompanyCode | I_StRpJournalEntryLog | CompanyCode | |
| KEY | AccountingDocument | I_StRpJournalEntryLog | AccountingDocument | |
| KEY | FiscalYear | I_StRpJournalEntryLog | FiscalYear | |
| StatryRptRunUUID | I_StRpRepRun | StatryRptRunUUID | ||
| StatryRptActivityUUID | I_StRpRepRun | StatryRptActivityUUID | ||
| StatryRptRunStatus | I_StRpRepRun | StatryRptRunStatus | ||
| StatryRptRunType | I_StRpRepRun | StatryRptRunType | ||
| StatryRptSubmittedDateTime | I_StRpRepRun | StatryRptSubmittedDateTime | ||
| ReportingYear | I_StRpTaskDetails | ReportingYear | ||
| StatryRptTaskPeriod | I_StRpTaskDetails | StatryRptTaskPeriod | ||
| StatryRptTaskPeriodStartDate | I_StRpTaskDetails | StatryRptTaskPeriodStartDate | ||
| StatryRptTaskPeriodEndDate | I_StRpTaskDetails | StatryRptTaskPeriodEndDate | ||
| _PhaseText | _PhaseText | |||
| _TransactionalTaxItem | I_StRpJournalEntryLog | _TransactionalTaxItem | ||
| _CategoryText | _CategoryText |
@EndUserText.label: 'Reporting Periods of Reporting Documents'
@AbapCatalog.sqlViewName: 'ISTRPTRUNDET'
@VDM.viewType: #COMPOSITE
@Analytics: { dataCategory: #CUBE }
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@Metadata.allowExtensions: true
define view I_StRpRunDetails
as select from I_StRpJournalEntryLog as _StRpJournalEntryLog
inner join I_StRpRepRun as _StRpRepRun on(
_StRpJournalEntryLog.StatryRptCategory = _StRpRepRun.StatryRptCategory
and _StRpJournalEntryLog.StatryRptgEntity = _StRpRepRun.StatryRptgEntity
and _StRpJournalEntryLog.StatryRptRunID = _StRpRepRun.StatryRptRunID
)
inner join I_StRpTaskDetails as _StRpTaskDetails on(
_StRpRepRun.StatryRptTaskUUID = _StRpTaskDetails.StatryRptTaskUUID
)
association [0..1] to I_StRpCategoryPhaseText as _PhaseText on $projection.StatryRptCategory = _PhaseText.StatryRptCategory
and _StRpRepRun.StatryRptRunType = _PhaseText.StatryRptCatPhase
and _PhaseText.StatryRptCatVersion = 'ACT'
and _PhaseText.Language = $session.system_language
association [0..1] to I_StRpCategoryText as _CategoryText on $projection.StatryRptCategory = _CategoryText.StatryRptCategory
and _CategoryText.StatryRptCatVersion = 'ACT'
and _CategoryText.Language = $session.system_language
{
key _StRpJournalEntryLog.StatryRptgEntity as StatryRptgEntity,
key _StRpJournalEntryLog.StatryRptCategory as StatryRptCategory,
key _StRpJournalEntryLog.StatryRptRunID as StatryRptRunID,
key _StRpJournalEntryLog.CompanyCode as CompanyCode,
key _StRpJournalEntryLog.AccountingDocument as AccountingDocument,
key _StRpJournalEntryLog.FiscalYear as FiscalYear,
_StRpRepRun.StatryRptRunUUID,
_StRpRepRun.StatryRptActivityUUID,
_StRpRepRun.StatryRptRunStatus,
_StRpRepRun.StatryRptRunType,
_StRpRepRun.StatryRptSubmittedDateTime,
_StRpTaskDetails.ReportingYear,
_StRpTaskDetails.StatryRptTaskPeriod,
_StRpTaskDetails.StatryRptTaskPeriodStartDate,
_StRpTaskDetails.StatryRptTaskPeriodEndDate,
_PhaseText,
_StRpJournalEntryLog._TransactionalTaxItem,
_CategoryText
}
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