SRF_Helper_MY_Amendment

DDL: SRF_HELPER_MY_AMENDMENT SQL: SRFMYAMENDMNT Type: view

SRF_Helper_MY_Amendment is a CDS View in SAP S/4HANA. It reads from 1 data source (I_StRpRepRun).

Data Sources (1)

SourceAliasJoin Type
I_StRpRepRun I_StRpRepRun from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SRFMYAMENDMNT view
AccessControl.authorizationCheck #NOT_ALLOWED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #P view
@AbapCatalog.sqlViewName: 'SRFMYAMENDMNT'
@AccessControl.authorizationCheck: #NOT_ALLOWED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #P
define view SRF_Helper_MY_Amendment
  with parameters
    P_StatryRptgEntity  : srf_reporting_entity,
    P_StatryRptCategory : srf_rep_cat_id,
    P_StatryRptRunID    : srf_report_run_id
  as select from I_StRpRepRun
{
  case StatryRptRunType
  when 'CORR' then 'X'
  else ''
  end as IsAmendment
}
where
      StatryRptgEntity  = $parameters.P_StatryRptgEntity
  and StatryRptCategory = $parameters.P_StatryRptCategory
  and StatryRptRunID    = $parameters.P_StatryRptRunID    
  
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_STRPREPRUN"
],
"ASSOCIATED":
[],
"BASE":
[],
"VERSION":0
}
}*/