Error in formula(query designer)

Hi guys,
I have a formula in query designer.Its showing wrong value.Cannot understand why?
Formula:
(-1) * (Actual.present month < Actual previous month) + 1 * ( Actual present month >= Actual previous month )
Actual present month and Actual previous month both are selections and are also shown in query.Eevnthough,Actual Present month is equal to Actual previous month,result is showing -1.
I checked Sign settings in Formula properties but they have right settings for 'Keep +/- sign' as it is chosen.Exception aggregation is chosen as Total.I tested by changing it to standard aggregation but its the same.
Is there any setting I need to change.
Thanks for your help.

Hi ravi,
It didnot solve the problem.In my case ..  its working for all other company codes but failing only for this company code and that too from Januari this year....
To other authors:
Thanks for your replies.This is existing in our Production query and for this month,it started showing wrong value...for febraury,actual month value is equal to actual previous month(January)..so it should show 1 but its showing -1. so we noticed.I havent changed anything to log out and log in and check.Also,the result should be 1,-1...so I cannot use max funtion as mentioned by Jaya.
Any different ideas of achieving this are welcome.

Similar Messages

  • Terminate:Activity failed; there is no back end error log. - Query Designer

    Hello all,
    Has anyone encountered this erro before while using query Designer. I am trying to drag an infoobject in the rows section and I get this STOP error in message section at the bottom.
    Terminate: Activity failed; there is no back-end error log [A006(R9E)]
    Diagnosis
    An error occurred in the back end.
    System Response
    An error occurred in the back end for which there is no error message. You cannot continue to work.
    Procedure
    Exit the Query Designer and correct the error on the back end.
    Then start the query designer again.
    Procedure for System Administration
    I dont get what is going wrong here,
    Thanks,

    hi,
         There may be some problems with the connectivity in the box which you have logged in or in the excel properties itself. Try to login again and see if the problem is resolved else contact the BASIS or admin.
    Thanks,
    vrrp.

  • Error when open query designer

    Hi people when i try to open query designer on my dev system i have some message. In the query designer appears two STOP error that tell to me ther's a dump in system. On system on st22 the dump is this:
    Errore run-time        RAISE_EXCEPTION                                                            
    Data e ora             29.05.2007 15:25:52                                                                               
    Testo breve                                                                               
    Exception condition "RFC_FUNCTION_NOT_FOUND" raised.                                                                               
    Causa dell'errore                                                                               
    The current ABAP/4 program encountered an unexpected                                         
         situation.                                                                               
    Possibili soluzioni                                                                               
    Note down which actions and inputs caused the error.                                                                               
    To process the problem further, contact you SAP system                                       
         administrator.                                                                               
    Using Transaction ST22 for ABAP Dump Analysis, you can look                                  
         at and manage termination messages, and you can also                                         
         keep them for a long time.                                                                               
    Analisi errori                                                                               
    A RAISE statement in the program "SAPLTREX_EXT_ADMINISTRATION" raised the                    
          exception                                                                               
    condition "RFC_FUNCTION_NOT_FOUND".                                                          
         Since the exception was not intercepted by a superior                                        
         program, processing was terminated.                                                                               
    I try to search some oss but i can't find solution

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi<br>
    If you are getting the same problem while opening queries on other systems like Quality and Prod, then I think it must be your Frontend installation problem.<br>
    Please re-install the Business Explorer.<br>
    However if the problem is occuring only when you work in Development, then please take help from your BASIS Team. There must be some RFC setting issue which BASIS would be able to resolve with your help.
    <br><br>
    Hope it helps.<br><br>
    Cheers Abhijit<br>
    </FONT><FONT FACE = "Verdana", Font Color = "Red">
    It's a good habit to reward someone with points in SDN if you think his/her
    response was helpful to you
    </FONT>

  • Error when opening Query Designer

    I keep getting an error when I open up query designer and hit on open query.  the error is bexopensaveservices -get nodes:RFC exception.  any ideas on how to fix?  Basis says my RFC connections are fine

    Hi,
    We are facing the same issue for Query Designer .When opening a query, we get the following error :"Terminate:Unexpected Error:BExOpenSaveServices - GetNodes:RFC Exception".
    As usual, Basis folks say, RFC connections are fine.
    Not sure of the main problem.Can any one tell me , whats the solution for the same.
    FYI, I have SAP_ALL authorizations and I think, for my user id , authorization is not a problem.
    Regards,
    Kumar

  • Setup Error message in Query Designer

    Hi all,
    I have built a BW IP query with an aggregate as infoprovidor. In order to make the query plannable I have to use all KF and Characteristic and set the correct filtervalues. I have executed this specific query many times in order to check if all rows/columns are filled ok and are plannable but the last time I executed the query the following error message popped up :
    "Setup Error Failed to load resources from resource file. Please check your setup"
    When I click OK the Query Designer shuts down. When I then start the Query Designer again and want to select my query the same error message appears so I cannot access my query anymore.
    I am going to built a new one but like to know the probable cause of this error message as my query was consistent for sure.
    Thanks!
    Raymond Flaton

    Did you find a solution to this? we are having the same issue

  • Rfc error while opening query designer

    installed sap gui 7.20 on my system to access sap ecc or BI.
    now my issue is while opening bex query designer of BI. it prompts me
    Error Group
    RFC_ERROR_PROGRAM
    Message
    Ent
    please suggest me what actions to be taken

    hi deepak and markus,
    evarything is doing well.. i am to operate ECC and BI. i can navigate through all the screens
    but the problem is i am not able to use query designer..even through query analyzer i am not able to navigate to query designer.
    pls suggest me whether i have to do any modification after installing GUI
    while executing rrmx in BI system it prompts me with status message as "please install excel as viewer"
    the other thing i found is that applicaton server is working in past date..and i tried it by changing it to application server date.but still i face the same proble..
    Edited by: satishchow on Dec 6, 2011 1:16 PM

  • Customer built function in new formula (query designer)

    Hi we have got a problem, we want to built our own function that we  can use for different cubes and Queries. (like Operators)
    Did anyone knows a way to develop this?

    Hello Dirk,
          Its not about the visibility in the query about the 'Selection' but when i am trying to define a formula using a selection (which has both key figure and characteristic) and a key figure, the formula takes only the key figure in the selection but doesn't involve the characteristic. So i would like to know how to define a formula using a selection which involved both key figure and characteristic.
    Thanks,
    Anjali

  • Error CL_RSD_MULTIPROV  in Query Designer while restricting Key Figures

    Hello,
    I am trying to create Query on Multiprovider in Production envirnoment.
    I drag  key figure in row and try to restrict it to Product Hierarchies as I don't want to create restricted  Key figure.
    While Saving Query I am getting following  Error Massage.
    'System error in Program CL_RSD_MULTIPROV and Form GET_PART_IOBJNM_CMP-01'.
    When I save Query without giving any restriction in Key Figure . I could save it.
    Please suggest in above error.
    Thanks and Regards,

    Hi,
    Check the note 1090490.
    hope this helps,
    Regards,
    Rama Murthy.

  • Giving Error while opening BEx Query Designer.

    Hi all,
                   A user is trying to open BEx Query Designer 7.0 and she is getting this error
    " SAP BEx Query Designer standalone has encountered a problem and needs to close. We are sorry for the inconvenience.
    If you were middle of something, the information you are working on might be lost. "
    She is not having issues while opening BEx Analyzer. She is having Office 2010. This doesn't seem to be compatibility issue with the Office. This BEx was not installed on her machine 2 weeks back and it was working fine until now. 
    As a first re-solution i told her to get it re-installed but still she is getting the same issue.
    Thanx.

    Hello,
    There is no relation between Office VS Query Designer. Only with BEx Analyzer and MS Excel.
    My suggestion is.
    If you don't have version 7.20 of SAPGUI and Business Explorer, please download the installer.
    After that, download the latest patch available and install:
    http://service.sap.com/swdc
    > Support Packages and Patches
    > Browse our Download Catalog
      > SAP Frontend Components
    > SAP GUI FOR WINDOWS
    > SAP GUI FOR WINDOWS 7.20 CORE
    > Win32
    _ > * gui720_5-10007878.exe
       |  > BI ADDON FOR SAP GUI
       |  > BI 7.0 ADDON FOR SAP GUI 7.20
       |_ > * bi720sp03p_301-20006596.exe
       |
       |  > BI ADDON FOR SAP GUI
       |  > BW 3.5 ADDON FOR SAP GUI 7.20
       |  > Win32
       |_ > bw350gui720_5-20006857.exe
    If persist, let me know.
    Cheers
    Edward John

  • BEx Query Designer Error

    Hi All,
    I have a problem where I have just updated to SP 18 and now the BEx Query Designer comes up with a problem, I can open the Query Desinger but when I go to open a query from my history the Query Designer shuts down immediatly.
    Has anybody got any Ideas?
    The SAP Gui and Business Explorer is 710.
    Thanks for your help
    Jay

    Hi Pra,
    I do not get an error message the Query Designer just shuts down.
    Are there any log files I can look into to check for error messages?
    Thanks
    Jay

  • Error while opening query in designer

    Dear all,
    I have a problem i.e., when opening a query in the query designer, system throws the following error
    For characteristic 1FORMULA, enter value in a permitted format
    Message no. BRAIN599
    Subsequently - system does not allow me to correct the error also in designer.
    How to correct the formula and get the report operable in designer.
    Can any experts help.
    Regards,
    M.M

    Hi,
    Have you managed to fix this issue ? I have exactly the same problem after upgrading from 3.5 to BI 7
    " have a problem i.e., when opening a query in the query designer, system throws the following error
    For characteristic 1FORMULA, enter value in a permitted format
    Message no. BRAIN599"
    thanks

  • Blank space in Query Designer formula

    Hello
    I am using a formula in query designer to make some calculation but, once executed, this formula shows a blank space.
    What does a blank space means?? The formula is not giving me an error.
    Thank you,
    Skull

    Hi,
    I think the blank appears in the report because it is encountering a Divide by Zero error.
    First check what calculations your doing in the formula. If your doing a division and if there are chances that the Denominator is 0 and numerator has some value, then based on the setting in the spro, you might get a blank.
    Try and put the function in BEx that handles divide by zero errors. The function is NDIV0
    If that is not the case then please paste the formula that you have written.
    Regards,
    Forum

  • Creating formula in the Query Designer

    Hi,
    I have a KF which I have to convert in to different unit in the query ( x/data)
    The problem is some of my data in the cube is zero (0) and when I use division, it shows me error (red X) in the query output.( Divide by zero)
    Is there any way to skip this division if the data is zero? How can I set my formula in the Query designer?
    Thanks
    M Kumar.

    Hi,
    Please use the NDIV() or NOERR() function outside of your expression and it will take care of the division by zero.
    See here for details:
    http://help.sap.com/saphelp_nw04/helpdata/en/03/17f13a2f160f28e10000000a114084/content.htm
    Hope this helps...

  • Unable to write a formula in query designer

    Hi Experts,
    while writing a formula in query designer in development system there is an error.
    Formula is:
    Grand total =1
    when i write in the rows it is throwing the sytax error like " General syntax error in formula"
    But the same formula has been written in production( this query is not available in development so that i am designing the same query in the development system).
    some one give me an idea.
    Thanks

    Hi,
    As i checked with implementation team and they have written the formula it has been assigned like Grand Total = 1.
    i.e. Grand Total assign to 1.(But it is not Grand Total == 1).
    Thanks for your support.
    Thx
    Edited by: satya prasad on Apr 27, 2010 7:44 AM

  • Error while trying to Open and Delete a BEx Query in Query Designer.

    Hi Experts,
    I have been facing this issue with BEx Query in Designer mode for a couple of days now in Development Environment in BI 7.0.
    I would like to Delete an unwanted BEx Query because I need to give it's name to another BEx Query.
    Whenever I try to Open this Query in BEx Query Designer to Delete, it gives out an error saying:
    "An error occurred while communicating with the BI server.
    As a result of this error, the system has been
    disconnected from the BI server.
    Detailed Description:
    STOP: Program error is class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    STOP: System eror in program CL_RSR and form GET_CHANMID-01 - (see long text)"
    Details text is as below:
    Diagnosis
    This internal error is an intended termination resulting from a program state that is not permitted.
    Procedure
    Analyze the situation and inform SAP.
    If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
    For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.
    I have tried with SAP Note 899572, but still it's the same.
    Has anyone faced similar issue? Could you please let me know if you have better ideas or solution?
    Your time is much appreciated.
    Thanks,
    Chandu

    Arun - Thanks a million. You saved me Nine. It worked.
    Could you also please tell me how to rename (Technical) a Query or is it still "Save the Query As" the only way...?
    Points already assigned.
    Thanks,
    Chandu

