I_STRPTASKDETAILS

CDS View

Statutory Reporting Task detials

I_STRPTASKDETAILS is a CDS View in S/4HANA. Statutory Reporting Task detials. It contains 10 fields. 13 CDS views read from this table.

CDS Views using this table (13)

ViewTypeJoinVDMDescription
I_StRpRepRun view inner BASIC General Information about Report Run
I_StRpRunDetails view inner COMPOSITE Reporting Periods of Reporting Documents
I_StRpTaskCube view from BASIC Reporting Task Virtual - Cube
P_PL_StRpReportingGroupsCr view left_outer CONSUMPTION Reporting Groups - Correction Run
P_RU_ExprtConfRegRptItemSOK1 view inner COMPOSITE
P_RU_ExprtConfRINRptItemSOK1 view inner COMPOSITE
P_RU_LastSubmittedRun view inner CONSUMPTION
P_RU_StRpRepRunTask view from COMPOSITE
P_RU_UnfTxNtcPaytDocSubmitted view inner COMPOSITE UTNP Submitted Documents
P_RU_UTNDocSubmdCurPerd view inner COMPOSITE UTNP Submd Documents for Current Period
P_RU_UTNZeroGroupSubmdCurPerd view inner COMPOSITE UTNP Submd Zero Grp for Current Period
P_TH_StRpRepInfo view inner COMPOSITE
R_StRpTaskTP view_entity from TRANSACTIONAL Statutory Reporting Task - TP

Fields (10)

KeyField CDS FieldsUsed in Views
KEY StatryRptTaskUUID StatryRptTaskUUID 1
Country Country 2
ReportingYear ReportingYear 7
StatryRptCategory StatryRptCategory 1
StatryRptgEntity StatryRptgEntity 1
StatryRptTaskDueDate StatryRptTaskDueDate 3
StatryRptTaskPeriod StatryRptTaskPeriod 6
StatryRptTaskPeriodEndDate StatryRptTaskPeriodEndDate 5
StatryRptTaskPeriodStartDate StatryRptTaskPeriodStartDate 5
StatryRptTaskStatus StatryRptTaskStatus 1
@AbapCatalog.sqlViewName:'ISTRPTASKDET'
@EndUserText.label: 'Statutory Reporting Task detials'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@AbapCatalog.preserveKey:true
@AbapCatalog.dataMaintenance: #DISPLAY_ONLY
define view I_StRpTaskDetails
  as select from srf_reporting association [1..*] to I_StRpActivity as _StRpActivity on srf_reporting.db_key = _StRpActivity.StatryRptTaskUUID
{
  key srf_reporting.db_key           as StatryRptTaskUUID,
      srf_reporting.reporting_entity as StatryRptgEntity,
      srf_reporting.rep_cat_id       as StatryRptCategory,
      
      case LEFT(srf_reporting.reporting_period_num,2)
       when 'HY' then substring(srf_reporting.reporting_period_num,3,1)
       when 'BM' then substring(srf_reporting.reporting_period_num,3,1)

      else
      ( case LEFT(srf_reporting.reporting_period_num,1)
            when 'Y' then LTRIM(srf_reporting.reporting_period_num,'Y')
            when 'Q' then LTRIM(srf_reporting.reporting_period_num,'Q')
            when 'M' then LTRIM(srf_reporting.reporting_period_num,'M')
            when 'B' then LTRIM(srf_reporting.reporting_period_num,'B')
            when 'W' then LTRIM(srf_reporting.reporting_period_num,'W')
            when 'C' then LTRIM(srf_reporting.reporting_period_num,'C')
            else srf_reporting.reporting_period_num
       end )
      end                                        as StatryRptTaskPeriod,
      srf_reporting.country                      as Country,
      srf_reporting.due_date                     as StatryRptTaskDueDate,
      srf_reporting.reporting_status             as StatryRptTaskStatus,
      srf_reporting.begin_of_period              as StatryRptTaskPeriodStartDate,
      srf_reporting.end_of_period                as StatryRptTaskPeriodEndDate,
      srf_reporting.reporting_year               as ReportingYear,
      _StRpActivity
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"SRF_REPORTING"
],
"ASSOCIATED":
[
"I_STRPACTIVITY"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/