on 06-22-2010 9:10 AM
I would like to call a Function Module within a Fox Formula and als manipulate the planning data.
DATA LINE TYPE ZBPLINE.
DATA FISCPER TYPE 0FISCPER.
Calculating 0AMOUNT based on zfiscper and zbpline = V1 using FM, what should i declare for Amount.
IF LINE = V1.
CALL FUNCTION ZFICO_PROJECTION_CALC
EXPORTING
ZFISCPER = FISCPER
ZBPLINE = LINE
IMPORTING
VALUE = AMOUNT.
{0AMOUNT,FISCPER,17} = AMOUNT/100{0AMOUNT,FISCPER,1A} + AMOUNT/100{0AMOUNT,FISCPER,1B}
+ AMOUNT/100*{0AMOUNT,FISCPER,1C}.
ENDIF.
Please assist.
Hi.
What exactly the problem ?
Instead of that you should define DATA ANOUNT TYPE F I don't see any problem.
Do you get any error message ?
Regadrs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. The error has now been elimated. The only issue is that i dat the formula reads records but it does not generate or change anything please assist
DATA LINE TYPE ZBPLINE.
DATA FISCPER TYPE 0FISCPER.
DATA AMOUNT TYPE F.
DATA INFOPROV TYPE 0INFOPROV.
CALL FUNCTION ZFICO_PROJECTION_CALC
EXPORTING
ZFISCPER = FISCPER
ZBPLINE = V1
IMPORTING
VALUE = AMOUNT.
{0AMOUNT,FISCPER, ZFIGLC10P, 17} = AMOUNT/100{0AMOUNT,FISCPER , ZFIGLC10P, 1A} + AMOUNT/100{0AMOUNT,FISCPER, ZFIGLC10P, 1B} + AMOUNT/100*{0AMOUNT,FISCPER, ZFIGLC10P, 1C}.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.