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

Similar Messages

  • 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

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

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

  • Compare previous column value in BPS Layout

    How to compare the two column values in BPS layout.
    My layout format
    PO NO
    GL
    Actual
    Amount
    1001
    701
    1200
    User Entry
    Actual Value is 1200, User will enter the Amount but it should be equal to 1200 or less then that.
    If user entered more than 1200 in Amount column, I should get error message.
    Thanks in advance.
    Regards,
    Kiruthika

    Hi Uryukin Andrey,
    Where do we need to use this fox formula? Could you please explain steps to use this FF?
    Thanks,
    Harry

  • 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

  • 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

  • Default Value in BPS Layout

    I have created BPS layout. In planning cube, there is one dimension for which i have to default the value. X= 100.
    In Planning layout, I do not want to display or input by user. What is the easy way to achieve?

    Hi Uryukin Andrey,
    Where do we need to use this fox formula? Could you please explain steps to use this FF?
    Thanks,
    Harry

  • 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

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

  • CRM fields not populating in BPS layout for opportunity Planning 0crm_order

    Hello Support,                                                                               
    We are using SAP CRM 5.0 SP09 with BW 7.0 SP 09.                                                                               
    When creating an opportunity in CRM, the product data ( quantity ,
    values) are not appearing in Planning tab( SEM-BPS Layout) .                                                                               
    Kindly let us know what needs to be done to resolve this issue.    
    Thanks and regards,                                                
    Rajiv Jain

    In your CRM system, check your mapping from CRM to BW are correct.
    You can do this in transaction SPRO. Menu path 'SAP Implementation Guide --> Integration with other mySAP components --> SEM --> Change mapping between CRM fields and InfoObjects'. Select planning application 'OPP' and click on 'Mapping table - system entries' on the left.
    In here you should see the mapping from the InfoObject to the CRM field (eg. Infoobject 0CRM_EXPREV uses structure CRM_BW_OPPT_H and field name EXP_REVENUE).
    In order for the value to be passed to planning you must tick the 'Empty' checkbox on.
    Regards,
    Adrian

  • Navigate from WebDynpro Application to BPS Layout and vice versa

    Hi,
    Please see the following Problem Statement:
    We have WebDynpro applications and BPS applications in our project. All the applications are published via SAP Portal. Both areas (WebDynpro and BPS) have same selection screen (Selection fields are common). Is it possible to call
    WebDynpro application from BPS layout (on click of button)and also passing the selection parameters to the WebDynpro application and vice-versa.
    - Sujal Shah

    Hi,
    You can you free tool from Oracle called OMWB (Oracle Migration Workbench) for SQL Server to Oracle.
    For more details, visit http://www.oracle.com/technology//tech/migration/workbench/index.html
    From Oracle to SQL Server, there are third party tools available.
    Cheers,
    Harshw
    Message was edited by:
    [email protected]

  • Variable Range not working in BPS-Layout.

    Hi BI Guru's,
    I am facing Problem in BPS - Layout.
    My requirement is to get YTD Budget Quantity in Single Coulumn. For Example, I need Quantiy for the Period 001.2009 to 12.2009 in single Column as Budget YTD 2009.
    For this I defined a variable on the Planning area, with the characteristics "fiscper" and in the selection condition i entered the range 001.2009 to 012.2009, but when i executed the layout it is showing the quantity for the perios 001.2009 only and not for the entire range.
    I tried with the User Exit also, where i copied the standard function module "UPF_VARIABLE_USER_EXIT"  to 'Z' function and modified to my requirement.
    Following is my Code for the Function Module
    clear eto_charsel.
    data ls_charsel type upc_ys_charsel.
    clear ls_charsel.
      i_area = 'ZUCOPA'.
      I_CHANM = 'FISCPER'.
      i_variable = 'ZACTDYTD1'.
      ls_charsel-chanm = i_chanm.
      ls_charsel-seqno = '1'.
      ls_charsel-sign  = 'I'.
      ls_charsel-opt   = 'BT'.
      ls_charsel-low   =  '2009001'.
      ls_charsel-HIGH   = '2009012'.
      insert ls_charsel into table eto_charsel.
    But the after using the Function Module in the User Exit area of Variable also, I am getting the Quantity for the Period 001.2009 only and not for the entire range ( 001.2009 to 012.2009 ).
    Please suggest some solution ASAP.
    Thanks in advance.
    Regards,
    VD.

    Hi Marc,
    Thanks For your Reply,
    I changed the Layout as suggested by you, where i have now 12 columns for Budget Quantity and a Total column( C1C2....C12).
    I do not want to show this 12 column and instead want to show only the total column, so I hide this columnn's in the change layout but after saving the layout these columns again appear in the layout.
    How do i hide these columns in the layout????
    Thanks
    VD

  • BW authorizations in BPS layout

    Dear all,
    My question may seem basic, but I don't have any experience with authorizations.
    I need to use already existing BW authorizations in my BPS layouts, so well, I created auth. variables on the needed characteristics and assigned it to my layout.
    ==> nothing changes when I'm launching the layout.
    I wonder if I need to ask the modification of the already existing BW roles in order to add field ACTVT? Will this have an impact on already existing BW reports for the users?
    Also, does something need to be done in RSSM (or other T-code) in order to activate the auth. for my planning cubes?
    Thank you in advance for your help!!

    Ravi,
    The objects you mentionned talk about area, planning, etc,... so they are usefull when a user wants to launch a layout in order to let him launch/plan it or not, etc... . That's the first step, and that doesn't interest me.
    Second step is that when launching, the user will get his layout. This layout will be generated regarding the design I made in BPS0 and then also the variables I've used.
    If I've restricted my planning level by using variables of type authorization on an char. that is in the lead column of my planning layout, it should restrict the diplayed/available rows regarding that authorization (ex : only company code 1000 for user A; company code 2000 for user B ; company code 1000 and 2000 for user C ==> coming from reporting authorizations in BW)
    So I really think we don't speak about the same thing... or it's me that doesn't understand! (that's also possible )

  • Printing Document and Comments of a BPS layout

    Do you know how i can take print out of all the comments that i have in a BPS layout. Where does all these comments and documents are stored and how can i retrieve them. If it is same a Documents tab under BW, how can i get those documents for a particular layout, as i do not see the options of a Layout except to go with Queries and Info Cube.
    What is the alternative solution  to achieve this. All my Users want to see the comments of other users and then plan on it..
    Thanks and appreciate your ideas.
    Veeru

    Hi Marc,
    I have a requirement to print the comments entered in the planning layout to be printed in a Bex Web report.
    I implemented your 'How To' paper but I still have to produce a web report to show all the comments from the planning layout.
    I found on the forum about reading the DMS through a FM and writing into a table and uploading into a cube as a charcteristic.
    Are there any better alternatives?
    Thanks,
    Jay

