Debugging FOX in 7.4

Hi everybody,
does anybody know how to debug fox formulas in BW 7.4 using the new debugging script RSPLFC_DEBUGGING_SCRIPT_FOX?
How can this script be started? I couldn't find anything on the web.
Best regards
Michael

Using Debugging Script in general
with the new ABAP debugger
When the debugger is started go to the tab
‘Script’.
By pressing the large ‘Load Script’ button,
a sub-screen comes up. Here  you choose option
database and the Script Name you want to use.
Enter and the scipt name will be visible under
Name in the section Script in the field Name.
Then press the ‘Start Script’ button and
script is started.
FOX Debugging Script RSPLFC_DEBUGGING_SCRIPT_FOX
Starting the debugging script
RSPLFC_DEBUGGING_SCRIPT_FOX with 7.4 SP6 and 7.3/7.31 SP11
This FOX debugging script can be watch
variable values, active data  in the
buffer and reference data.
On can step through loops and watch how the
data changes. It is described in detail in the blog from Hans-Georg Beuter
Load and Start Script RSPLFC_DEBUGGING_SCRIPT_FOX
in new Debugger. By either seetting Break-point in script or in class
CL_RSPLFC_FORMULA->EXECUTE
Then Set Break-Point, Start Debugging

Similar Messages

  • FOX tips n tricks in IP

    Hi Marc,
                 1. As discussed in the webinar, I would like to know how to find the generated ABAP program for the FOX , so that I can debug it.
    Kindly let us know all possible ways of debugging a FOX in IP.
                 2. What is the ABAP Program that I can use to copy a Aggregation level to another one with all dependent filters etc?(In IP).
    Thanks

    To debug FOX:
    1) set BREAK-POINT. in your FOX formula
    2) Create a planning sequence with this formula
    3) Transaction SE38 execute report RSPLS_PLSEQ_EXECUTE
    -> By doing so you can execute a planning sequence and go in debugging mode
    regards
    Dries

  • BI-IP: Formula FOX - Debug & Break-Point

    Hello,
    BI-IP compiles the command "BREAK-POINT" in the Formula FOX source code. But it does not debug when the planning function is "executed with trace" (sequences).
    Is there any possibility in BI-IP to debug the FOX code?
    regards
    Eckhard Lewin

    Hi JW,
    when use execute report RSPLS_PLSEQ_EXECUTE, key in your planning sequence. Then hit enter! You will see that the possible selection variants will change. If you do not hit enter in between, you won't see your variant.
    gr
    Dries

  • Sap crm 7.0 Browser settings  for explorer 6.0 and Mozila Fire fox 6.0

    In web Ui, when ever i try to create a new opportunity, Quotation, Sales agreement or order, I am getting an error in brower. in a popup :
    An error has occured in the script on this page
    Error: Oject doesnt support this property or method or Invalid Argument in Explorer 6.0.
    I tried installing Mozila to check whether this is a browser issue, But there also
    error is This website, does not supply ownership information connection is not encrypted.
    I have tried changing the settings in Explore 6.0 to enable the following
    1. Click the Security tab
    2. In the resulting window, click the Custom Level button to open the Active X settings.
    3. Under ActiveX controls and plug-ins the settings should be:
    4. Automatic prompting for ActiveX controls: Enable
    5. Binary and script behaviors: Enable
    6. Download signed ActiveX controls: Prompt
    7. Download unsigned ActiveX controls: Prompt
    8.Initialize and script ActiveX controls not marked safe: Prompt
    9.Run ActiveX controls and plug-ins: Enable
    10.Script ActiveX controls marked safe for scripting: Enable
    11.Under Downloads the settings should be:
    12.Automatic prompting for file downloads: Enable
    13.File Download: Enable
    14.Click Ok to close the window.
    Still same issue persist, Please help to resolve this issue

    Hi,
    I have tried this adding the SAP crm to the popup blocker, still the error is there.  any other input to make this IE 6 work.
    Still the same error : Internet exploer script error
    Line :163, Char 1, Error : object doesnt support this property or method., code : 0
    Line :77, Char :89,Error : invalid argument.
    I tried installing Fire fox to test : but in fire fox also i am encountering this error:
    This website does not supply identity information. Your connection to this website is not encrypted.
    Technical details : Connection not encrypted. the website does not support encryption for the page you are veiwing.
    Information sent over internet without encryption can be seen by other people while it is in transit.
    I have tried this with internet explorer6.0, but no progress:
    If the issue persists, follow these steps:
    1. Close all instances of Internet Explorer.
    2. Click Start, click Control Panel, and then double-click Internet Options.
    3. Click the Advanced tab.
    4. Under Browsing, click to clear the Enable third-party browser extensions (requires restart) check box.
    5. Restart Internet Explorer.
    If the issue persists, follow these steps:
    1. Open Internet Explorer.
    2. Click Tools, and click Internet Options.
    3. Click the Advanced tab.
    4. Under Browsing, click to select the Disable Script Debugging check box.
    5. Click OK to close all windows, and then restart the computer.
    Please help to resolve this issue
    Edited by: Karthik J on Oct 6, 2011 10:50 AM

  • FOX Formula works in IP Modeler but not in BEx Workbook

    Hi, I've created a FOX function to do a series of actions.
    If I test the function with a simple filter and execute with trace in Modeler I get exactly the results I want. For example, 5 rows read, 4 rows modified, 4 rows deleted.
    If I add the function as a button on a workbook associated with a data provider (input-ready query) I only get 5 rows read but no rows modified or deleted.
    What is happening? Is there a way to know exactly why he is reading the data but not changing it as required? I think the function is reading the same set of data because it is finding 5 rows in both cases. Any ideas on how I can debug the function or find what what kind of data the function is reading or not reading so that it doesn't execute the code?

    One final question. I am trying to use the sequence in the workbook. I want the variables used by the sequence (in the planning function) to take the values that I entered in the query when entering the workbook. I am using the same variables in both places.
    CMD                                         1 EXECUTE_PLANNING_SEQUENCE
    PLANNING_SEQUENCE_NAME 1 PL06_PS01
    VAR_NAME_1                           1 FISCY
    VAR_NAME_2                           1 Y_VERSION
    VAR_NAME_3                           1 YBP_FCTR_INT
    If I execute like this I get error messages saying I am missing VAR_VALUE_1 and so on but the sequence executes as I intended. What is happening? Do I need to add the VAR_VALUE lines? I don't think so... so why the error messages if the sequence is running and working properly now?
    Additional points will be distributed for help on this issue.

  • Problem with Nested loop in Fox-Formula

    Dear Experts,
    Let s share the scenario :
    MaterialGroups with following Keys for Example AAAA, BBBB, CCCC..., Materialgroups are selected in the 1st input ready query, which is assigned to DataProvider DP_1 in a  webtemplate.
    every Materialgroup has several Materials, for instance:
    Materialgroup AAAA has following Materials: AAAA10, AAAA11, AAAA12, AAAA13...
    Materials are  selected in a second  input ready Query, which is assigned to a second DataProvider DP_2 in the Same Webtemplate as the query 1.
    Both Materialgroup and Material are based on the same Aggreagtion level and same real time cube.
    I want to copy the input values for every  MaterialGroup ( 1st query, DP_1) only to it s own Materials (2cond Query, DP_2).
    To resolve this Issue i wrote the following Fox Formula code with a nested loop, however it does not work properly. when I m debugging the code, i could release that the second Loop was ignored.but wehn i replace the second loop (nested loop) with a fixed value it s seems to work properly
    DATA MG1 TYPE MATG.<------ MaterialGroup
    DATA MT1 TYPE MAT.<----
    Material
    DATA S1 TYPE STRING.
    DATA S2 TYPE STRING.
    DATA S3 TYPE STRING
    DATA K TYPE F.
    DATA Z TYPE F.
    FOREACH MG1.
    To check Materialgroup in debugger
    S1= MG1.
    BREAK-POINT.
    K = {KEYfIG, #, MG1}.
    BREAK-POINT.
    FOREACH  MT1.   <----- if i set MT1 to a fixed value like AAAA11 then S3 get the wished value namely AAAA
    S2 = MT1.
    BREAK-POINT.
    S3 =  SUBSTR (MT1, 0, 4).  
    BREAK-POINT.
    IF S1 = S3.
    {KEYFIG, MT1, #} = K.
    following Statement is only used To check in debugger if Material has become the same Materialgroup value
    Z = {KEYFIG, MT1, #}.
    BREAK-POINT.
    ENDIF.
    ENDFOR.
    ENDFOR.
    Thakns for any help
    Frank
    Edited by: FRYYYBM on Mar 17, 2011 10:54 PM
    Edited by: FRYYYBM on Mar 17, 2011 11:06 PM

    Hi,
    Please try this way.
    DATA MG1 TYPE MATG.<------ MaterialGroup
    DATA MT1 TYPE MAT.<----
    Material
    DATA S1 TYPE STRING.
    DATA S2 TYPE STRING.
    DATA S3 TYPE STRING
    DATA K TYPE F.
    DATA Z TYPE F.
    FOREACH MT1.
    FOREACH MG1.
    To check Materialgroup in debugger
    S1= MG1.
    BREAK-POINT.
    K = {KEYfIG, #, MG1}.
    BREAK-POINT.
    FOREACH MT1. <----- if i set MT1 to a fixed value like AAAA11 then S3 get the wished value namely AAAA
    S2 = MT1.
    BREAK-POINT.
    S3 = SUBSTR (MT1, 0, 4).
    BREAK-POINT.
    IF S1 = S3.
    {KEYFIG, MT1, #} = K.
    following Statement is only used To check in debugger if Material has become the same Materialgroup value
    Z = {KEYFIG, MT1, #}.
    BREAK-POINT.
    ENDIF.
    ENDFOR.
    ENDFOR.
    ENDFOR.
    Thanks.
    With regards,
    Anand Kumar

  • How to turn off Currency Conversion within the execution of Fox code

    Hi All:
    We have a number of custom key figures defined in a Planning Layout.
    We had wanted to define those fields as type CURR with 4 Decimals, however it appeared that 2 Decimals was the maximum we could specify.  We therefore wound up using Type FLOATING POINT with 16 Decimals.
    In some Fox code that calculates these custom key figures we then use a ROUND statement to produce values such as 3.2735000000000000.
    When this Fox code executes in debug mode, I see a generated ABAP program running which includes Include programs RUPFGENTOP and RUPFGEN00.   This program executes a Form F_00001, which is essentially the Fox code. Here I can see the ROUND statement producing the desired result.  Right after though a Form TCURX_CONVERSION executes, which often reintroduces all 16 decimals, and I might get values, such as 3.2735000000000001 or 3.2734999999999998.   These small fractions cause other issues later on in the process.
    In our case we are not trying to convert an amount from one currency to another, so we don't understand why it even would try to do a currency conversion.
    My question:  is there any way to "turn off" this currency conversion routine?
    Please advise - any suggestions would be most welcome.
    Many thanks in advance,
    Robert van der Kam

    Hi Robert,
    the solution suggested by Anass only works for key figures of type number. For key figures of type amout or quantity it is not allowed to change the number of decimals. Especially for amounts the number on the DB can only be intepreted correctly knowing the currency. Depending on the currency the value 1 on DB may be 100. This is why the FOX does the TCURX_CONVERSION, a better word would be currency shift since currency values have to be scaled depending on the values maintained in table TCURX. Since FOX needs one common number type for calculations the shift is neccessary.
    This is the reason why amounts have only 2 decimals on DB, the real number of decimals comes from TCURX; no entry there means 2 decimals, i.e. not scaling is neccessary. This is why changing the number of decimals via domains might corrupt all data.
    It seems that you are using release 7.0x, in releases 7.3x internally uses DECFLOAT data type, thus the 'problems' coming from binary arithmetic in ABAP FLOAT will not occur any more.
    Regards,
    Gregor

  • What is the use of  fox formula in integrated planning

    what is the use of  fox formula in integrated planning

    Hi,
    just as a follow up - the FOX Extension Formula capability of the IP in BW is as others have mentioned - to help develop formulas to execute calculations during planning, forecasting, budgeting, etc. - it allows consultants, like myself, to develop these formulas without the help of an ABAP consultant - but creates ABAP programs behind the scenes.
    You can also use these ABAP programs separate from the IP component - once you create a FOX formula you can retrieve the ABAP program and then use it for other activities.
    With the FOX you can use variables in a formula, call another ABAP program, generate loops of data both master and transactional, allows IF, THEN statements, and a number of other activiities. There is a limit to the usefulness of the FOX formula process - you may find if the FOX formula is too complex or long that your process will run slowly during the calculations. If this is occurring you will need to debug your ABAP program to see if you can increaase the performance.
    Thanks and hope this helps, Pete

  • Prob with IF in FoX

    hi friends,
    Im copying the data from a basic infocube to a transactional cube ...i do have some restrictions for data.Iam using IF in the fox code for defining the restrictions.When i give a single value in IF the data is getting copied correctly ,but when i give multiple values using OR in IF ,all the records are not getting copied...
    this is the code iam using
    IF CUST = Y017 OR CUST = Y143A.
    IF DIVI = '02' OR DIVI = '05'.
    IF DOC_TYP = RE OR DOC_TYP = TA.
    { 0NET_VALUE, #, #, PLEVEL, #, #, USD, #, ZSPA_T01, PLANT, PCTR } = { 0NET_VALUE, #, CCA, #, CUST, DIVI, DOC_CUR, DOC_TYP, YZIN_C01, PLANT, PCTR }.
    Please give me your valueble inputs.
    Regards,
    Ravikanth

    Hi Ravi,
    is this the whole FOX code? If yes you should use your restrictions
    CUST = Y017 or CUST = Y143A
    DIVI = '02' OR DIVI = '05'.
    DOC_TYP = RE OR DOC_TYP = TA
    in the filter of the planning sequence. If the filter is defined this way, you do not need the if statements.
    Could you check this?
    Otherwise I suggest to debug your code, e.g. by setting the BREAK-POINT right before your first if statement in your FOX Code. In the debugger you can check if your IF statements are executed correctly.
    Regards Matthias Nutt
    SAP Consulting Switzerland

  • Execution of Fox Formula's

    Hi,
    I have a general question about Fox Formula's. We created a planning function based on a Fox Formula which should distribute values from region not-assigned to other regions. I debugged the Fox Formula and am quite surprised to see that the Fox logic is processed/called twice.
    Why is the Fox logic called twice ? Can anyone explain this ?
    For your info, in our case the first time the internal tables contain all assigned values for region, the second time the internal tables contain just the not-assigned region. This is horrible if you need to define calculated fields in Fox that make calculations based on the assigned and not-assigned data. I managed to solve this via putting the variables in the ABAP memory (via a self created ABAP function) but this is really a solution I am not too happy about.
    Any ideas about this behaviour of Fox ?

    Dear Subha,
    I am sure there are plently of options but what I usually do is the following :
    1) I place an endless loop in the Fox Code : e.g.
    DO.
    IF FLAG = 'X'.
    EXIT.
    ENDIF.
    ENDDO.
    2) I launch the Fox Function in my IP application which will then hang due to the endless loop.
    3) Via transaction SM50 I search for my process which is hanging and I take it in debugging mode via Process > Mode > Debugging in the menu
    4) You will then arrive in debugging mode in your Fox formula and you'll see that ABAP is generated based on your FOX.
    5) Then you jump outside the endless loop in debugging, in this example you put value X in field flag and start debugging as usual via single step or others (F5, F6, F7,...)

  • Summation problem in fox formula

    Hi friends,
    My requirement is....I have GL Account, PO Number, Vender, costcenter  Scroll number and amount is displaying in layout.
    I have one more field let say TotalAmount. in this field i have populate sum of GL and PO Combination...
    I have writen code in fox. Keeping GL Account, PO Number and amount in chaged fields..
    DATA SUM TYPE F.
    DATA SUM1 TYPE F.
    DATA SUM2 TYPE F.
    DATA PO TYPE EBELN.
    DATA GL TYPE 0GL_ACCOUNT.
    SUM = 0.
    *BREAK-POINT.
    FOREACH GL,PO .
    SUM1 =  {0AMOUNT,GL,PO}.
    SUM = SUM + SUM1.
    ENDFOR.
    {0PRICE,GL,PO} = SUM.
    As it is not giving me Accurate result....
    Itried in debug mode...and in trace ....fox is picking total cube values like GL Account, PO Number, Vender, costcenter  Scroll number  and summing up...But i want GL Account, PO Number wise.....
    One more thing if i remove GL Account, PO Number  from changed field...fox proposing for changed field...
    Thanks
    Raju

    Thanks for response...
    UR right....Please suggest me...the variables i have created on PO and GL should have which properties like
    Text Replacement - Characteristic Value.
    Replacement Type - User Defined right.
    Question 1 . should i restrict these variables in level or not. if  not so i have to remove PO and GL in changed fields and call variables in Fox right.
    Question 2. IF so what about my layout...
    or else please give a example if i create  variables for both..what exactly i have to do after that to effect the result values..

  • Problem in Fox Formula..

    Hi,
    Total field i require GL and PO Combination wise SUM(amount).
    Variables     
    Provisions - Circle     MU
    Fiscal year/period     003.2010
    Company code     RIL
    Controlling Area     RIL
    Header     
    Provisions - Circle     MU
    Fiscal year/period     003.2010
    Company code     RIL
    Transactions
    GL Acct     PONumbr     Costcenter     Vendr     SN     SD     Startdate     enddate     Amount     Total
    7145090     15958060     902604NM     284410     38     #     29.04.2010     31.05.2010     2000     3000
    7145090     15958060     902605NM     284410     39     #     29.04.2010     31.05.2010     1000     3000
    7145090     15958060     902607NM     284410     40     #     29.04.2010     31.05.2010     0000     3000
    7145090     15963284     902601NM     518274     49     #     29.04.2010     31.05.2010     4500     9500
    7145090     15963284     902601NM     345413     51     #     29.04.2010     31.05.2010     5000     9500
    7145090     15964545     902603NM     345413     52     #     25.05.2010     31.05.2010     8000     9600
    7145090     15964545     902603NM     345413     45     #     25.05.2010     31.05.2010     1600     9600
    Fields to be changed
    GL, PO , KF
    Fox Code
    DATA PO TYPE EBELN.
    DATA GL TYPE 0GL_ACCOUNT.
    DATA SUM TYPE F.
    SUM = 0.
    FOREACH GL,PO.
    SUM = SUM + {0AMOUNT,GL,PO}.
    endfor.
    {TOTAL,GL,PO}  = SUM.
    IF I SEE IN DEBUG MODE ..LOOP IS ACCESSING GL Acct,PONumbr     ,Costcenter,Vendr,SN,SD,Startdate,enddate WISE. AND IT IS NOT SUMMING UP BASED ON GL,PO........ EXPERTS PLZ PROVIDE UR SUGGETIONS.. Values should store in Cube...Not display mode.
    Edited by: Madhu YL on Jun 23, 2010 10:52 AM
    Edited by: Madhu YL on Jun 23, 2010 10:55 AM

    Hi,
    Can you try this fox code:
    fields to be changed : keyfigure,Costcenter, Vendr, SN, SD, Startdate, enddate
    foreach gl.
    foreach po.
    SUM = 0.
    foreach Costcenter, Vendr, SN, SD, Startdate, enddate.
    SUM = SUM + {0AMOUNT,Costcenter, Vendr, SN, SD, Startdate, enddate}.
    endfor.
    {TOTAL,Costcenter, Vendr, SN, SD, Startdate, enddate} = SUM.
    " i dnt know on which particular record you want to store the total. Please check this part.
    endfor.
    endfor.

  • Formula FOX erase plan values

    Hi all;
    I have a problem with a FOX formula.
    The goal of this one is to distribute the Quantity of Sales (ZG_QVV010) planned by Sub-Brand (ZSUBMARCA) to the Material according to a distribution key (ZCHDIST).
    I have the following formula:
    DATA CD TYPE 0DISTR_CHAN.
    DATA OV TYPE 0SALESORG.
    DATA MAT TYPE 0MATERIAL.
    DATA VER_PL TYPE 0VERSION.
    DATA VER_RE TYPE 0VERSION.
    DATA SUBM TYPE ZSUBMARCA.
    DATA GA TYPE ZGESTAREA.
    DATA CL TYPE ZCLIENE.
    VER_PL = VARV ('ZVERPLA').
    VER_RE = VARV ('ZVERREF').
    FOREACH CD, OV,SUBM, MAT, GA, CL.
    {ZG_QVV011,CD,MAT,OV,L,VER_PL,CL,GA,SUBM,ZUNPLAVN} =
    {ZG_QVV010,CD,#,OV,L,VER_PL,CL,GA,SUBM,ZUNPLAVN}*
    {ZCHDIST,CD,MAT,OV,#,VER_RE,CL,GA,SUBM,ZUNCHDIS}.
    ENDFOR.
    The problem is that I want to use the same key figure (ZG_QVV010) and not a new one (ZG_QVV011). But if I replace it, the system erases the plan values by Sub-brand (ZG_QVV010) and don’t inserted the new values.
    The goal is to have in the Cube this:
    ZSUBMARCA     MATERIAL QUANTITY
          01                   #                   100 (by sub-brand)
          01                   A     70     (new value for a distribution key 0,7)
          01                   B     30     (new value for a distribution key 0,3)
    Can anyone help me?
    Regards;
    Ricardo

    Hello Ricardo
    Well that is a surprise.
    Logically the only way you could get that outcome is if the result of
    {ZCHDIST,CD,MAT,OV,#,VER_RE,CL,GA,SUBM,ZUNCHDIS} equals 1.
    Try following to debug it:
    add to data declarations
    DATA A TYPE F.
    DATA B TYPE F.
    DATA C TYPE F.
    Then try the FOREACH as follows:
    FOREACH CD, OV,SUBM, MAT, GA, CL.
    IF MAT <> #.
    A = {ZG_QVV010,CD,#,OV,L,VER_PL,CL,GA,SUBM,ZUNPLAVN}.
    B = {ZCHDIST,CD,MAT,OV,#,VER_RE,CL,GA,SUBM,ZUNCHDIS}.
    C = {ZG_QVV010,CD,#,OV,L,VER_PL,CL,GA,SUBM,ZUNPLAVN}*
    {ZCHDIST,CD,MAT,OV,#,VER_RE,CL,GA,SUBM,ZUNCHDIS}.
    MESSAGE I001(UPF) WITH MAT A B C.
    *{ZG_QVV010,CD,MAT,OV,L,VER_PL,CL,GA,SUBM,ZUNPLAVN} =
    {ZG_QVV010,CD,#,OV,L,VER_PL,CL,GA,SUBM,ZUNPLAVN}
    *{ZCHDIST,CD,MAT,OV,#,VER_RE,CL,GA,SUBM,ZUNCHDIS}.
    ENDIF.
    ENDFOR.
    This should give an output with the values for each loop of the FOREACH where material is not # and help identify the problem.
    Chris

  • Debugging/Breakpoints in Flashbuilder 4

    Hi,
    There seems to be a bug in Flashbuilder 4 whereby it doesn't recognise changes/additions made to AS code. This means that firstly it completely ignores new code and secondly that I cannot set breakpoints properly. For example it allows me to set breakpoints on comments or where there is no code and won't let me set them where there is clearly code.
    The only solution I have found was to create a completely new class and copy and paste in the code, then all is well. FB recognises all the code and allows me to put breakpoints where I want them. But this is not a fast or ideal way of working.
    I have tried 'Clean' and restarting FB, both to no avail.
    Any solutions would be greatfully received.
    Many thanks,
    VB.
    PS This only started happening after purchasing the Standard version of the product - previously using the Premium trial version.

    Using Debugging Script in general
    with the new ABAP debugger
    When the debugger is started go to the tab
    ‘Script’.
    By pressing the large ‘Load Script’ button,
    a sub-screen comes up. Here  you choose option
    database and the Script Name you want to use.
    Enter and the scipt name will be visible under
    Name in the section Script in the field Name.
    Then press the ‘Start Script’ button and
    script is started.
    FOX Debugging Script RSPLFC_DEBUGGING_SCRIPT_FOX
    Starting the debugging script
    RSPLFC_DEBUGGING_SCRIPT_FOX with 7.4 SP6 and 7.3/7.31 SP11
    This FOX debugging script can be watch
    variable values, active data  in the
    buffer and reference data.
    On can step through loops and watch how the
    data changes. It is described in detail in the blog from Hans-Georg Beuter
    Load and Start Script RSPLFC_DEBUGGING_SCRIPT_FOX
    in new Debugger. By either seetting Break-point in script or in class
    CL_RSPLFC_FORMULA->EXECUTE
    Then Set Break-Point, Start Debugging

  • Multiplanning area FOX Formula

    Hi everyone,
    I’m trying to implement a Fox’s formula with multi-areas through integrated Planning, but the function does not bring any result,  it just says that has read 24 records, but it hasn’t modified nor created any record, when, in fact, are at least 4 thousand.
    The client request is that apply a correction factor over last year operation amounts. The correction factor is in a different Infocube than the others amounts.
    All the characteristics of the aggregation level are set as “characteristic to be changed”, which are all relevant fields of both infocubes, including the field "Infoprovider". Therefore when I want to reference a key figure I use them all, so, when one of the fields is not in the key figure’s Infoprovider, I declare  it (or set it) with the value "#", Is that procedure correct?.
    Ex. Characteristics in bold are not in the key figure's Infoprovider
    {Key Figure, 0COMP_CODE, 0COSTCENTER, 0COSTELMNT, 0CO_AREA, 0CURRENCY, 0FISCPER, 0FISCPER3, 0FISCVARNT, 0FISCYEAR, 0INFOPROV, 0PROFIT_CTR, 0VERSION, 0VTYPE, Z1AVERSIO, ZVAR_EC}
    Then, the string to reference this key figure is:
    { Z1AINDDVA, #, #, #, #, #, DAT_FYP1, DAT_FPER, VAR_FSCV, DAT_YBAS, ZBPS_VAR, #, VAR_VIPC, VAR_TVIE, VAR_IPCV , VAR_VREC}
    This is my FOX formula code:
    DATA CHA_CELM TYPE 0COSTELMNT.
    DATA CHA_CMCO TYPE 0COMP_CODE.
    DATA CHA_CECO TYPE 0COSTELMNT.
    DATA CHA_CURR TYPE 0CURRENCY.
    DATA CHA_COAR TYPE 0CO_AREA.
    DATA CHA_CEBE TYPE 0PROFIT_CTR.
    DATA DAT_YBAS TYPE 0FISCYEAR.
    DATA DAT_YDER TYPE 0FISCYEAR.
    DATA DAT_FPER TYPE 0FISCPER3.
    DATA DAT_FPR1 TYPE 0FISCPER3.
    DATA DAT_FYP1 TYPE 0FISCPER.
    DATA DAT_FYP2 TYPE 0FISCPER.
    DATA DAT_FYP3 TYPE 0FISCPER.
    DATA INF_PROV TYPE 0INFOPROV.
    DATA FLO_IPC TYPE F.
    DATA FLO_BASE TYPE F.
    DATA FLO_DERV TYPE F.
    DATA VAR_VDBA TYPE 0VERSION.
    DATA VAR_VDAA TYPE 0VERSION.
    DATA VAR_VIPC TYPE 0VERSION.
    DATA VAR_VREC TYPE ZVAR_EC.
    DATA VAR_AREF TYPE 0FISCYEAR.
    DATA VAR_MODI TYPE 0FISCYEAR.
    DATA VAR_TVDB TYPE 0VTYPE.
    DATA VAR_TVIE TYPE 0VTYPE.
    DATA VAR_TVDM TYPE 0VTYPE.
    DATA VAR_IPCV TYPE Z1AVERSIO.
    DATA VAR_FSCV TYPE 0FISCVARNT.
    DAT_YBAS = TMVL( VAR_AREF, 0, VAR_FSCV).
    DAT_YDER = TMVL( VAR_MODI, 0, VAR_FSCV).
    DAT_FPER = '012'.
    DAT_FYP1 = CONCAT ( DAT_YBAS, DAT_FPER).
    DAT_FYP2 = CONCAT ( DAT_YDER, DAT_FPER).
    FLO_IPC = 1.
    FLO_BASE = 0.
    FLO_DERV = 0.
    FLO_BASE = { Z1AINDDVA, #, #, #, #, #, DAT_FYP1, DAT_FPER, VAR_FSCV, DAT_YBAS, ZBPS_VAR, #, VAR_VIPC, VAR_TVIE, VAR_IPCV , VAR_VREC}.
    FLO_DERV = { Z1AINDDVA, #, #, #, #, #, DAT_FYP2, DAT_FPER, VAR_FSCV, DAT_YDER, ZBPS_VAR, #, VAR_VIPC, VAR_TVIE, VAR_IPCV, VAR_VREC}.
    IF FLO_BASE <> 0 AND FLO_DERV <> 0.
    FLO_IPC = 1 + ( FLO_BASE / FLO_DERV ).
    ENDIF.
    FOREACH CHA_CMCO, CHA_CECO, CHA_CELM, CHA_COAR, CHA_CURR.
    IF CHA_COAR = 1000.
    IF VAR_VREC = CL01.
    { 0AMOUNT, CHA_CMCO, CHA_CECO, CHA_CELM, CHA_COAR, CHA_CURR, DAT_FYP3, DAT_FPR1, VAR_FSCV, DAT_YDER, ZSEM_C18, CHA_CEBE, VAR_VDAA, VAR_TVDM, #, # } =
    { 0AMOUNT, CHA_CMCO, CHA_CECO, CHA_CELM, CHA_COAR, CHA_CURR, DAT_FYP3, DAT_FPR1, VAR_FSCV, DAT_YDER, ZSEM_C18, CHA_CEBE, VAR_VDAA, VAR_TVDM, #, # } * FLO_IPC.
    ELSE.
    { 0AMOUNT, CHA_CMCO, CHA_CECO, CHA_CELM, CHA_COAR, CHA_CURR, DAT_FYP3, DAT_FPR1, VAR_FSCV, DAT_YDER, ZSEM_C18, CHA_CEBE, VAR_VDAA, VAR_TVDM, #, # } =
    { 0AMOUNT, CHA_CMCO, CHA_CECO, CHA_CELM, CHA_COAR, CHA_CURR, DAT_FYP3, DAT_FPR1, VAR_FSCV, DAT_YDER, ZSEM_C18, CHA_CEBE, VAR_VDAA, VAR_TVDM, #, # } * 1.
    ENDIF.
    ELSEIF  CHA_COAR = 2000 OR CHACOAR = 3000.
    { 0AMOUNT, CHA_CMCO, CHA_CECO, CHA_CELM, CHA_COAR, CHA_CURR, DAT_FYP3, DAT_FPR1, VAR_FSCV, DAT_YDER, ZSEM_C18, CHA_CEBE, VAR_VDAA, VAR_TVDM, #, # } =
    { 0AMOUNT, CHA_CMCO, CHA_CECO, CHA_CELM, CHA_COAR, CHA_CURR, DAT_FYP3, DAT_FPR1, VAR_FSCV, DAT_YDER, ZSEM_C18, CHA_CEBE, VAR_VDAA, VAR_TVDM, #, # } * 1.
    ENDIF.
    ENDFOR.
    Finally, when I try to debug the formula,  it doesn’t bring any value to the correction factor and exits without continue executing the next part of the code in which it should apply the correction factor over the amounts.
    I have some question about this kind of FOX formula:
    1.- How I resolve this issue in order to get my correction factor to be applied over the amounts.
    2.- Is there a way to make a direct reference in order to read each Infoprovider?
    3.- When is right to use all of the fields in the aggregation level (as “characteristic to be changed”) and when is not?.
    4.- If I don't use all multiprovider’s fields in the aggregation level, the update is over all of the records and its combinations?
    I hope you can help me with this.
    Thanks in advance and best regards
    Inge Eichhorns

    Hi Inge,
    See my response below for your perusal.
    How can i make a direct reference in order to read each Infoprovider?
    **When you have a combination of InfoProviders...you need to advise the system to pick up the appropriate InfoProvider. Either you will make the selection a constant or will assign a variable. By selecting or identifying the InfoProvider your function will write to the appropriate Key Figure.**
    When is right to use all of the fields in the aggregation level (as “characteristic to be changed”) and when is not?
    **It depends on the requirement. Having said that...**
    **You will select all the characteristics in the cube when you are  planning to copy one year/one period data to other periods keeping all other characteristics as constant.**
    ***You will select characteristics based on the functionality that affects the changes on the InfoProvider.
    Hope I addressed your requirement.
    Should you have any further concerns please let me know.
    Regards
    Srinivas
    Thanks.

Maybe you are looking for

  • Once and for all: force spotlight to find ALL files, from the DROPDOWN

    this is maddening. I want to be able to see ALL my files in the spotlight dropdown that pops down when I invoke spotlight. I know there are lots of posts on here on this, but none seem to help me much. here's what I want: when I click the little magn

  • Shipment cost not calculating on VT01N

    Hi Gurus, I have configured the shipment cost configuration in all the relevant areas of Transportation node but still Shipment Cost is not calculating in VT01N. Following configuration has been done:   Define Routes Define Modes of Transport Define

  • ITunes app redirection to review in app store

    Anyone else having a problem with iTunes redirecting you to a submit a review screen in the app store? Went ahead and submitted a review, but no luck. Did a hard reset and still no luck. By the comments on the review page, it appears I am not the onl

  • Create Master Repository With MSSQL 2005

    Hi, I try to create a new Master repository with MSSQL 2005 but the connection to the database doesn't work. I create a database named db_snpm for the master database and a database named db_snpw for the work db as oracledi_setup.pdf said. I create a

  • Why does my Terminal prompt change to " "?

    I am baffled by a behaviour of the Terminal app, when running a command which I have repeatedly and successfully used before. On a new Mac, I set up a group (within System Preferences > Users and Groups) containing two users who are to have complete