I_StRpTaskDetails

DDL: I_STRPTASKDETAILS SQL: ISTRPTASKDET Type: view BASIC

Statutory Reporting Task detials

I_StRpTaskDetails is a Basic CDS View that provides data about "Statutory Reporting Task detials" in SAP S/4HANA. It reads from 1 data source (srf_reporting) and exposes 10 fields with key field StatryRptTaskUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
srf_reporting srf_reporting from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_StRpActivity _StRpActivity srf_reporting.db_key = _StRpActivity.StatryRptTaskUUID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ISTRPTASKDET view
EndUserText.label Statutory Reporting Task detials view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AbapCatalog.preserveKey true view
AbapCatalog.dataMaintenance #DISPLAY_ONLY view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY StatryRptTaskUUID srf_reporting db_key
StatryRptgEntity srf_reporting reporting_entity
StatryRptCategory srf_reporting rep_cat_id
Country srf_reporting country
StatryRptTaskDueDate srf_reporting due_date
StatryRptTaskStatus srf_reporting reporting_status
StatryRptTaskPeriodStartDate srf_reporting begin_of_period
StatryRptTaskPeriodEndDate srf_reporting end_of_period
ReportingYear srf_reporting reporting_year
_StRpActivity _StRpActivity
@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":""
}
}*/