SAP ABAP Class CL_RSCRM_IMP_PF_DIS_VALUES (Set and Distribute Values - Planning function)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   CRM (Application Component) Customer Relationship Management
     RSCRM_IMP_CORE (Package) CRM In-Memory Planning Core
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSPLFA_SRVTYPE_IMP_CHECK Planning Function Type: Checks 20121211
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSPLFA_SRVTYPE_IMP_EXEC Planning Function Type: Execution (Without Reference Data) 20121211
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSPLFA_SRVTYPE_TREX_EXEC Interface for TREX algorithms 20121211
Properties
Class CL_RSCRM_IMP_PF_DIS_VALUES  
Short Description Set and Distribute Values - Planning function    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSCRM_IMP_CORE   CRM In-Memory Planning Core 
Created 20121205   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_RSCRM_IMP_PF_DIS_VALUES has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_RSPLFA_SRVTYPE_IMP_CHECK Planning Function Type: Checks 20121211
2 IF_RSPLFA_SRVTYPE_IMP_EXEC Planning Function Type: Execution (Without Reference Data) 20121211
3 IF_RSPLFA_SRVTYPE_TREX_EXEC Interface for TREX algorithms 20121211
Friends
Class CL_RSCRM_IMP_PF_DIS_VALUES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_INFOPROV_DESC Instance attribute Protected Object reference (TYPE REF TO) IF_RSPLFA_INFOPROV_DESC InfoProvider (Metadata) 20121211
2 MR_PF_CREATE_CR Instance attribute Protected Object reference (TYPE REF TO) CL_RSPLFC_CREATE_CR Generation of Zero Records According to Characteristic Rels. 20121211
3 MT_CHARSEL Instance attribute Protected Type reference (TYPE) RSPLF_T_CHARSEL Selection Table 20121211
4 MT_KYFUNIF Instance attribute Protected Type reference (TYPE) LTY_TAB_KYFUNIF Table of key figure unit information 20121211
5 MT_KYF_ALL Instance attribute Protected Type reference (TYPE) LTY_TAB_KYFNM All key figures available in the info provider 20130109
6 MT_RULES Instance attribute Protected Type reference (TYPE) LTY_TAB_RULES Table of planning function rules 20121211
7 MV_INFOPROV Instance attribute Protected Type reference (TYPE) RSINFOPROV Info Provider 20121211
Methods
# Method Level Visibility Method type Description Created on
1 COUNT_DATA Instance method Protected Method Count how many rows for the equal redistribution 20121211
2 CREATE_OPTIMIZED_CHA_SEL Instance method Protected Method Optimize the characteristic selections via a structure 20121211
3 GET_CURRENCY_VALUE Instance method Protected Method Get the currency value from the selection 20121211
4 GET_ROUNDING_INFO Instance method Protected Method Get rounding information for a key figure 20121211
5 GET_RULES Instance method Protected Method Create/Get the planning function rule 20121211
6 GET_UNIT_VALUE Instance method Protected Method Get the unit value from the selection 20121211
7 IS_REMAINING_TO_DISTRIBUTE Instance method Protected Method Do we still have values to distribute 20121211
8 RESTRICT_TO_VALID_COMBINATIONS Instance method Protected Method Restrict the data to only to the valid combinations 20121211
9 SET_DISTRIBUTION_BY_REFERENCE Instance method Protected Method Process KFs for the distribution by reference 20121211
10 SET_EQ_DISTRIBUTION_AND_COPY Instance method Protected Method Process KFs for the distribution type 'Equal' and 'Copy' 20121211
11 SET_REMAINING_VALUES Instance method Protected Method Distribute the remaining values 20121211
Events
Class CL_RSCRM_IMP_PF_DIS_VALUES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_CONDITION Protected See coding Characteristic selection for the key figure value 20121211 BEGIN OF lty_condition, seqnr TYPE i, t_cha_sel TYPE rspls_ts_sel, r_cha_sel_wa TYPE REF TO data, r_empty_wa TYPE REF TO data, END OF lty_condition
2 LTY_KYFUNIF Protected See coding Key figure unit information 20121211 BEGIN OF lty_kyfunif, uninm TYPE rsiobjnm, cukynm TYPE rsiobjnm, kyfnm TYPE rsiobjnm, decimals TYPE i, END OF lty_kyfunif
3 LTY_KYF_VALUE Protected See coding Key figure value to be set 20121211 BEGIN OF lty_kyf_value, seqnr TYPE i, kyf_name TYPE rsiobjnm, kyf_value TYPE decfloat34, ref_kyfnm TYPE rsiobjnm, distype TYPE rschavl, count TYPE i, difference TYPE decfloat34, remaining_to_dist TYPE decfloat34, ref_sum_value TYPE decfloat34, decimals TYPE i, rounding_needed TYPE abap_bool, END OF lty_kyf_value
4 LTY_RULE Protected See coding Planning function rule 20121211 BEGIN OF lty_rule, rulepos TYPE rsplf_rulepos, t_kyf_values TYPE lty_tab_kyf_values, t_conditions TYPE lty_tab_conditions, create_combi TYPE abap_bool, equal_dist TYPE abap_bool, ref_dist TYPE abap_bool, END OF lty_rule
5 LTY_TAB_CONDITIONS Protected See coding Table of characteristic selection for the key figure value 20121211 lty_tab_conditions TYPE HASHED TABLE OF lty_condition WITH UNIQUE KEY seqnr
6 LTY_TAB_KYFNM Protected See coding Table of all key figures available in the info provider 20130109 lty_tab_kyfnm TYPE SORTED TABLE OF rsiobjnm WITH UNIQUE DEFAULT KEY
7 LTY_TAB_KYFUNIF Protected See coding Table of key figure unit information 20121211 lty_tab_kyfunif TYPE HASHED TABLE OF lty_kyfunif WITH UNIQUE KEY kyfnm
8 LTY_TAB_KYF_VALUES Protected See coding Table of key figures values to be set 20121211 lty_tab_kyf_values TYPE SORTED TABLE OF lty_kyf_value WITH UNIQUE KEY seqnr distype kyf_name
9 LTY_TAB_RULES Protected See coding Table of planning function rules 20121211 lty_tab_rules TYPE SORTED TABLE OF lty_rule WITH UNIQUE KEY rulepos
Method Signatures

