Formula Variable in Bex , Urgent

Hi Experts,
                    I have created a formula variable on 0Material with replacement path as processing type. I am using this formula variable in a formula that i have created. The formula works fine.
However , when i create another formula variable on 0Prod_hier ( which has a navigational technical name 0MATERIAL__0PROD_HIER ) with replacement path as processing type, The formula which i have created doesnt work.
Ex:
1) ('MAT_FORM' == 100010001)'NET_SALES'10  , This works fine
2) ('HIER_FORM' == 10000010000001)'NET_SALES'10    . This fails.
Iam using the same formula process but with different formula variables , i cant understand why the formula is failing
I have checked the data, in the cube and the infoprovider (0Material has 0PROD_HIER data) , but i am stuck as to why the system is not recognizing the prod hier values,
Kindly help me on this,

Hi,
Please read the following:
BEx Query Designer: Creating formula variables
You have loaded data into your InfoProvider. To be able to use sign reversal in reporting, you have to define a formula variable in the query definition:
       1.      You are in the Query Designer. Under Key Figures, use the context menu to choose New Formula. The Formula Builder opens.
       2.      Under Formula Variables, choose New Variable from the context menu. The variables wizard appears.
       3.      Enter a name and a short text for the variable. Choose Replacement Path as the processing type.
       4.      Choose your hierarchy basic characteristic.
       5.      Choose Hierarchy Attribute as the replacement. The attribute Sign Reversal is automatically displayed.
       6.      Save your formula variable. When defining the formula variable, you get the factor 1 or –1, with which you can multiply the required key figure.
Regards,
Subha
If you find it useful, pleae grant me points

