SAP ABAP Class CL_RSR_RRK0_LRECH_PROCESSOR (LRECH formula calculator)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSROA_RT (Package) OLAP: Kernel Runtime
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSR_RRK0_LRECH_CU_HANDLER LRECH formula currency/unit handler 20120828
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSR_RRK0_FAGGR_PROCESSOR Formula Exception Aggregation 20120723
Properties
Class CL_RSR_RRK0_LRECH_PROCESSOR  
Short Description LRECH formula calculator    
Super Class CL_RSR_RRK0_LRECH_CU_HANDLER LRECH formula currency/unit handler 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSROA_RT   OLAP: Kernel Runtime 
Created 20120625   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RRO01 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSR_RRK0_LRECH_PROCESSOR has no interface implemented.
Friends
Class CL_RSR_RRK0_LRECH_PROCESSOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_R_BDATA Instance attribute Public Object reference (TYPE REF TO) CL_RSR_RRK0_BDATA bdata table (bnr values per setxx char value combination) 20120828
2 P_TS_LRECH_BDATA Instance attribute Private Type reference (TYPE) TP_TS_LRECH_BDATA 20120626
3 P_TS_SUMM_BDATA Instance attribute Private Type reference (TYPE) TP_TS_SUMM_BDATA 20120626
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_LOOKUP_CURR_UNIT Instance method Private Method 20120626
2 CALCULATE_ACOS Instance method Private Method 20120626
3 CALCULATE_ASIN Instance method Private Method 20120626
4 CALCULATE_ATAN Instance method Private Method 20120626
5 CALCULATE_BLFV Instance method Protected Method Get the resulting BLFV 20130325
6 CALCULATE_BLFV_SUMM Instance method Protected Method Get the resulting BLFV 20130411
7 CALCULATE_COS Instance method Private Method 20120626
8 CALCULATE_COSH Instance method Private Method 20120626
9 CALCULATE_FORMULA Instance method Protected Method Calculate (local) formula, BDATA1 op BDATA2 20120626
10 CALCULATE_SIN Instance method Private Method 20120626
11 CALCULATE_SINH Instance method Private Method 20120626
12 CALCULATE_SUMM Instance method Public Method Calculate summ 20120626
13 CALCULATE_TAN Instance method Private Method 20120626
14 CALCULATE_TANH Instance method Private Method 20120626
15 CLEAR_BUFFER Instance method Public Method Clear the buffer 20120626
16 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120828
17 GET_INTEGER_VALUE Instance method Private Method Get a value as integer 20120626
18 GET_SID_FROM_CHANMID Instance method Protected Method Get SID from SID structure for a given CHANMID 20120626
19 LRECH Instance method Public Method Calculate a formula 20120626
20 PROCESS_LRECH_FORMULA Instance method Private Method Process an lrech line 20120626
21 PROCESS_LRECH_LOOKUP Instance method Protected Method Process a lookup in a lrech formula 20120626
22 PROCESS_OTHER_LOOKUP Instance method Private Method Process a lookup in a lrech formula that is no formula 20120626
23 RESET_BUFFER Instance method Public Method Reset the buffer completely 20120626
24 SX_TO_LDATA Instance method Public Method 20120626
25 TRANSLATE_CURRENCY_FOR_KID Instance method Private Method Translate the currency for a given KID 20120626
Events
Class CL_RSR_RRK0_LRECH_PROCESSOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TP_S_LRECH_BDATA Private See coding 20120626 BEGIN OF tp_s_lrech_bdata, index TYPE i, bdata TYPE tn_s_bdata, END OF tp_s_lrech_bdata
2 TP_S_SUMM_BDATA Private See coding 20120626 BEGIN OF tp_s_summ_bdata, low TYPE i, high TYPE i, bdata TYPE tn_s_bdata, END OF tp_s_summ_bdata
3 TP_TS_LRECH_BDATA Private See coding 20120626 tp_ts_lrech_bdata TYPE SORTED TABLE OF tp_s_lrech_bdata WITH UNIQUE KEY index
4 TP_TS_SUMM_BDATA Private See coding 20120626 tp_ts_summ_bdata TYPE SORTED TABLE OF tp_s_summ_bdata WITH UNIQUE KEY low high INITIAL SIZE 0
Method Signatures

