Formula's In BPS

Dear All,
I am developing a Cost center BPS report, i have two columns called
Annual Business Mileage and Fuel per mile(£0.13-default value), If i enter the values in Annual business mileage  it will caliculate(=(J14*F17)/12) -in excel, and gives me value in Fuel per mile column
for ex : when i enter the values lets say 12 in Annual Business mileage , i will get 0.13 by using above formula in Excel,
I have created Annual Business mileage as key figure and Fuel per mile as characterstics(pl correct me ), i would like to use the same formula here in BPS,
I would appreciate if any one can help me out.
Thanks
Imran

Hi Sunil,
Thanks for your reply,  as you can see below is spreadsheet,  I made Annual Business mileage as Key figure and Fuel per mile as characteristics with value £0.13 in my BPS Layout, I want  my layout to calculate exactly same way as shown below in spread sheet,
Excel Sheet
=========================================
                                                        Fuel per mile
                                                              £0.13
=========================================
Annual Business Mileage
          12                                                  0.13 
Formula 
=($J$14*F16)/12
I will elaborate the formula, J14 is the row (Annual Business Mileage) and F16 is row of Fuel per mile, so its calculating (12*.13)/12
Thanks In advance,
Surely points will be awarded

Similar Messages

  • Saving Excel formula's in BPS Layout

    Dear All,
    I am trying to save  the formula's in BPS Layout, but its not saving , I presume these formula's will not save in cubes, Can anyone advise me the best solution for calculations in excel based layout, OR do i need to use fox formula's instead.
    Thanks in Advance
    Thanks
    Imran

    Please check the following link.This is the starting point.
    http://help.sap.com/saphelp_nw70/helpdata/en/d3/8057f830a911d4b2be0050dadfb23f/frameset.htm
    Also  if you create a function of type formula in bps0, hit F1 and you would get more documentation for FOX.
    Hope this helps.

  • How can I set a BPS's formula to be a remote process

    Hi Masters
    Now i hava a copy formula in my BPS level.
    I want to know how can I set it to be a remote process and remote it in every day.
    Thanks & Regards.

    Create a process chain, add process type to call the report program UPC_PLANFUNCTION_EXECUTE with proper variants, assign the planning function and trigger this process chain daily.

  • How to Write Fox Formula in bw 3.5?

    Hi All,
    What is fox formula? and were can i use the fox formula in bw bps 3.5?
    Can anyone explain me the use of fox formula?
    Thanks
    pooja

    Hi Pooja,
    I am not sure about FOX formula, but the below links will help you.
    http://help.sap.com/saphelp_sem320bw/helpdata/en/c4/9057425ca611d4b2e30050dadfb23f/frameset.htm
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6b80d590-0201-0010-7f84-d57f4adc5a3c&overridelayout=true
    Hope this helps.
    Veerendra.

  • BPS Layout in Business Analyzer Possible?

    Hi,
    I am wondering whether its possible to open BPS layouts in Bex Analyzer,
    if possible how can i do that, I would like to use some excel formula's in BPS Layouts.
    Thanks

    FOX - use's BPS therefore does not read the Excel sheet but the Buffer data in the database. Also users would need to press this in order to execute the calculation etc, and if you have a number of different calculation you may end up with a lot of Buttons on your layout.
    VB - Is quick but if you don't know VB it is a little tricky to get it working. It runs in real time therefore no need to press any buttons to calculate a value etc.
    Whatever you do not have both as it will be a nightmare for your support team to maintain.

  • Script Logic examples

    Are any script logic examples available anywhere which I can refer to? (like Fox Formula examples in BPS).
    Is there any book that I can refer to?
    Please let me know.
    Thanks.

    The central notes for each of the BPCNW Support Pack releases contain helpful information on a variety of topics, as well as information on specific script logic functionality. Please review notes: 1306898, 1349538, 1349538, and 1366582.
    http://help.sap.com/saphelp_bpc70sp02/helpdata/en/a1/532226947C49A5B2E2BD32450CB2D1/frameset.htm
    Business Planning and Consolidations (BPC) Tips -3 u2013 Sheldon Edelstein
    /people/sheldon.edelstein/blog/2008/04/21/business-planning-and-consolidations-bpc-tips-3
    /people/sheldon.edelstein/blog
    /people/sheldon.edelstein/blog/2008/04/23/business-planning-and-consolidations-bpc-tips-4
    SAP Library BPC Administration Guide
    https://websmp108.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000085368&_SCENARIO=01100035870000000112&_OBJECT=011000358700001123512008E
    ****How to Use BPC Scripting Logic
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ffae4b-99d5-2a10-4e9f-96149969aabb?quicklink=index&overridelayout=true
    SAP BUSINESS PLANNING AND CONSOLIDATION SCRIPT LOGIC, PART 2
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a066c75e-3077-2b10-c6a6-b8af14b91775
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a066c75e-3077-2b10-c6a6-b8af14b91775?quicklink=index&overridelayout=true
    SAP BUSINESS PLANNING AND CONSOLIDATION SCRIPT LOGIC, PART 3
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50c75047-3077-2b10-61b2-9a1b9373b0ee
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50c75047-3077-2b10-61b2-9a1b9373b0ee?quicklink=index&overridelayout=true
    HOW TO... PASS DYNAMIC PARAMETERS TO SCRIPT LOGIC
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d01ce779-f1b2-2b10-07ba-da3734013245
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d01ce779-f1b2-2b10-07ba-da3734013245?quicklink=index&overridelayout=true
    You can go to and check under "article library"
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=bpc+nw

  • How to apply Excel formula in BPS layout

    Hi ,
       I need to apply the following logic in my BPS layout.
    There are three data columns called C,D,E respectivelt
    redord 1   user input data for all the columns,
    Record 2   C2 = D1 + E2.
    Record 3   C3 = D2 + E3.
    Record n   Cn = D(n-1) + En.
      n is the number of record in teh layout.
    1: Can we use Excel formula to achive this?
    2: If the anser is yes, how can we configure the BPS layout? I am not sure if we can do it at the last step of change layout.
    3: If the answer is no, what is the other choice? I have tried to use user exit, but had some problem in passing the data to xth_data table in the orginal order sequence.
    thanks in advance.

    JW,
    please see my answer to your original post "data in BPS layout columns"
    Regards,
    Marc
    SAP NetWeaver RIG

  • Formulas in BPS Layout

    Hi,
    I have a BPS layout, I had needed to include formulas with visual basic to some columns, and these are saved in the transactional cube. My problem is, with the time, the data for the column that has the formula can change.  When that occurs, data changed by the formula is not shows in the cube, is like there weren’t changes in this column. What would it happens? This occurs when the user doesn’t insert any data in other columns.
    Thanks
    Victoria

    Victoria,
    I'm not clear on your problem & it would be great if you could elaborate more on that.
    But, I've couple of questions.
    --> How data gets changed in columns? Is someone planning/changing values in the column?
    --> as soon as column data gets changed, if SEM macros are enabled in the layout, changed data gets changed by VB formuals. Are SEM macros enabled in the layout while changing the data?
    --> final question.  Once column data is changed by VB formuals, how you are expecting these changes to be written to the cube? Is some one clicking on "SAVE" button?
    Hope it gives some ideas.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • Execute function formula web bps

    Hi all,
    In my bps web layout I have two function formula, when I start the layout the first function formula is started while the second function not.
    How can I do please?
    Thanks
    Gianmarco

    Hi,
    Not sure if I understood your problem totally but what if you create two planning functions and two planning sequences correspondingly (type exit) for each of these two FMs and in the web layout you specify one planning sequence as 'to be executed on start of layout'.
    BR,
    SSC

  • Using BPS numberic variables in the FOX formula???

    Hi all,
    Can someone tell me how to use one variable (<b>the variable type is 'numberic'</b>) in the FOX formula? Thank you.
    FOX formula example:
    <b>Inventory $= inventory unit * inventory (per unit) * depreciation monthS (<u>this is a numberic variable</u>.</b>
    J.

    Hi John,
       You can use the VARV function to get the value of the numeric variable in FOX.
       Lets say your variable for depreciation months is ZDEPMTS.In your FOX, you
       can say: Inventory $= inventory unit * inventory (per unit) * VARV(ZDEPMTS).
       Hope this helps.
    Cheers
    Srini

  • Ignoring characteristics in a BPS FOX formula

    Hello,
    I have a multiplanning area consisting of two planning areas. In the first one there are yearly data. In the second one there are monthly data. I have a FOX formula distributing the yearly data by a set of periodization keys into the planning area with monthly data.
    Now we have introduced a new characteristic "Resource class" in the planning area with yearly data. It has not been added to the planning area with monthly data, as it is not relevant there.
    My original assumption was that the FOX formula didn't have to be modified as "Resource class" should not be taken into consideration during the periodization. This proved to be wrong. It seems only data with no resource class are periodized. So it seems the system keeps the values of all characteristics not in the "Fields to be changed" and ignores the data if a characterstic value can't be stored in the destination planning area because the characteristic doesn't exist in that planning area. Even if the characteristic is not in the planning level.
    I want data to be periodized regardless of resource class. One way to do it is to loop over all resource classes and then periodize the total value. The FOX formula is however already quite complicated. Is there a simpler way to make the system completely ignore the resource class and run the existing FOX formula with values aggregated on resource class?
    Best regards,
    Christoffer Owe

    If you are using a distribution function for distributing the yeraly data to monthly data then  try unchecking the 'resource class' characteristic in the 'to be changed fields'.

  • Authorization in BPS

    Hi Everybody.
    We have Multi-Planning Area ZMPA that consists of standard planning areas ZSPA1 (infoProvider ZICPA1) and ZSPA2 (infoProvider ZICPA2).
    ZICPA1 infoProvider has:
    - characteristics
         0BUS_AREA;
         0CALQUART1
         0CALYEAR;
         0CMMT_ITEM;
         0FM_AREA;
         0FUNDS_CTR.
    - a key figure 0OI_EXPENSE.
    ZICPA2 infoProvider has:
    - characteristics
         0BUS_AREA;
         0CALQUART1
         0CALYEAR;
         0CMMT_ITEM;
         0FM_AREA;
         ZFUNDCTR.
    - a key figure 0OI_EXPENSE.
    ZFUNDCTR is compounded with 0CALYEAR, 0CMMT_ITEM, 0FM_AREA. ZFUNDCTR has a navigation attribute 0FUNDS_CTR.
    Example of ZFUNDCTR master data:
    ZFUNDCTR   0CALYEAR    0CMMT_ITEM   0FM_AREA      ZFUNDCTR-0FUNDS_CTR
    01        Y1          A1           2700          01
    01        Y1          A2           2700          01
    02        Y1          A1           2700          02
    02        Y1          A3           2700          02
    03        Y1          A3           2700          03
    03        Y1          A4           2700          03
    Where Y1 - year value,
    A1..A4 - different values.
    0FUNDS_CTR is an authorization relevant characteristic. We have selected the 'Obsolete Concept with RSR Authorization Objects' and have created an authorization object ZOFUND for InfoProvider ZICPA1 only.
    The planning function ZMPAPF at the ZMPA area should copy data from ZSPA2 to ZSPA1 with formula like this:
    === begin ===============
    Operand {0FUNDS_CTR,ZFUNDCTR,Plng Area}
    DATA s_fund TYPE STRING.
    DATA V_0FUNDS TYPE 0FUNDS_CTR.
    DATA V_ZFUNDS TYPE ZFUNDCTR.
    foreach V_ZFUNDS in REFDATA.
      s_fund = V_ZFUNDS.
      V_0FUNDS = s_fund.
      {V_0FUNDS,#,Plng Area} = {#,V_ZFUNDS,ZSPA2} .
    endfor.
    === the end ==============
    1) A User has an authorization object ZOFUND with values '01' and '02' .
    But when he performs this planning function there becomes an error that he hasn't an Authorization. System can not to read data from {#,V_ZFUNDS,ZSPA2} because User hasn't an Authorization ZOFUND = #. But ZOFUND authorization have not been selected for ZICPA2 infoProvider.
    Have you any comments?
    2) We have given an authorization value '#' for this User to solve the problem. And now User can see all values in the list of authorization relevant variable in the BPS. I think it's not correct. For example he can see only '#', '01', '02' values for autorization type variable in the BEx Analyzer .
    SAP NetWeaver BI 7.0, Support Package 15.
    With best wishes, Alexander.

    Hi,
    To answer ur first question, as u didnt select infocube2 for authorization and the planning function level contains 0FUNDS_CTR, system cant read any record from infocube2 example {#,V_ZFUNDS,ZSPA2}.
    Now after giving # access, he can see all values for the variable but the planning function wont work because authorization is not checked for cube2.
    i hope u should give authorization check for cube2 also. and see giving only # value to cube2.
    i didnt understand what exactly is the planning function doing.
    i guess it is dealing only those records which have 0funds_ctr as # from cube2.
    u can try this.
    Bindu

  • Help to fill BPS Cube with same data in a Cube with these conditions

    Hi,
    I need some help in implementing BPS in a small project. (Integrated Planning is not available).
    An existing cube, Cube1 has: Year/month, Year, char1, char2, keyfig1, keyfig2
    Keyfig1 is filled directly from R3 with actuals; keyfig2 (planned values) is  filled manually filled with a monthly flat file load.
    Now, there is a change in direction to fill keyfig2 through BPS features and bring in additional key figures all based on keyfig1.
    Cube2 has been created only for the purpose of this BPS project. Cube2 was a copy of Cube1(with no data). For Cube1, I have created a Planningarea1 and PlanningLevel1; and for Cube2, Planningarea2 and PlanningLevel2 in BPS0.
    How do I fill the BPS Cube2 with the same data as in BPS Cube1 with the following conditions:
    keyfig1 : same as source value from R3 (not modifiable)
    keyfig2 : modifiable by users only on the first and second of the month.
    keyfig3 : keyfig1 * 1.1
    keyfig4 : keyfig1 of previous Year/month 
    keyfig5 : same as source value from R3 (But modifiable)
    keyfig6 : same as keyfig5 as of last day of 20th of the current month (not modifiable)
    The goal is to create a multi planning area to join the two cubes. Hints all that will also be appreciated.
    Thanks

    Your thought of having a multi area is right.
    Create a multi area and being the basic areas to which you have assigned cube 1 and cube 2 underneath the multi area.
    UNder your planing package, create a function of type Formula and create a parameter set like this:
    = * 1.1.
    Just this one line will is enough.
    TO get keyfig 4 as previous month's key fig; you need another fox. To do this, you need to have a BPS variable to et previous month and use this variable in the parameter set.
    Your fox will be like this.
    DATA CURRMONTN TYPE 0CALMONTH.
    DATA PREMONTH TYPE 0CALMONTH.
    {KEYFIG4, CURRMONTH} = {KEYFIG1, PREMONTH}.
    To make users modify only on days 1 and 2, you need to define a dara slice.
    Ravi Thothadri

  • How to get XLR to show BPs with no transaction data for a given date range

    Hi -
    I am building an XLR report that does a comparison of net sales data across two periods for a given sales employee's BPs.
    The report has the row expansion:
    FACT BPA(*) SLP(SlpName = "ASalesPersonNameHere") ARDT(Code = "ARCreditMemo", "Invoice") Group by BPA.CardName
    and column expansions:
    FIG(SO_TaxDate = @StartDate:@EndDate)
    and
    FIG(SO_TaxDate = @StartDate2:@EndDate2)
    where @StartDate, @EndDate, @StartDate2, @EndDate2 are parameters that define the two ranges of dates.
    The column formulas are, from left to right:
    =ixDimGet("BPA", "CardName")
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for first date range
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for second date range
    The report works fine except for one problem, I would like it to include BPs for which no transaction occurred in either date range as well.
    Any help is greatly appreciated!
    Thanks,
    Lang Riley

    Really appreciate your feedback!  Those are good suggestions. I should have mentioned that I had already tried both those suggestions.
    Removing FACT on BPA in this case ends up returning all the BPs and not respecting the SLP(SlpName = "aName") part of the query. 
    Using **, i.e., * or #NULL, makes no change in the resulting data in this case.  I had thought that ** would be the solution, but it didn't change the outcome.  I still have BPs for which when their sales employee is used as the filter and they have no transactions for either date range, and yet they still do not appear. 
    I should further mention that the IXL query, as it now stands, does return BPs for which one of the periods has no data, just not both, and I have verified that applicable BPs with no transaction data for both periods do exist in my data set.  It seems that perhaps the IXL query needs to be restructured?  Please keep the suggestions coming including how this query might be restructured if necessary.

  • Fox formula - Copy variable value to a characteristic in IP

    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 mentioned only 'version' as the field to be changed. I get the value of version automatically from a function module. In BPS I think it is possible but I am using IP.
    Example.
    Copied data
    Customer Material Version Year Qty
    c1            m1          0           2012  10
    c2            m2          0           2012  20
    c3            m3          0           2012   15
    This is the reference data got as a result of copy function. In the code I get the version computed from a function module in variable fm_version.
    I wrote the logic like this.
    data lv_version type version.
    foreach lv_version.
    {0quant_b, lv_version} = {0quant_b, fm_version}
    endfor.
    When it is execute it is showing error as records changed and deleted.
    Is it the correct method or is there any other workaround.
    I would realyt appreciate your time and effort.
    Thanking you,
    Jerry Jerome

    Hello,
    You can use either standard copy function or fox formula.
    So here I need to make the version as 1 since it is forecasted for the first time. I am trying to do it with a fox formula. In the fox formula I am trying to change the characteristic value of version from 0 to 1.
    You can not change the characteristic value of version from 0 to 1. The copy function or fox formula will copy the key figures from version 0 to 1.
    For example:
    The transaction data contains data like -
    customer     material            year     version    qty
    c1                 m1            2012     0           10
    c2                 m2            2012     0            5
    After copy you will get both version like this
    customer     material            year     version    qty
    c1                 m1            2012        0        10
    c2                 m2            2012        0         5
    c1                 m1            2012        1        10
    c2                 m2            2012        1         5
    Thanks.
    With regards,
    Anand Kumar

Maybe you are looking for

  • Critical Irish Update needed to solve black and white tv problem on G20!

    I recently had trouble with setting up tv on my Qosmio G20, I was pointed in the direction of a black and white problem that affects earlier models. The solution to the problem was to use the g20's drivers and run 2 reg files. Having done that to no

  • ITunes Library Error (new error to me)

    I receive an error when I was importing a CD. This is a new one to me. The error is: The iTunes Library file cannot be saved. An unknown error occurred (-54). I have never seen this error before. Can someone tell me what it means and how to correct?

  • 550 5.1.1 RESOLVER.ADR.RecipNotFound; not found

    Exchange 2013 to Office 365 Delivery has failed to these recipients or groups: [email protected]<mailto:[email protected]> The email address you entered couldn't be found. Please check the recipient= 's email address and

  • Weblogic server 7.0 sp2 - servlet deployment

    Hi, Is there any way that i can delpoy a servlet with out context root name ? I am using weblogic 7.0 sp2. for eg. if i deply a war say "example.war" then it works only if i refer http://hostname:7001/example/servletClass. I need to refer like http:/

  • Attach WAP4410N as WGB to Cisco 5760 WLC with LWAP 3702

    I have 5760 WLC with 3702 wireless infrastructure. Can i connect a WAP4410N AP as WGB to be attached to my current wifi network so i can provide connectivity to some wired devices? Any tips on doing so? And any limitation can be imposed for using thi