I_StRpTaskCube

DDL: I_STRPTASKCUBE SQL: ISTRPTASKCUBE Type: view BASIC

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)

SourceAliasJoin Type
I_StRpTaskDetails I_StRpTaskDetails from

Associations (2)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;