Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FOX using Function Module

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.

Former Member
Former Member replied

Hi.

Which data type has VALUE in FM ?

You should set data type in FM for VALUE as data type of AMOUNT.

Regadrs.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question