Dear all,
I have kf name ZCONST .
I need to fill ZCONST for all the lines i have added, depending on my selected month and currency.
I have defined a formula but i receive several errors.
Should it be something like that or where i am wrong?
Thanks.
DATA TCURR TYPE 0CURRENCY
DATA TMONTH TYPE 0CALMONTH .
IF TCURR = 'EUR' AND TMONTH = '01.2009'.
= 3 .
[ELSEIF TCURR = 'USD' AND TMONTH = '01.2009'.
= 2 .]
[ ELSE ZCONST = 5 .]
ENDIF.
Edited by: john mcquade on Jun 9, 2009 10:42 AM