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.

Similar Messages

  • 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.

  • Data in BPS layout columns

    Hi,
       I have two data columns in my BPS layout called price and margin with one lead column material, the layout looks like this when it initially display:
       Material    Price   margin
          1          1.25
          2
          3
          4
    The requirments is if user input date in the margin column and the price should be calculated by the following logic
         second  material price = (first price ) + (first margin) and so on.
         if we input margin column 0.50,0.40 0.30  for material 1,2,3,4 respectively, we will get the following price result:
        Material    Price   margin
          1          1.25    0.50
          2          1.75    0.40
          3          2.15    0.30
          4          2.45   
    I am tried to use the excel formula for achieve this, but as much as I know the excel formula can not been saved when we configure the BPS layout,beside since the number of material display under different data selection criteria is vary, it's diffculty to hard code the formula in the excel.
    Anybody have any suggestion how to do it?

    Hi JW,
    BPS is designed in a way that layouts and planning functions are completely independent of each other (otherwise you would have to build a layout for each function or something like that).
    The data in the layout is sorted according to the lead column. So if you use FOREACH in FOX with the same characteristic, the data will be processed in the same order as the lead column.
    Alternatively, you can do it with an exit function. All you need to do in an exit is copy XTH_DATA into an internal table and then use the SORT statement with the same sort key as the lead column.
      DATA:
        lr_aera     TYPE REF TO cl_sem_planarea_attributes,
        lr_t_data   TYPE REF TO data.
      FIELD-SYMBOLS:
        <lt_data>   TYPE STANDARD TABLE.
      CALL METHOD cl_sem_planarea_attributes=>get_instance
        EXPORTING
          i_area      = i_area
        RECEIVING
          er_instance = lr_area.
      CREATE DATA lr_t_data TYPE (lr_area->typename_t_data).
      ASSIGN lr_t_data->*   TO <lt_data>.
      <lt_data> = xth_data.
      sort <lt_data> by ...
    your logic here
      xth_data = <lt_data>.
    Regards,
    Marc
    SAP NetWeaver RIG

  • 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

  • Loading data from excel to BPS layout

    Hi,
    I have BPS layouts in place and also excel sheets which are exact replica of those layouts.
    I know 2 options to load excel data into the BPS. These are:
    1) Copy and paste the data from excel to BPS layout.
    2) Create a flat file in line format from excel and then use method explained in document "How to Load a Flat File into BW-BPS Using SAPGUI.pdf".
    Is there any other way I can upload the same?
    Any help in this regard will be highly appreciated.
    thanks in advance.
    regards,
    Pankaj

    Thanks to Vlad, Laurent & Srini for prompt replies.
    But here the user needs to load data directly to the transactional cube.
    So it is a case of "instead of keying in values" on to the BPS planning layout, user wants to upload the data from excel into the BPS layout.
    Planning is done on SAP GUI and not web browser.
    I am able to do the same using the document "How to Load a Flat File into BW-BPS Using SAPGUI".
    But in this case the data needs to be converted into a simple csv file in line item format before it can be uploaded.
    Is there any way, where we can upload from excel file without having it to change to csv format as required in "How to Load a Flat File into BW-BPS Using SAPGUI"?
    thanks in advance.
    regards,
    Pankaj

  • Check user manual input in excel BPS layouts

    I have some problems for manual input characteristics checks on an excel bps layout.
    I need to assign the value of an header characteristic to a detaild characteristic. How can I do ? I have already tried with characteristic rels. (exit, attributes, etc.) but without results.
    Thanks in advance.

    Hi Mario,
    I am quite sure, that if a char is in an P.Level, and there is a char relationship for it, the char relationship will not be called (somebody correct me if am wrong).
    So, in your case, you want to derive SALES ORG from Company code using char rel. The sales org is in the p.level, since it is in your layout. Threfore the char rel will be not called.
    If you want to have it works, do not select sales org in your level. I assume that you filter your comp code in level with a bps variable. Get this variable value (using API_SEMBPS_VARIABLE_GETDETAIL function) and assign it to char SAles org in your char rel exit. Everytimes when you save your plan data, the char rel exit will be call and sales org will be derived.
    If you want to show and derive the sales org in your layout based on selected company code, create a bps variable type exit for it, and read and derive the value from comp code variable.
    Best Regards,
    Suan Liono

  • Excel functionality in BPS layout

    Hi gurus,
    I have a problem with layout on excel: all the excel functionality are not avaible, in particular i refer to filter and order.
    I try to unprotect excel worksheet but if i use filter i have a lot of problems when save data.
    My users are very boring ....
    Thanks in advance
    FT

    Hi,
    just some background information: in BPS Excel is 'controled' via SAPGUI using OLE Automation, i.e. same technique Word uses to control an embedded Excel file. In this mode some Excel features cannot be used.
    In addition it is hard to control Excel completely. BPS gets the data from the ABAP back-end and transfers the cells via SAPGUI and OLE Automation to Excel. After this BPS has no control what Excel does with the data. Some Excel functions like 'filter' or 'sort' make it almost impossible to read the data back from Excel in a consistent way. This is why the worksheet is protected by default the these kind of Excel functions lead to problems.
    If you save the Excel template without protection in the layout builder it is also not protected at run time of manual planning.
    It is also easy to create a button that protects/unprotects the worksheet. A code snippet can be found in the VBA makros SAPAfterDataPut, SAPBeforeDataGet.
    Regards,
    Gregor

  • Hierarchies in excel  BPS Layout

    Hi All,
    I have created Cost Element hierarchies in RSH1 ,
    Permanenet Salaries(Text Node)
    1000 (Cost ELements)
      2000
      3000
    Sub total
    Training(Text Nodes)
    1100(Cost ELements)
    1200
    1300
    Sub total
    In selection tab of Planning area i have assigned my hieararchy, and in BPS layout i have selected the option with hierarchies, but when i execute the hierarchy in excel layout , It displaying in single structure, its not breaking up individualy, and also i need subtotals at the end of the every text nodes.
    Any clues will be much appreciated.
    Thanks
    Imran

    Hi
    To solve your problem check this doc
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9b39e690-0201-0010-748d-cc62c5ecbb49
    Hope it helps

  • Data columns in BPS layout

    Hi,
      My current BPS layout has three columns, they are cost,price and margin respectively. The user now ask to add another column call "alert" after the margin column.
    The logic is that if the margin is less than 10%, then the alert column should marked with "X", otherwise leave it blank.
      In order to add a column after margin column, the added column have to be key figure which will not allowed characteristics,while all the other key figure type such as amount, quantity, date ect will not take
    "X".
      Any idea or suggestion.

    JW,
    If Margin is the last column on your layout, what you do is in the last layout definition screen, add the locl excel formula to the column after where the margin would appear.  Then you just use simple excel formula to do it.
    For things to appear only if there is data in the row, I typically use an IF in the excel formula and check for values in cost, price, margin.  Actually it would be 2 nested IFs.  One to check for value and the other to determine the 10% and mark it with a X...  In purely excel formula, there is no distinction between key figures and characteristics since it is only Excel.
    Hope this helps.

  • 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

  • Hide a column in BPS layout ?

    Hi,
    Is it possible to hide a column in a BPS layout (Web Excel) ?
    When I hide a column in the layout definition, saving it resets the hidden column.
    Any idea if it will be included in a future release ?
    Thanks

    Alessandro,
    I create in BPS0 all the customizing I need (functions, layout...). After that, I create a web interface with these components (variables, functions, layout).
    That 's why I wonder what could be the java code to hide a column in web interface.
    regards

  • Input Area in BPS Layout is too small

    Dear experts,
    I'm really desperated due to BPS. We definded a BPS layout of type "Key Figs in Data columns" and like to add data via manual planning. The layout is displayed in Excel format.
    When opening the layout only 20 lines in the layout are ready for input. When all 20 lines are used, we have to hit the "check" button, to insert new lines that are available for input. My problem is, that we run Excel macros to generate the data. The records are much more than 20. Only some of them are recognized as BPS data the rest is ignored and also not stored in the cube. Does anybody know where this limitation can be switched off or where the number of lines that are available for data entry can be increased.
    I guess this is not a new problem for some of you.
    Any input highly appreciated.
    Thanks!
    Bernd

    Thomas,
       Here are some useful links that will provide some food for thought:
    Re: Changing the number of rows allowed for editing in planning layout
    Re: Edit Saved characteristics in Excel Planning Layouts?
    Re: Maximum number of combinations in a SEM BPS layout
    Re: planning layout limitation
    The short answer is it will have significant negative performance impact.I would look at alternative solutions for the true business requirement.Please read the content in these links and let me know if your business requirement would still enforce you to do over 999 records manually at a time.
    Hope this helps.
    Cheers
    Srini

  • Total in BPS Layout

    Hi All,
    I want to add a line for total in a BPS layout.
    In BPS0 transaction, there is a button that allowed to add line for total in the Excel sheet. The problem is that line don't appear in the layout of the campaign in CRM.
    Could you please help me ?
    Thank you in adavance
    Regards

    Hi Ivan,
    yes.
    You also might consider to use BW-IP where you have the full reporting and planning
    features integrated in BW queries. There it would even be possible to make 'AVERAGE'
    an input ready formula (BW 7.01, SP05 or higher):
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/49/db8d1bc2245d5de10000000a421937/frameset.htm
    Regards,
    Gregor

  • Reverse Signs in BPS Layouts

    Dear all,
    I'm looking for a way to reverse the signs in BPS Layout.
    Storage in Cube:
    Costs +
    Revenues -
    Display and input in BPS-Layout
    Costs -
    Revenues +
    That is it should work somehow like the sign reversal in queries.
    I checked the standard function Automatic Sign Assigment
    http://help.sap.com/saphelp_sem40bw/helpdata/en/41/0e28c474eb11d4b2fb0050dadfb23f/frameset.htm
    but this seems to be diffent.
    Any ideas?
    Best regards
    Gregor

    Hi Gregor,
    you want to have a 'static' sign reversal (all values multiplied by -1); this does not exist as a planning layout feature. In BPS sign reversal was designed to display both costs and revenue with +.
    Also in BW queries there exists a 'static' sign reversal as a property of a structure element and in addition one can use master data attrbute lookups (replacement path variables) and formulas to get a master data value specific sign.
    In BPS one can use a planning function to revert the sign before data input and after data input. Depending on the UI you can also use VBA makros to do the sign reversal (Excel-Inplace). In a WebIntefaces you can implement your own exit class; there you can control the data. Maybe the latter solution is not self-explaining.
    Regards,
    Gregor

Maybe you are looking for