SAP ABAP Class CL_RSDRC_NCUM_CALC_SCENARIO (Maintaining calc-scenario for NCUM handling)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-DBA (Application Component) Data Basis
     RSDRC_DBA (Package) Data Manager InfoCube Access
Properties
Class CL_RSDRC_NCUM_CALC_SCENARIO  
Short Description Maintaining calc-scenario for NCUM handling    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSDRC_DBA   Data Manager InfoCube Access 
Created 20121019   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_RSDRC_NCUM_PROCESSOR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RSSG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSDRC_NCUM_CALC_SCENARIO has no interface implemented.
Friends
Class CL_RSDRC_NCUM_CALC_SCENARIO has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_C_ROWCOUNT_NAME Constant Private Type reference (TYPE) STRING '__numoffacttablerows' 20121214
2 P_NCUMTIM Instance attribute Private Type reference (TYPE) RSCHANM ncum tim characteristic of the query 20121019
3 P_OLAP_VIEW Instance attribute Private Type reference (TYPE) STRING name of the olap view 20121019
4 P_QUERY Instance attribute Private Type reference (TYPE) STRING 20121207
5 P_R_CALCSCENARIO Instance attribute Private Object reference (TYPE REF TO) CL_RSDD_CS_CALCSCENARIO Create Calculation Scenario 20121207
6 P_R_INFOPROV Instance attribute Private Object reference (TYPE REF TO) IF_RSD_INFOPROV 20130205
7 P_R_NAME_MAPPER Instance attribute Private Object reference (TYPE REF TO) IF_RSDD_HDB_NAME_MAPPER name mapper used for the olap view 20121019
8 P_SCENARIO_NAME Instance attribute Private Type reference (TYPE) STRING 20121221
9 P_SX_META Instance attribute Private Type reference (TYPE) PT_SX_META 20121207
10 P_TH_SFC Instance attribute Private Type reference (TYPE) RSDD_TH_SFC properties of the characteristics 20121019
11 P_TH_SFK Instance attribute Private Type reference (TYPE) RSDD_TH_SFK properties of the keyfigures 20121019
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20121019
2 CREATE Instance method Public Method Creates a calc-scenario 20121205
3 DELETE Static method Public Method Deletes all calc-scenarios for given query 20121205
4 DELETE_SINGLE Static method Public Method Deletes given calc-scenario 20121221
5 EXISTS Static method Public Method Checks the existence of the specified calc-scenario 20121220
6 _BUILD_METADATA Instance method Private Method Collects metadata needed for the generation 20121207
7 _GEN_CALCULATIONVIEWS Instance method Private Method 20121207
8 _GEN_DATASOURCES Instance method Private Method 20121207
9 _GEN_DELTATIME_AGGR_CV Instance method Private Method 20121213
10 _GEN_DELTA_AGGR_CV Instance method Private Method 20121210
11 _GEN_DELTA_PROJ_CV Instance method Private Method 20121210
12 _GEN_FACT_AGGR_CV Instance method Private Method 20121210
13 _GEN_POSTPROC_L_CV Instance method Private Method 20121213
14 _GEN_POSTPROC_PROC_CV Instance method Private Method 20121213
15 _GEN_PROC_CODING Instance method Private Method Generates the coding of the l-nodes (use_embedded_l_coding) 20121213
16 _GEN_REFPOINT1_PROJ_CV Instance method Private Method 20121210
17 _GEN_REFPOINT2_PROJ_CV Instance method Private Method 20121210
18 _GEN_REFPOINT_AGGR_CV Instance method Private Method 20121210
19 _GEN_REFPOINT_UNION_CV Instance method Private Method 20121210
20 _GEN_RTIME_L_CV Instance method Private Method 20121213
21 _GEN_RTIME_PROC_CV Instance method Private Method 20121213
22 _GEN_RTIME_PROJ_CV Instance method Private Method 20121212
23 _GEN_RTIME_SORT_CV Instance method Private Method 20121213
24 _GEN_VARIABLES Instance method Private Method 20121207
Events
Class CL_RSDRC_NCUM_CALC_SCENARIO has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PT_SX_KYF Private See coding 20121207 BEGIN OF pt_sx_kyf, name TYPE rskyfnm, fieldnm TYPE rsfieldnm, ncumfl TYPE rsncumfl, inttp TYPE rsd_s_dta_pro-inttp, intlen TYPE rsd_s_dta_pro-intlen, digits TYPE rsd_s_dta_pro-digits, decimals TYPE rsd_s_dta_pro-decimals, inc_name TYPE rskyfnm, inc_fieldnm TYPE rsfieldnm, dec_name TYPE rskyfnm, dec_fieldnm TYPE rsfieldnm, ts_return TYPE pt_ts_kyf_ret, END OF pt_sx_kyf
2 PT_SX_META Private See coding 20121207 BEGIN OF pt_sx_meta, first_aggr_exists TYPE rs_bool, last_aggr_exists TYPE rs_bool, tobj TYPE pt_s_cha, tobjv TYPE pt_s_cha, ts_derived_tobjs TYPE pt_ts_cha, ts_other_objs TYPE pt_ts_cha, requid TYPE pt_s_cha, recordtp TYPE pt_s_cha, tsx_kyf TYPE pt_tsx_kyf, END OF pt_sx_meta
3 PT_S_CHA Private See coding 20121207 BEGIN OF pt_s_cha, name TYPE rschanm, fieldnm TYPE rsfieldnm, aliasnm TYPE string, keyfl TYPE rs_bool, inttp TYPE rsd_s_dta_pro-inttp, intlen TYPE rsd_s_dta_pro-intlen, decimals TYPE rsd_s_dta_pro-decimals, END OF pt_s_cha
4 PT_S_KYF_RET Private See coding 20121207 BEGIN OF pt_s_kyf_ret, alias TYPE rsalias, l_alias TYPE rsalias, befl TYPE rrlasfirfl, END OF pt_s_kyf_ret
5 PT_TSX_KYF Private See coding 20121207 pt_tsx_kyf TYPE SORTED TABLE OF pt_sx_kyf WITH UNIQUE KEY name
6 PT_TS_CHA Private See coding 20121207 pt_ts_cha TYPE SORTED TABLE OF pt_s_cha WITH UNIQUE KEY name keyfl
7 PT_TS_KYF_RET Private See coding 20121207 pt_ts_kyf_ret TYPE SORTED TABLE OF pt_s_kyf_ret WITH UNIQUE KEY alias
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NCUMTIM Call by reference Type reference (TYPE) RSCHANM NCUM-tim cha of the query 20121019
2 Importing I_PARTPROV Call by reference Type reference (TYPE) RSINFOPROV Name of the partprovider 20121019
3 Importing I_QUERY Call by reference Type reference (TYPE) STRING Unique identificator of the query 20121019
4 Importing I_TH_SFC Call by reference Type reference (TYPE) RSDD_TH_SFC Properties of the characteristics 20121019
5 Importing I_TH_SFK Call by reference Type reference (TYPE) RSDD_TH_SFK Properties of the keyfigures 20121019

