I_StRpTaskCube
Reporting Task Virtual - Cube
I_StRpTaskCube is a Basic CDS View (Cube) that provides data about "Reporting Task Virtual - Cube" in SAP S/4HANA. It reads from 1 data source (I_StRpTaskDetails) and exposes 17 fields with key field StatryRptTaskUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpTaskDetails | I_StRpTaskDetails | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_StRpEntityText | _SrfEntText | _SrfEntText.StatryRptgEntity = $projection.StatryRptgEntity and _SrfEntText.Language = $session.system_language |
| [0..1] | I_StRpCategoryText | _SrfCatText | _SrfCatText.StatryRptCategory = $projection.StatryRptCategory and _SrfCatText.StatryRptCatVersion = 'ACT' and _SrfCatText.Language = $session.system_language |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISTRPTASKCUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.readClassName | CL_SRF_RPG_TASK_CDS_READCLASS | view | |
| EndUserText.label | Reporting Task Virtual - Cube | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptTaskUUID | StatryRptTaskUUID | UUID | |
| StatryRptgEntity | StatryRptgEntity | Reporting Entity | ||
| StatryRptgEntityName | _SrfEntText | StatryRptgEntityName | ||
| StatryRptCategory | StatryRptCategory | Report ID | ||
| StatryRptCategoryName | _SrfCatText | StatryRptCategoryName | ||
| Country | Country | Venue: Ctry/Reg | ||
| StatryRptTaskPeriod | StatryRptTaskPeriod | Tax Period | ||
| ReportingYear | ReportingYear | Year | ||
| StatryRptTaskPeriodStartDate | StatryRptTaskPeriodStartDate | Start Date | ||
| StatryRptTaskPeriodEndDate | StatryRptTaskPeriodEndDate | End Date | ||
| StatryRptTaskStatus | StatryRptTaskStatus | Report Status | ||
| StatryRptTaskDueDate | StatryRptTaskDueDate | Net Due Date | ||
| StatryRptTaskPeriodEndYearMnth | ||||
| StatryRptNmbrOfCmpltdActy | ||||
| StatryRptNmbrOfTotalActivity | ||||
| StatryRptDueDateStatus | ||||
| StatryRptNumberOfTasks |
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 I_StRpTaskCube.
-- 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: ISTRPTASKCUBE
CREATE VIEW I_StRpTaskCube AS
SELECT
StatryRptTaskUUID,
StatryRptgEntity,
_SrfEntText.StatryRptgEntityName AS StatryRptgEntityName,
StatryRptCategory,
_SrfCatText.StatryRptCategoryName AS StatryRptCategoryName,
Country,
StatryRptTaskPeriod,
ReportingYear,
StatryRptTaskPeriodStartDate,
StatryRptTaskPeriodEndDate,
StatryRptTaskStatus,
StatryRptTaskDueDate,
cast('000000' as srf_rpg_period_end_yearmonth) AS StatryRptTaskPeriodEndYearMnth,
cast('0' as srf_rpg_progress_done) AS StatryRptNmbrOfCmpltdActy,
cast('0' as srf_rpg_progress_total) AS StatryRptNmbrOfTotalActivity,
cast('' as srf_due_date_status) AS StatryRptDueDateStatus,
cast('1' as abap.int4) AS StatryRptNumberOfTasks
FROM I_StRpTaskDetails
LEFT OUTER JOIN I_StRpEntityText AS _SrfEntText ON _SrfEntText.StatryRptgEntity = StatryRptgEntity AND _SrfEntText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_StRpCategoryText AS _SrfCatText ON _SrfCatText.StatryRptCategory = StatryRptCategory AND _SrfCatText.StatryRptCatVersion = 'ACT' AND _SrfCatText.Language = $session.system_language -- association [0..1]
;
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