Skip to Content
0
Former Member
Aug 10, 2010 at 12:55 PM

FOX Formula definition

42 Views

Greetings All!!!

I am recieving an error

Types of parameter RATE (P) and variable RATE1(F) are inconsistent ..

I am using following FOX code

DATA FISC_VAR TYPE 0FISCVARNT.

DATA FISCYEAR TYPE 0FISCYEAR.

DATA RATE1 TYPE F.

FOREACH FISCYEAR.

CALL FUNCTION ZPLAN_SYS_VAR

EXPORTINg

CURRENT_YEAR = FISCYEAR

FISCAL_VAR =FISC_VAR

IMPORTING

RATE = RATE1.

ENDFOR.

Where the type of field RATE in FM is Decimel 17 long and 3 decimal place.

Please treat this on priority