Method ADJUST_LOOKUP_CURR_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_CU Call by reference Type reference (TYPE) TN_S_CU 20120626
2 Exporting E_VALEXCP Call by reference Type reference (TYPE) RRVALEXCP Value Exceptions 20120626
3 Exporting E_VALUE Call by reference Type reference (TYPE) TN_S_BDATA-VALUE 20120626
4 Importing I_KID Call by reference Type reference (TYPE) RRO01_S_CELL-KID 20120626
5 Importing I_S_VALUE Call by reference Type reference (TYPE) IF_RSR_LOOKUP_RT=>TN_S_VALUE 20120626

Method ADJUST_LOOKUP_CURR_UNIT on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_ACOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_VP Call by reference Type reference (TYPE) RRVALEXCP 20120626
2 Exporting E_DF Value transfer Type reference (TYPE) RSROA_DF 20120626
3 Importing I_DF Call by reference Type reference (TYPE) DECFLOAT 20120626

Method CALCULATE_ACOS on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_ASIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_VP Call by reference Type reference (TYPE) RRVALEXCP 20120626
2 Exporting E_DF Value transfer Type reference (TYPE) RSROA_DF 20120626
3 Importing I_DF Call by reference Type reference (TYPE) DECFLOAT 20120626

Method CALCULATE_ASIN on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_ATAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_VP Call by reference Type reference (TYPE) RRVALEXCP 20120626
2 Exporting E_DF Value transfer Type reference (TYPE) RSROA_DF 20120626
3 Importing I_DF Call by reference Type reference (TYPE) DECFLOAT 20120626

Method CALCULATE_ATAN on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_BLFV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_S_BDATA Call by reference Type reference (TYPE) TN_S_BDATA 20130325
2 Importing I_SX_LRECH Call by reference Type reference (TYPE) RRO01_SX_LRECH Formula 20130325
3 Importing I_S_BDATA1 Call by reference Type reference (TYPE) TN_S_BDATA 20130325
4 Importing I_S_BDATA2 Call by reference Type reference (TYPE) TN_S_BDATA 20130325

Method CALCULATE_BLFV on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_BLFV_SUMM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_S_BDATA Call by reference Type reference (TYPE) TN_S_BDATA 20130411
2 Importing I_S_BDATA1 Call by reference Type reference (TYPE) TN_S_BDATA 20130411
3 Importing I_S_BDATA2 Call by reference Type reference (TYPE) TN_S_BDATA 20130411

Method CALCULATE_BLFV_SUMM on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_COS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DF Call by reference Type reference (TYPE) DECFLOAT 20120626
2 Returning R_DF Value transfer Type reference (TYPE) RSROA_DF 20120626

Method CALCULATE_COS on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_COSH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_VP Call by reference Type reference (TYPE) RRVALEXCP 20120626
2 Exporting E_DF Value transfer Type reference (TYPE) RSROA_DF 20120626
3 Importing I_DF Call by reference Type reference (TYPE) DECFLOAT 20120626

Method CALCULATE_COSH on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_FORMULA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_BDATA Call by reference Type reference (TYPE) TN_S_BDATA 20120626
2 Importing I_IS_DETAIL Call by reference Type reference (TYPE) RS_BOOL 20120626
3 Importing I_OPERA Call by reference Type reference (TYPE) RSZOPERA 20120626
4 Importing I_S_BDATA1 Call by reference Type reference (TYPE) TN_S_BDATA 20120626
5 Importing I_S_BDATA2 Call by reference Type reference (TYPE) TN_S_BDATA 20120626
6 Importing I_S_SID Call by reference Type reference (TYPE) ANY 20120626
7 Importing I_TS_AXES Call by reference Type reference (TYPE) RRK0_TS_AXES 20120719