Method CONSTRUCTOR on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_SCENARIO_NAME Value transfer Type reference (TYPE) STRING 20121207
2 Importing I_SHOW_SCENARIO Value transfer Type reference (TYPE) RS_BOOL RS_C_FALSE Show the generated scenario 20121205
3 Importing I_WITH_TRACING Value transfer Type reference (TYPE) RS_BOOL RS_C_FALSE Generate tracing code inside the calc-scenario 20121205

Method CREATE on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IGNORE_NOT_FOUND Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20121207
2 Importing I_QUERY Call by reference Type reference (TYPE) STRING 20121221

Method DELETE on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method DELETE_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IGNORE_NOT_FOUND Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20121221
2 Importing I_SCENARIO_NAME Call by reference Type reference (TYPE) STRING 20121221

Method DELETE_SINGLE on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PARTPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20121220
2 Importing I_QUERY Call by reference Type reference (TYPE) STRING 20121220
3 Returning R_SCENARIO_EXISTS Value transfer Type reference (TYPE) RS_BOOL Boolean 20121220

Method EXISTS on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _BUILD_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SCENARIO_NAME Call by reference Type reference (TYPE) STRING 20121219

Method _BUILD_METADATA on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_CALCULATIONVIEWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_PARTPROV_SOURCE Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_DATASOURCE Participating Providers 20121207
2 Importing I_R_RTIME_SOURCE Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_DATASOURCE Participating Providers 20121207
3 Importing I_SHOW_CODE Value transfer Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20121213
4 Importing I_WITH_TRACING Value transfer Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20121213