Method COUNT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KYF_VALUES Call by reference Type reference (TYPE) LTY_TAB_KYF_VALUES Table of key figures values to be set 20121211
2 Importing IT_CONDITIONS Call by reference Type reference (TYPE) LTY_TAB_CONDITIONS Table of characteristic selection for the key figure value 20121211
3 Importing I_TH_DATA Call by reference Type reference (TYPE) HASHED TABLE Transaction Data 20121211

Method COUNT_DATA on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method CREATE_OPTIMIZED_CHA_SEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CONDITION Call by reference Type reference (TYPE) LTY_CONDITION Characteristic selection for the key figure value 20121211

Method CREATE_OPTIMIZED_CHA_SEL on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method GET_CURRENCY_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CONDITIONS Call by reference Type reference (TYPE) LTY_TAB_CONDITIONS Table of characteristic selection for the key figure value 20121211
2 Importing IV_CUKY_NAME Call by reference Type reference (TYPE) RSIOBJNM Currency info object name 20121211
3 Importing IV_SEQNR Call by reference Type reference (TYPE) I Key figure sequence number 20121211
4 Returning RV_CUKY_VAL Value transfer Type reference (TYPE) RSD_CUKY Currency value 20121211

Method GET_CURRENCY_VALUE on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method GET_ROUNDING_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_KYF_VALUE Call by reference Type reference (TYPE) LTY_KYF_VALUE Key figure value to be set 20121211
2 Importing IT_CONDITIONS Call by reference Type reference (TYPE) LTY_TAB_CONDITIONS Table of characteristic selection for the key figure value 20121211

Method GET_ROUNDING_INFO on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method GET_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RULE Call by reference Type reference (TYPE) LTY_RULE Planning function rule 20121211
2 Importing I_R_MSG Call by reference Object reference (TYPE REF TO) IF_RSPLFA_MSG Messages for Parameter Check 20121211
3 Importing I_R_PARAM_SET Call by reference Object reference (TYPE REF TO) IF_RSPLFA_PARAM_SET Record of Parameter Values 20121211

Method GET_RULES on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method GET_UNIT_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CONDITIONS Call by reference Type reference (TYPE) LTY_TAB_CONDITIONS Table of characteristic selection for the key figure value 20121211
2 Importing IV_SEQNR Call by reference Type reference (TYPE) I Key figure sequence number 20121211
3 Importing IV_UNIT_NAME Call by reference Type reference (TYPE) RSIOBJNM Unit info object name 20121211
4 Returning RV_UNIT_VAL Value transfer Type reference (TYPE) RSD_UNIT Unit value 20121211

Method GET_UNIT_VALUE on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method IS_REMAINING_TO_DISTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KYF_VALUES Call by reference Type reference (TYPE) LTY_TAB_KYF_VALUES Table of key figures values to be set 20121211
2 Returning RV_REMAINING_TO_DISTRIBUTE Value transfer Type reference (TYPE) ABAP_BOOL Is still values to redistribute 20121211

Method IS_REMAINING_TO_DISTRIBUTE on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method RESTRICT_TO_VALID_COMBINATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TH_VALID_DATA Call by reference Type reference (TYPE) HASHED TABLE Transaction Data (Only valid combinations) 20121211
2 Importing I_TH_DATA Call by reference Type reference (TYPE) HASHED TABLE Transaction Data 20121211

Method RESTRICT_TO_VALID_COMBINATIONS on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method SET_DISTRIBUTION_BY_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KYF_VALUES Call by reference Type reference (TYPE) LTY_TAB_KYF_VALUES Table of key figures values to be set 20121211
2 Changing C_TH_DATA Call by reference Type reference (TYPE) HASHED TABLE Transaction Data 20121211
3 Importing IT_CONDITIONS Call by reference Type reference (TYPE) LTY_TAB_CONDITIONS Table of characteristic selection for the key figure value 20121211

Method SET_DISTRIBUTION_BY_REFERENCE on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method SET_EQ_DISTRIBUTION_AND_COPY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KYF_VALUES Call by reference Type reference (TYPE) LTY_TAB_KYF_VALUES Table of key figures values to be set 20121211
2 Changing C_TH_DATA Call by reference Type reference (TYPE) HASHED TABLE Transaction Data 20121211
3 Importing IT_CONDITIONS Call by reference Type reference (TYPE) LTY_TAB_CONDITIONS Table of characteristic selection for the key figure value 20121211
4 Importing IV_REF_DIST Call by reference Type reference (TYPE) ABAP_BOOL Some key figure are distributed by reference 20121211

Method SET_EQ_DISTRIBUTION_AND_COPY on class CL_RSCRM_IMP_PF_DIS_VALUES has no exception.

Method SET_REMAINING_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KYF_VALUES Call by reference Type reference (TYPE) LTY_TAB_KYF_VALUES Table of key figures values to be set 20121211
2 Changing C_TH_DATA Call by reference Type reference (TYPE) HASHED TABLE Transaction Data 20121211
3 Importing IT_CONDITIONS Call by reference Type reference (TYPE) LTY_TAB_CONDITIONS Table of characteristic selection for the key figure value 20121211

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