Similar Messages

  • Drop-Down-Box (F4 Input Help) for formula variable in BEx Analyzer (BI 7.0)

    Hi Gurus,
    is it possible to get a drop down box for a ready for input formula variable in the BEx Analyzer (not BEx Web!)?
    We want to let the users choose scaling factors 1, 1000 or 1000000 (implemented via this formula variable). In the settings of the formula variable you can only choose a default value but there seems to be no option to provide all three factors in a drop down box like the ones for characteristic value variables.
    We could prevent other entries in the variable pop up via customer exit (i_step 3) but the business is wishing an F4 input help like the ones for characteristic values.
    Thanks for your help,
    Marco

    Hi Macro,
    Its not possible to get drop down box for a ready for input formula variable. Because it is possible only for characterstic value variables but not formula variable.u donnot get any drop down box like ready for input for formula variable.
    Regards,
    Premalatha.C

  • What is a formula variable in bex

    hi friends,
      can anybody tell me about what is a formula variable. how can we use formula variable. give me one simple example. thankk u.
    thanks,
    sree

    Hi..
    Here is the sap link which will gives u the best about variable...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0a/cd6e3a30aac013e10000000a114084/frameset.htm.
    Here is some examples  how u can use formula variable...
    1) If u want to multiply the key figure in the data target(DSo or CUBE) with an attribute of masterdata which is used in the Data target.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/72f4a790-0201-0010-5b89-a42a32223ffc.
    2)caliculating the aging.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
    3) the difference in the dates at the query level
    Re: Calculate no.years/months/days in Bex formula
    Regards....KP
    Edited by: kundan.sap on Jul 3, 2010 5:41 PM

  • Date formula variable in BEx output

    Dear All,
    In Bex , I made a formula variable F_CURDATE and used it in formula. I fill it with current date
    l_s_range-low = sy-datum.
    My value in BEx comes 201,40,604. This is 04 Jun 2014.
    Why isn't it coming in date format. I then, used data function [date]'process value as date. The output shows value X.
    How can I show  date in date format in BEx?
    Regards,
    cleo

    Hi Cleo,
    The bit l_s_range-low = sy-datum must be coming from the customer exit code, right?
    And should this code not be used for populating a cust exit variable? How do you populate sy-datum to a formula variable in the query? Pls correct me if i m missing something in your question.
    However if it is a formula variable on 0CALDAY, there are standard SAP variables giving current date.
    Can you not use them in your query as per your requirement?
    Regards,
    Srilakshmi B

  • Formula variables from BEx to WebI

    Hi,
       I have a formula variable(manual input) in a Bex Report, based on this variable only the result output is displayed using conditions.But when i create a webi report on this , the formula variable is coming as a default prompt, but the condition doesnt work.
    Thanks,
    Praveen

    Hi ,
        Can anyone please give me suggestions on this
    Thanks
    Praveen Kuamr

  • Creation of 4 new formula variable in bex.

    Hi All,
    i have one requirement from my customer.Can you please suggest me to achieve on this.
    All,
    Please can 4 new Formula Variables be created in SAP BW for all relevant structures
    Can the Pipe Test Date, Gas On Date, Completed Date and Abandoned Date be all based on Working days rather than calendar days
    My queries to the above requirements is:
    1.Do we need to write a code in customer exit(EXIT_SAPLRRS0_001) to achieve this.
    Please advice.
    Regards,
    Sakthivel S

    Hi,
    Do you have Working days field or data in your system? I think you are talking about Factory calendar.
    You can create 4 Formula variables by taking reference chars as Pipe Test Date, Gas On Date, Completed Date and Abandoned Date
    Yes, you need to write CMOD code to consider Working days.
    Can you explain requirement much more clearly?
    Regards,
    Suman

  • Formula Variable in BEx

    Hi All,
    Can some one explain to me whta a formula variable is all about and how it works.
    With an example or point to some document for the same...it will be very helpful.
    Thanks in advance.
    Tina

    hi Tina,
    check this
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/579b3c494d8e15e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/579b3c494d8e15e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/1e9b3c334d8c15e10000000a114084/content.htm
    hope it helps.

  • Change the description dynamically for formula variable in Bex

    Hi Everyone ,
    I need to change the description of my formula variable that i have created in coulmns.
    My requirement is as follows:
    Depending on the date it must show for next 5 days . So i have created 5 formulas and i need to change the description dynamically.
    22 july 2013
    23 july 2013
    24 july 2013
    25 july 2013
    26 july 2013
    XXX
    XXX
    XX
    XXXX
    XXXX
    Please help me in this.
    Thanks in Advance.
    JC

    Hi,
    Please follow this doc to create text variables to display texts dynamically.
    http://scn.sap.com/docs/DOC-11187
    Regards,
    Suman

  • Formula Variable error

    Hi All
    I have a requirement to calculate an aging bucket. ( CURRENT_DATE - EXPIRE_DATE). I have Expire_date as a characteristic InfoObject of DATS type.
    I found a solution to create formula variable in BEX and use replacement path functionality.
    When i do the same i can save the variable and the query. but on performing a query check i get the following error:
    variable used incorrectly or does not exist.
    Kindly suggest why this is happening. We are using Bex 7. I refered to the following link.
    http://www.sd-solutions.com/SAP-HCM-BW-Replacement-Path-Variables.html

    Hi,
    check out tths pdf.It will give you whole insight on how to work on ageing report.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30f15839-0cf1-2b10-c6a7-ebe68cc87cdc?quicklink=index&overridelayout=true
    Hope it helps.
    Regards,
    AL

  • BEx Analyzer: Formula Variable with Replacement path change Month with Day

    Hi experts I'm facing this issue in BEx Analyzer.
    I need to have some dates in format DD/MM/YYYY in Index Structure, in order to do this I've created a formula variable with replacement path referenced to 0CALDAY characteristic.
    The formula works but it behaves in a strange way:
    if the day is higher than 12 the displaied result is correct (DD/MM/YYYY)
    if the day is lower or equal 12 the displaied result is wrong (MM/DD/YYYY)
    I'm on BW 7.01 SP6 and BEx Analyzer 7.10 SP12, excel 2007.
    anybody has faced this issue before?
    any help will be appreciated
    Daniele Cortopassi

    Hi Daniele,
    This seems pretty strange. Pls. redo validation with the dump data, as being a flat struture BEx does not apply any logic changes. May be it might have been MM/DD/YYYY format as in workbooks. Else you may change the property of 0calday display as "Text". Business Explorer > Display > KeyMaster Data/Texts > Texts (Plese check this option). If you are using some text table you may maintain the same using BI0/TCALDAY (Similar to BI0/TCALMONTH2). Guess it should be an excel based issue; if not you may try the same in WAD/Report designer to verify the nature of the issue. If you don't face these inconsistencies in WAD/RD then you may change excel formatting options. Lastly, please let us know if the infoobject has some predefined settings in RSA1 > Infoobject > (BEx) Properites.
    Thanks,
    Arun Bala

  • Zero Suppression Not working in Bex Query with Formula Variable

    Hi Friends,
    I have a peculiar issue here. We upgraded from 3.5 to 7.0 recently. Some of our Bex queries have been behaving abnormally after this. In these queeries,
    we have some key figures which use formula variables (ready for input and mandatory) in 3.5. User can enter either 1 or 0. The actual key figure is multiplied to the formula variable so, the entire column gets the actual key figure value if the user enters a value '1' and the gets the value 0 if the user enters '0' in the formula variables. Zero suppression is activated on the rows and columns and this report. This technique was used successfully to show/hide a column.
    After upgrade, the same query works but, the zero suppression is not working. When the user enters a value of '0' in these formula variables, all the entries in the column for the key figure are displayed as 0 but the column is still displayed. It is like the zero suppression setting is not active at all.
    I created one of those queries in Bex 7.0 to see if that works but, the issue still exits. Have anyone come across this kind of a scenario? Please get back to me if anyone has any idea on this situation.
    Thanks and Regards
    Subray Hegde

    Which SP level are you at in BI 7? There is an OSS Note that would need to be applied if you're on lower than SP10. That note is:
    [OSS Note 964756 - Formula variables with replacement from difference in BI 7.0|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=964756]

  • SAP Bex: How to calculate formula variable, without dragging corresponding date in the row

    Hi Experts,
    In my requirement, we should not do any changes in the BW system. I need to create a Bex query on the existing Info-set, KPI need to be calculated from the date objects.
    e.g
    Delivery date - Order date - which has been done with the formula variable in the bex, I'm getting exact value. the  problem is if I'm not dragging the Delivery date or order date in the Bex ROW, its not populating value. I'm expecting consolidated value for a month.
    It has an impact in the BOBJ system. since i'm not getting consolidated value, the number of data which is coming in BOBJ system is very huge. Hence doing calculating in the bobj will affect performance.
    Regards
    Vijaykumar

    Hi,
    i think your calculating the value form Delivery date - Order date.
    if you drag the Delivery date - Order date object to rows it will give values.
    Thanks,
    Phani.

  • Issue with Xcelsius reading BEx Formula Variable

    I have a dashboard that is connected directly to a BEx query via a SAP Netweaver BW Connection. The BEx query has several characteristics restricted by mandatory variables (mostly User Exit type). So when I publish/launch my dashboard in the Portal, my dashboard is able to read in all values passed at the BEx prompt page, except one. I have one formula variable that is mandatory called Duration, but whenever I try to map the "Current Filter Value (Key)" or "Current Filter Value (Text)" in my connection to an Excel cell in my dashboard, it causes my dashboard to hang on the "Initializing..." screen indefinitely.
    Does anybody know if there is something special I need to do in order to have my dashboard properly read in the value from a formula variable?
    Xcelsius Enterprise 5.3.0.0
    Build Number:  12.3.0.670
    Any help on this would be much appreciated!
    Thanks,
    -Brian

    Hai
    Check this it will help u to Some extent.
    http://myxcelsius.com/2011/06/15/xcelsius-2008-sp4-waterfall-chart/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3AMyxcelsius%28MyXcelsius%29
    Download the Xlf file and Check it for Summation in Excel
    http://xcelsius.excelyogi.com/supported.html
    http://www.forumtopics.com/busobj/viewtopic.php?t=171271&sid=244b8c717e3635721363eea8011cbb0d
    http://myxcelsius.com/2008/09/11/list-of-microsoft-excel-functions-supported-in-xcelsius-2008/
    http://www.ozgrid.com/News/named-ranges.htm
    Thank u
    Naveenkumar kc

  • BEX 7.0: Formula variable with replacement path not working after BW Upg

    Hi all,
    We have a formula variable using replacement path for 0MATERIAL characteristic that is used in a calculated key figure, in order to perform conversion factor to change measure units (0MATERIAL attribute).
    This was working pretty well until an upgrade from 3.5 to 7.0 EHP 1. The list that is displayed contains all key figures empty instead of the desired values.
    Can anyone suggest what could be the possible reason for this?
    Thanks in advance.
    CCS

    Hi all,
    Problem solved!
    The solution was based on the u201Chow to...Report Data in alternate units of measureu201D document (for 3x version) . http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f?quicklink=index&overridelayout=true
    Basically, the upgrade has override the previous changes made in the program LRRSVF20, like the "How to" document refers. Namely, the reference to YBW_AUNIT_ENHANCEMENT program.
    We have carried out the changes and, apparently, the query is now working fine.
    Thanks.
    Best Regards,
    Cátia Coelho Silva

  • Value from a formula variable into text variable in BEx Query

    Hello,
    if anyone knows how I can do the following please let me know:
    I have a formula variable in a formula (ZUM_KVAL). The value will be entered before execution of the query.
    Now I would ALSO like to display the entered value (from ZUM_KVAL) as at text variable (ZUM_KTXT) in the name of the field in the query/report.
    If anyone could provide me with info about how to do that, I'd appreciate very much.
    Thanks in advance.
    Cu, Stefan

    Hi Shashank,
        You can achieve this by creating a customer exit variable for calendar month.
    Function module :
    READ TABLE i_t_var_range WITH KEY vnam = 'Date variable name ' INTO loc_var_range.
       IF sy-subrc = 0.
        year = loc_var_range-low(4).
        month = loc_var_range-low+4(2).
         CLEAR l_s_range.
         l_s_range-sign = 'I'.
         l_s_range-opt  = 'EQ'.
         CONCATENATE year month INTO l_s_range-low.
         APPEND l_s_range TO e_t_range.
       ENDIF.
    Hope this will help you. Let me know if you have any questions.
    Regards
    Suvarna

Maybe you are looking for

  • Any news that motion tracking for Adobe Preimere Element 11 to be back on?

    It's such a nice feature to have. I'm bummed to find out it got removed.

  • IC WebClient is not opening through URL

    Hi Friends, I am trying to access ICWC using URL: http://Host:8030/sap/bc/bsp/sap/ic_base/default.htm When I call the URL I am getting the Logon Pad. But when I enter my user ID and PW it doen not Logon. But when I am calling ICWC from CRM_IC t Code

  • Is it possible to search for keywords in an XML file?

    Hey all, I'm currently searching for ways to count the number of pre-defined keywords in an XML file. An example would be trying to find how many times "war" is mentioned in a news networks RSS feed <title></title> and adding it to a variable. I've f

  • Getting 500 - Internal Server Error Intermittently  durin WS calls

    We are Oracle partners and built an integration using COD Integration Events and Web Services. We currently make calls to following Crm On Demand web services: 1) Account - Query 2) Opportunity - Query & Update 3) Revenue - Query & Update 4) Product

  • Performance test planning:  timing

    Hi folks, I'm wondering if anyone has suggestions or input on the timing of test planning specific to performance testing. In particular, how far in advance is it recommended that performance test planning would begin in reference to the intended tes