Skip to Content
0
Former Member
Feb 21, 2009 at 06:05 AM

FOX Formula Error

336 Views

Hi All,

My code is :

DATA A1 TYPE 0INFOPROV.

DATA A2 TYPE ZGBB1.

DATA A3 TYPE ZPRC_LVL.

FOREACH A2,A3.

IF A1 = 'ZICHMPA1'.

ZPY_SLS = ZPY_SLS + ZPY_SLS * 20/100

{ZCY_SLSA, 'ZICHMPP2', A2, A3} = {ZPY_SLS, ZICHMPA1, A2, A3}.

ENDIF.

ENDFOR.

Operand:{Key figure name, 0INFOPROV, ZGBB1, ZPRC_LVL}

Here multiprovider is on ZICHMPA1 (Actual) and ZICHMPP2 (Plan) cube. I am trying to copy ZPY_SLS + ZPY_SLS * 20/100 (ZPYSLS is actual Key figure) to ZCY_SLSA (Plan key figure). Following is the error after check formula.

Formula error: Characteristic-dependent operand expected instead of ZPY_SLS

Syntax error in row 19, column 1

Pls help

Thanks

Amit