Maybe you are looking for

  • Exit/badi for Material group validation on service POs

    Hi Gurus, The requirement is to put validation on 'MATERIAL GROUP' at item level as well as service sub line item level.I have used EXIT_SAPMM06E_017 for line level validation. For service sub line level 'MATERIAL GROUP' i tried using EXIT_SAPLMLSP_0

  • Need help with Quizzes & Advanced Actions

    Hi, I am relatively new to Captivate (v6) and I am looking for a way to force learners to respond to a question BEFORE navigating to the next page. On my question slides, I have a submit button and the next page button but no playbar. I want the subm

  • Bitmap smoothing w/ loaded images

    I know there was a lot of stuff about this for AS2, but I cant seem to find anything more recent-and I am still having this problem! I have a sprite, with a loader (which I dont add to the stage). The loader loads a large image, scales it way down an

  • I upload songs, but they dont show up on my ipod?

    i have used itunes to upload my CDs and downloaded songs onto my ipod, i click the update ipod button and itunes SAYS its importing them to the ipod, but i disconnect and there is still nothing on it. Does anyone know what im doing wrong?

  • General query on CSM and CSS flow timeout values

    Hi all, i have a SLB Application Processor Complex module on my Cisco 6504 which basically does some load balancing work. I am pretty new to this device but the configurations and setup looks somewhat similar to the Cisco ACE but i only have some exp