Method CALCULATE_FORMULA on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_SIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DF Call by reference Type reference (TYPE) DECFLOAT 20120626
2 Returning R_DF Value transfer Type reference (TYPE) RSROA_DF 20120626

Method CALCULATE_SIN on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_SINH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_VP Call by reference Type reference (TYPE) RRVALEXCP 20120626
2 Exporting E_DF Value transfer Type reference (TYPE) RSROA_DF 20120626
3 Importing I_DF Call by reference Type reference (TYPE) DECFLOAT 20120626

Method CALCULATE_SINH on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_SUMM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_BDATA Call by reference Type reference (TYPE) TN_S_BDATA 20120626
2 Importing I_HIGH Call by reference Type reference (TYPE) RRO01_S_CELL-QUFL 20120626
3 Importing I_KID Call by reference Type reference (TYPE) RRO01_S_CELL-KID 20120626
4 Importing I_LOW Call by reference Type reference (TYPE) RRO01_S_CELL-QUFL 20120626
5 Importing I_T_BDATA Call by reference Type reference (TYPE) CL_RSR_RRK0_BASE=>TN_T_BDATA 20120626

Method CALCULATE_SUMM on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_TAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_VP Call by reference Type reference (TYPE) RRVALEXCP 20120626
2 Exporting E_DF Value transfer Type reference (TYPE) RSROA_DF 20120626
3 Importing I_DF Call by reference Type reference (TYPE) DECFLOAT 20120626

Method CALCULATE_TAN on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CALCULATE_TANH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_VP Call by reference Type reference (TYPE) RRVALEXCP 20120626
2 Exporting E_DF Value transfer Type reference (TYPE) RSROA_DF 20120626
3 Importing I_DF Call by reference Type reference (TYPE) DECFLOAT 20120626

Method CALCULATE_TANH on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CLEAR_BUFFER Signature

Method CLEAR_BUFFER on class CL_RSR_RRK0_LRECH_PROCESSOR has no parameter.
Method CLEAR_BUFFER on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_BDATA Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_BDATA bdata table (bnr values per setxx char value combination) 20120828
2 Importing I_R_QUERY_RUNTIME Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_QUERY_RUNTIME 20120828

Method CONSTRUCTOR on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method GET_INTEGER_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_VALUE Call by reference Type reference (TYPE) RSROA_DF Decimal Float Value 20120626
2 Returning R_VALUE Value transfer Type reference (TYPE) RSROA_DF Decimal Float Value 20120626

Method GET_INTEGER_VALUE on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method GET_SID_FROM_CHANMID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHANMID Call by reference Type reference (TYPE) RRCHANMID Internal ID of the CHANM 20120626
2 Importing I_S_SID Call by reference Type reference (TYPE) ANY 20120626
3 Importing I_TS_AXES Call by reference Type reference (TYPE) RRK0_TS_AXES 20120719
4 Returning R_SID Value transfer Type reference (TYPE) RSSID Master data ID 20120626

Method GET_SID_FROM_CHANMID on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method LRECH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_BDATA Call by reference Type reference (TYPE) TN_S_BDATA 20120626
2 Importing I_INDEX Call by reference Type reference (TYPE) I 20120626
3 Importing I_IS_DETAIL Call by reference Type reference (TYPE) RS_BOOL 20120626
4 Importing I_KID Call by reference Type reference (TYPE) RRO01_S_CELL-KID 20120626
5 Importing I_S_SID Call by reference Type reference (TYPE) ANY 20120626
6 Importing I_TS_AXES Call by reference Type reference (TYPE) RRK0_TS_AXES 20120719
7 Importing I_T_BDATA Call by reference Type reference (TYPE) CL_RSR_RRK0_BASE=>TN_T_BDATA 20120626

