Current Position:Home > How using ABAP function in fox formula ?

How using ABAP function in fox formula ?

Update:12-10Source: network consolidation
I want to launch standard function :"RSW_CURRENCY_TRANSLATION" by Fox formula. I declare this function in SAP Table :rsplf_fdir, and I can call this function by fox, with all parameters.
But when I want to use it, I've a problem with the first parameter : "Formula error: Type RSR_CTTNM is not permitted"
What's the solution ?
Best regards,

The Best Answer

Hi Cyril,
I read the fact that you have chosen to use CURC instead of the Function Module.
Did you fix your exchange rate type in your CURC formula: For example:
Or did you make into a variable, that can be chosen at run time?
I'm asking because I'm trying to make the 'exchange rate type' in this formula to be more dynamic (like a local variable).For example:
But the system returns the error meesage that it doesn't recognise 'EXRATE_V' even though i have declared it earlier on. So I have a fear that the system is expecting me to enter a fixed exchnage rate type that exists in RSCUR, in this formula..!!  Is that true??
I don't want it to be fixed in the formula, it should be chosen at time of planning. How do you have yours right now? Do you know why I get this error message, and what I need to do to in the FOX formula, to make sure it can be populated at run time?
Thanks for your help and information in advance.
  • How using ABAP function in fox formula ? Update:12-10

    Hello, I want to launch standard function :"RSW_CURRENCY_TRANSLATION" by Fox formula. I declare this function in SAP Table :rsplf_fdir, and I can call this function by fox, with all parameters. But when I want to use it, I've a problem with the

  • How to implement this planning function using Fox formula Update:10-11

    Hello, I am new to Fox. I want to implement this complex logic in a planning function i have A (Kf X from infoprovider Z_A), B (Kf Y from infoprovider Z_B) & moreover there is one more condition, If current FISCPER > variable value of FISCPER KF Z

  • How to change the variable value in fox formula? Update:10-11

    Hi All,     Please help me achieve this scenario,          in the variable selection screen , i wil give some i/p like, calyear(0calyear) = 2008.       In planing function using FOX formula, i must be able change the variable value to 2009.   Will it

  • Fox formula - Copy variable value to a characteristic in IP Update:10-11

    Hi All, I have to copy the value of a variable to a characteristic in Fox formula in IP. In this scenario I am forecasting data using copy function. Whenever new data is copied I need to save it as a new version. So in the fox formula I have mentione

  • How to call standard planning function in FOX code Update:10-11

    Hi, I want to call std. Distribution by reference planning function in FOX formula. Through CALL FUNCTION std planning functions can not be used. My requirement is that because I need to execute this distribution function thousands of times with diff

  • How to Write a FOX Formula in Intergrated Planning Functions? Update:11-30

    HI BI-IP Experts, I have just written a FOX formula to call an ABAP Function Module which will execute a Process CHain to run. Here is what I wrong in the FOX formula in the Planning Function ZPF_FOX_CALL_PC. Call Function Z_CALL_PROC_CHAIN = * 1. I

  • FOX forumla in IP: can I use Planing-functions in a FOX-formula ? Update:11-30

    Hi All, I know that there is a possibility to call an ABAP functions via a function modules within a FOX formula, but is it also possible to use a standard planning functions in a FOX formula ? I have some planing functions created like the copy-func

  • Type error while calling function module with in FOX formula Update:11-30

    Hi, I am getting following error while calling function module from FOX Formula: "Types of parameter DAY_IN () and variable J_CALDAY(D) are inconsistent" Following is the code: DATA    I_CALDAY       TYPE  0CALDAY. DATA    N_CALDAY       TYPE  0

  • Fox Formula vs ABAP Update:11-30

    Hi guys, I'm working with a Material Hierarchy (Main Group (MG)(0PRODH1), Group(G) (0PRODH2), Subgroup (0PRODH3) (SG) and Mat (0MATERIAL). In my Planning package I have a specific Hierarchy Node for 0MATERIAL. I need to perform a calculation in diffe

  • Fox formula for actual/plan data  - Planning function Update:11-30

    Hello, I am working on the following scenarios for developing a  planning functions for a monthly forecast. It is rolling montly forcast where user starts the planning in Jan and he has to show the actaul value for the month of Jan and blank values f