Maybe you are looking for

  • Lost of APPS password for EBS 11i (11.5.10.2)

    I need to reset APPS password in my test environment. The APPS password is now messed up and I need to find a way to reset it. I am in the process of cloning an existing environment. I can not start all the services yet. The FNDCPASS utility works on

  • Allow user to bookmark individual flash page

    Hi there, I would like to know how I can create a whole website in flash but still allow the user to copy the url of a certain page and use that as a link to jump back to that exact page again or bookmark it as a favourite. I've seen it done, general

  • How do I uninstall Flash Player 10 so that I can upgrade to flash player 10 version 10.0.32.18?

    Do I just use the "add/remove" function in Windows Programs? Or do I use   uninstall_flash_player.exe ? Or do I go to C:|Windows|System32\Macromed\Flash and then click the uninstall_activex icon?

  • Completely delete app from itunes and prevent from redownloading

    Hi. I downloaded an app on my ipod touch. Whenever I fire up itunes on my mac air, it keeps downloading the app. This is even though under Store Preferences I have unchecked Apps under the Automatic Downloads. Also, how do I completely delete this ap

  • Webinar by CRM On Demand Customer Support

    Join us for this live Web event sponsored by CRM On Demand Customer Support. Jose Valle and Damien Joly will present some of the top CRM On Demand Web Services issues that customers face and how you can manage or avoid them. They will point out good