‎2013 Sep 27 8:55 AM
Good morning everybody,
as it is in the subject, I get a Fehlermledung while executing the planning function, for more details:
So I've created a planning function is to work with call funtion of FOX formula (please see below)
"LV_RESULTVAR DATA TYPE I.
CALL FUNCTION ZADVAREXIT_FORMULA_ICK_01
EXPORTING
VAR_COSTS = ZLMUCOST
VAR_DBR = ZLMUDBR
IMPORTING
EV_RESULT = LV_RESULTVAR. "
in SE80 I used a very simple program:
"EV_RESULT = VAR_COSTS + VAR_DBR."
maybe someone here can help with.
Greeting ichtouk
P.S: in SE80 (Please see photos)
‎2013 Sep 27 9:26 AM
Hi,
please check the variables or tables which are passing to function module ,
u have not declared as function module variable declaration.
if u post the dumpit helps.
‎2013 Sep 27 10:16 AM
Hi Ismail,
You first need to convert the values of var_costs and var_dbr into integer format then, make the addition and assign the result to ev_result.
‎2013 Sep 27 10:33 AM
‎2013 Sep 27 11:36 AM
Hi friend,
We need to follow these things explicitly.
1. When you call a FM to your Program, Please check the data type of the parameters which you are going pass the values to it.
If you are mapping the different data type it will lead to type conflict.
Thanks
Pavan.N