I_StRpTaskDetails
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)
| Source | Alias | Join Type |
|---|---|---|
| srf_reporting | srf_reporting | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_StRpActivity | _StRpActivity | srf_reporting.db_key = _StRpActivity.StatryRptTaskUUID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
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