cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cannot convert key figure value to metrics unit or currency

Former Member
0 Likes
219

Hello experts,

we have some metrics in the fin info tab. while moving to this tab there is some error coming.

Cannot convert key figure value to metrics unit or currency.

have already checked the Definition of key figures and mapping of metrics Looks fine.

Any suggestions ?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

judith_gabriel
Product and Topic Expert
Product and Topic Expert
0 Likes

Dear Lin,

you can set a breakpoint at the following coding part where the message INM_METRICS 103 - "Cannot convert key figure value to metrics unit or currency" is created:

Webdynpro: INM_M_METRICS_COMP               

COMPONENTCONTROLLER

Method: CONVERT_TO_METRIC_CURR     

Method: Convert_to_metric_uom



Also set a breakpoint at function module INM_KFM_GET_KF_DEF_USAGE and check, if the unit/curr

can be determined:

FM: INM_KFM_GET_KF_DEF_USAGE

*   determine user_id, kf_unit, kf_curr
*   from db
SELECT SINGLE kf_exe_user kf_unit kf_curr kf_decimals FROM kfm_kf_adm_var
INTO (lv_kf_exe_user, lv_kf_unit, lv_kf_curr, lv_kf_decimals)
WHERE kf_adm_var = ls_kfm_kf_assignment-kf_adm_var.


best regards,

Judith

Former Member
0 Likes

Hi Judith,

set a breakpoint in both the methods. within the method convert_to_metric_curr. it stopped many times and the currency was not there hence the message 103 came.

the functuion module also executed many times and here the unit was empty always.

Please advise.

Thanks