EVAL_IV_KEYFIGURE_DETERMINE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name EVAL_IV_KEYFIGURE_DETERMINE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
VE_IV_EVALUATE
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'EVAL_IV_KEYFIGURE_DETERMINE' "
EXPORTING
event = " ve_iv_event
* t_keyfigures_persistent = " eval_iv_pers_itm_t
* t_keyfigures_eval_itm = " eval_iv_keyfig_itm_t
* t_keyfigures_eval_hd = " eval_iv_key_hd_t
* t_keyfigures_absolut_itm = " abs_iv_keyfig_itm_t
* t_keyfigures_absolut_hd = " abs_iv_keyfig_hd_t
* s_keyfig_dynamic_hd = " rbkp
* t_range_belnr = " eval_iv_belnr_range_t
* t_range_gjahr = " eval_iv_gjahr_range_t
* t_range_bukrs = " eval_iv_bukrs_range_t
IMPORTING
t_eval_iv_work_itm = " eval_iv_work_itm_t
t_eval_itm_ins = " eval_iv_result_itm_t
t_eval_itm_upd = " eval_iv_result_itm_t
t_eval_hd_ins = " eval_iv_result_hd_t
t_eval_hd_upd = " eval_iv_result_hd_t
t_key_to_delete_itm = " eval_iv_err_itm_t
t_key_to_delete_hd = " eval_iv_err_hd_t
t_key_fault_del_itm = " eval_iv_err_itm_t
t_err_hd = " eval_iv_err_hd_t
t_err_itm = " eval_iv_err_itm_t
* TABLES
* t_keyfig_dynamic_itm = " mrmrseg
. " EVAL_IV_KEYFIGURE_DETERMINE
The ABAP code below is a full code listing to execute function module EVAL_IV_KEYFIGURE_DETERMINE including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_t_eval_iv_work_itm | TYPE EVAL_IV_WORK_ITM_T , |
| ld_t_eval_itm_ins | TYPE EVAL_IV_RESULT_ITM_T , |
| ld_t_eval_itm_upd | TYPE EVAL_IV_RESULT_ITM_T , |
| ld_t_eval_hd_ins | TYPE EVAL_IV_RESULT_HD_T , |
| ld_t_eval_hd_upd | TYPE EVAL_IV_RESULT_HD_T , |
| ld_t_key_to_delete_itm | TYPE EVAL_IV_ERR_ITM_T , |
| ld_t_key_to_delete_hd | TYPE EVAL_IV_ERR_HD_T , |
| ld_t_key_fault_del_itm | TYPE EVAL_IV_ERR_ITM_T , |
| ld_t_err_hd | TYPE EVAL_IV_ERR_HD_T , |
| ld_t_err_itm | TYPE EVAL_IV_ERR_ITM_T , |
| it_t_keyfig_dynamic_itm | TYPE STANDARD TABLE OF MRMRSEG,"TABLES PARAM |
| wa_t_keyfig_dynamic_itm | LIKE LINE OF it_t_keyfig_dynamic_itm . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_t_eval_iv_work_itm | TYPE EVAL_IV_WORK_ITM_T , |
| ld_event | TYPE VE_IV_EVENT , |
| it_t_keyfig_dynamic_itm | TYPE STANDARD TABLE OF MRMRSEG , |
| wa_t_keyfig_dynamic_itm | LIKE LINE OF it_t_keyfig_dynamic_itm, |
| ld_t_eval_itm_ins | TYPE EVAL_IV_RESULT_ITM_T , |
| ld_t_keyfigures_persistent | TYPE EVAL_IV_PERS_ITM_T , |
| ld_t_eval_itm_upd | TYPE EVAL_IV_RESULT_ITM_T , |
| ld_t_keyfigures_eval_itm | TYPE EVAL_IV_KEYFIG_ITM_T , |
| ld_t_eval_hd_ins | TYPE EVAL_IV_RESULT_HD_T , |
| ld_t_keyfigures_eval_hd | TYPE EVAL_IV_KEY_HD_T , |
| ld_t_eval_hd_upd | TYPE EVAL_IV_RESULT_HD_T , |
| ld_t_keyfigures_absolut_itm | TYPE ABS_IV_KEYFIG_ITM_T , |
| ld_t_key_to_delete_itm | TYPE EVAL_IV_ERR_ITM_T , |
| ld_t_keyfigures_absolut_hd | TYPE ABS_IV_KEYFIG_HD_T , |
| ld_t_key_to_delete_hd | TYPE EVAL_IV_ERR_HD_T , |
| ld_s_keyfig_dynamic_hd | TYPE RBKP , |
| ld_t_key_fault_del_itm | TYPE EVAL_IV_ERR_ITM_T , |
| ld_t_range_belnr | TYPE EVAL_IV_BELNR_RANGE_T , |
| ld_t_err_hd | TYPE EVAL_IV_ERR_HD_T , |
| ld_t_range_gjahr | TYPE EVAL_IV_GJAHR_RANGE_T , |
| ld_t_err_itm | TYPE EVAL_IV_ERR_ITM_T , |
| ld_t_range_bukrs | TYPE EVAL_IV_BUKRS_RANGE_T . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EVAL_IV_KEYFIGURE_DETERMINE or its description.