Method LRECH on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method PROCESS_LRECH_FORMULA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_BDATA Call by reference Type reference (TYPE) TN_S_BDATA 20120626
2 Importing I_IS_DETAIL Call by reference Type reference (TYPE) RS_BOOL 20120626
3 Importing I_KID Call by reference Type reference (TYPE) RRO01_S_CELL-KID 20120626
4 Importing I_SX_LRECH Call by reference Type reference (TYPE) RRO01_SX_LRECH 20120626
5 Importing I_S_SID Call by reference Type reference (TYPE) ANY 20120626
6 Importing I_TS_AXES Call by reference Type reference (TYPE) RRK0_TS_AXES 20120719
7 Importing I_T_BDATA Call by reference Type reference (TYPE) CL_RSR_RRK0_BASE=>TN_T_BDATA 20120626

Method PROCESS_LRECH_FORMULA on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method PROCESS_LRECH_LOOKUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_CU Call by reference Type reference (TYPE) TN_S_CU 20120626
2 Exporting E_VALEXCP Call by reference Type reference (TYPE) RRVALEXCP Value Exceptions 20120626
3 Exporting E_VALUE Call by reference Type reference (TYPE) TN_S_BDATA-VALUE 20120626
4 Importing I_EXP Call by reference Type reference (TYPE) RREXP Exponent of a Constant 20120626
5 Importing I_KID Call by reference Type reference (TYPE) RRO01_S_CELL-KID 20120626
6 Importing I_QUBH Call by reference Type reference (TYPE) RRQUBH Value field in B (QUeel=1), indh SUMM (Q=2), 0 (Q=3) 20120626
7 Importing I_QUFL Call by reference Type reference (TYPE) RRQUFL Next record in B (Quell=1), indl SUMM (Q=2), IND LRECH (Q=3) 20120626
8 Importing I_S_SID Call by reference Type reference (TYPE) ANY 20120626
9 Importing I_TS_AXES Call by reference Type reference (TYPE) RRK0_TS_AXES 20120719

Method PROCESS_LRECH_LOOKUP on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method PROCESS_OTHER_LOOKUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_VALUE Call by reference Type reference (TYPE) IF_RSR_LOOKUP_RT=>TN_S_VALUE 20120626
2 Importing I_KID Call by reference Type reference (TYPE) RRO01_S_CELL-KID 20120626
3 Importing I_QUFL Call by reference Type reference (TYPE) RRQUFL 20120626
4 Importing I_S_LOOKUP Call by reference Type reference (TYPE) RRO01_S_LOOKUP 20120626
5 Importing I_S_SID Call by reference Type reference (TYPE) ANY 20120626
6 Importing I_TS_AXES Call by reference Type reference (TYPE) RRK0_TS_AXES 20120719

Method PROCESS_OTHER_LOOKUP on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method RESET_BUFFER Signature

Method RESET_BUFFER on class CL_RSR_RRK0_LRECH_PROCESSOR has no parameter.
Method RESET_BUFFER on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method SX_TO_LDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TA_D Call by reference Type reference (TYPE) ANY TABLE 20120626
2 Importing I_SX_WGR Call by reference Type reference (TYPE) RRO01_SX_WGR 20120626
3 Importing I_S_N Call by reference Type reference (TYPE) ANY 20120626
4 Importing I_S_SID Call by reference Type reference (TYPE) ANY 20120626
5 Importing I_TS_AXES Call by reference Type reference (TYPE) RRK0_TS_AXES 20120719
6 Importing I_WNR Call by reference Type reference (TYPE) RRWNR Value Field Number on the SP 20130204

Method SX_TO_LDATA on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.

Method TRANSLATE_CURRENCY_FOR_KID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_AMOUNT Call by reference Type reference (TYPE) DECFLOAT 20120626
2 Changing C_CUR Call by reference Type reference (TYPE) RSD_SID 20120626
3 Importing I_KID Call by reference Type reference (TYPE) RRO01_S_CELL-KID 20120626

Method TRANSLATE_CURRENCY_FOR_KID on class CL_RSR_RRK0_LRECH_PROCESSOR has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740