Skip to Content
0
Former Member
Apr 23, 2007 at 10:02 AM

Use value of KEYFIGURE_NAME when call a function in FOX Formula

68 Views

Hi All,

In my fox formula, I have call a function which use the name of each of my key figures. But when I tried to save my FOX formula there is a warning message and nothing is saved.

Warning message : "Length of parameter IV_KF_NAME(000016) and variable RATIO(000000) are inconsistent"

How is define KEYFIGURE_NAME ??

DATA RATIO TYPE KEYFIGURE_NAME.

DATA CO_AREA TYPE 0CO_AREA.

DATA COUNTRY TYPE 0COMP_CODE.

DATA VISIBILITY TYPE I.

FOREACH RATIO.

CALL FUNCTION ZCOPA_AUTH_IN_FOX_USEREXIT

EXPORTING

IV_CONTR_AREA = CO_AREA

IV_COUNTRY = COUNTRY

IV_USER = UNAME

IV_KF_NAME = RATIO

IV_AREA = 'COPA04M1'

IMPORTING

  • EV_VISIBILITY = VISIBILITY

  • EV_ERROR =

  • EV_ERROR =

.

...

ENDFOR.

Thanks everyone.