Method _GEN_CALCULATIONVIEWS on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_DATASOURCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_PARTPROV_SOURCE Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_DATASOURCE Participating Providers 20121207
2 Exporting E_R_RTIME_SOURCE Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_DATASOURCE Participating Providers 20121207

Method _GEN_DATASOURCES on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_DELTATIME_AGGR_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
2 Importing I_R_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213

Method _GEN_DELTATIME_AGGR_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_DELTA_AGGR_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210
2 Importing I_R_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210

Method _GEN_DELTA_AGGR_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_DELTA_PROJ_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210
2 Importing I_R_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210

Method _GEN_DELTA_PROJ_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_FACT_AGGR_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210
2 Importing I_R_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210

Method _GEN_FACT_AGGR_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_POSTPROC_L_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
2 Importing I_CODE Call by reference Type reference (TYPE) STRING 20121213
3 Importing I_R_DELTA_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
4 Importing I_R_REFPOINT_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
5 Importing I_R_RTIME_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213

Method _GEN_POSTPROC_L_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_POSTPROC_PROC_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
2 Importing I_PROC_NAME Call by reference Type reference (TYPE) STRING 20121213
3 Importing I_R_DELTA_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
4 Importing I_R_REFPOINT_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
5 Importing I_R_RTIME_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213

Method _GEN_POSTPROC_PROC_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_PROC_CODING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_POSTPROC_CODE Call by reference Type reference (TYPE) STRING 20121213
2 Exporting E_RTIME_CODE Call by reference Type reference (TYPE) STRING 20121213
3 Importing I_SHOW_CODE Value transfer Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20121213
4 Importing I_WITH_TRACING Value transfer Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20121213

Method _GEN_PROC_CODING on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_REFPOINT1_PROJ_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210
2 Importing I_R_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210

Method _GEN_REFPOINT1_PROJ_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_REFPOINT2_PROJ_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210
2 Importing I_R_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210

Method _GEN_REFPOINT2_PROJ_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_REFPOINT_AGGR_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210
2 Importing I_NAME Call by reference Type reference (TYPE) STRING 20121210
3 Importing I_R_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210

Method _GEN_REFPOINT_AGGR_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_REFPOINT_UNION_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210
2 Importing I_R_INPUT1 Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210
3 Importing I_R_INPUT2 Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121210

Method _GEN_REFPOINT_UNION_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_RTIME_L_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
2 Importing I_CODE Call by reference Type reference (TYPE) STRING 20121213
3 Importing I_R_DELTATIME_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
4 Importing I_R_RTIME_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213

Method _GEN_RTIME_L_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_RTIME_PROC_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
2 Importing I_PROC_NAME Call by reference Type reference (TYPE) STRING 20121213
3 Importing I_R_DELTATIME_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213
4 Importing I_R_RTIME_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121213

Method _GEN_RTIME_PROC_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_RTIME_PROJ_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121212
2 Importing I_R_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE PartProvider Representation in Calculation View 20121212

Method _GEN_RTIME_PROJ_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_RTIME_SORT_CV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_OUTPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE Source Object of a CalcView Input 20121213
2 Importing I_R_INPUT Call by reference Object reference (TYPE REF TO) IF_RSDD_CS_INPUT_SOURCE Source Object of a CalcView Input 20121213

Method _GEN_RTIME_SORT_CV on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.

Method _GEN_VARIABLES Signature

Method _GEN_VARIABLES on class CL_RSDRC_NCUM_CALC_SCENARIO has no parameter.
Method _GEN_VARIABLES on class CL_RSDRC_NCUM_CALC_SCENARIO has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740