Calculated keyfigures not defined correctly error when executing query

Hi Experts,
I changed calculations in the calculated keyfigures and saved successfully.
when I execute the query in BI7 Bex, I am getting errors like query element not defined correctly in the query. when I look into query in the designer its giving info messages for many calculated keyfigures saying reusable and saving can influence other queries.
I reverted back the changes but the errors still coming up. I tried to copy the query and run it ..still didnt helped..
Please suggest me with the solution..
Quick replies are much appreciated and awarded.
Thanks
Vanaja

Hi,
The calculated keyfigure is the difference of two other calculated keyfigures...
I tried to re-drag and drop into keyfigures column and didn't worked and still getting the errors.
Please suggest some more..
Thanks
Vanaja

Similar Messages

  • Error when executing query without passing variable selection

    Hi Gurus
    I am getting an error while executing a query with out passing values for variables
    When executing the query by passing the filter values report returns the data
    When executing the query with out passing variable selections the error message is
    Unknown error in SQL interface
    Error reading the data of Info Provider ZCRM_O08
    Error while reading data; navigation possible
    System error in program SSAPLRS_EXCEPTION and form
    RS_EXCEPTION_TO_MESSAGE
    No Data Available
    can any one please help me in resolving this
    Thank you

    Hi Srini
    Thanks for your quick response
    When i am executing the query with selection it is returning the data
    giving error when executing with out passing the selection
    is there any other cause for this problem
    like any particular info object causes this sort of problem
    Thank you

  • Variable not defined: '_MR' error when using sub template

    Hi,
    I am creating a check print report. When I had the check layout and the invoice layout on the same template it worked fine. But when I moved the check layout to a sub template then I started getting the error Variable not defined: '_MR' but I dont have any variable '_MR' can some please help me on this.
    Thanks a ton in advance
    Lakshmanan a.

    Hi Lakshmanan
    Its probably worth running the XML Publisher template regenerator program. somehow, I think your templates are out of sync
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • Error when executing query

    Hi,
      I have a report created using the infoset as an infoprovider. There are multiple reports created with this infoprovider. Few of them are working fine and few of them are not. The error for such erroneous reports are as below. Recently we upgraded BW to EHP1 and the problem has occurred since the upgrade. The error is
    EError reading the data of InfoProvider ZPA_IS01
    EIllegal selection by InfoObject from outer join table
    EErrors occurred during parallel processing of query 1, RC: 3
    EError while reading data; navigation is possible
    I>> Row: 54 Inc: WRITE_MESSAGES Prog: CL_RSDR_AT_QUERY
    I have checked the query. It is fine. I compared the query with that of Production and even that is fine.
    This issue is in the development and test environments.
    Any help would be greatly appreciated.
    Regards
    Albina

    Hi,
        Recently we went for BW upgradatiaon (BI7.0) , the error you are facing could be due to the following issue,
        If infoobjects are used in infoset as infoprovider ( in BW3.5) after upgrade this infoobjects will not be selected automatically as infoproviders. So it will not be available for Infoset.
    Please check whether any infoobjects are used as infoprovider, if so manually change them as infoprovider ( In BI7) and activate.
    Since, few reports are working on the infoset , this could be those reports are not using the fields from the infoobjects. so it is working it seems.
    Please check and let me know.
    Thanks,
    V.Senthil

  • Error when executing query  CL_RSR_RRK0_ATTR_C

    Hi Gurus,
    I activated the query '0CCA_C11_Q0002' from BI content.When i execute the query i am getting the error message: 'System error in program CL_RSR_RRK0_ATTR_C and form CHECKALVL-01- (see long text)'.
    I execute the same in RSRT1 with 'ABAP Web' , i got the same error message.
    But when i click on "Genarate Report' tab i got "Text variable 0T_FPERY in "Variance &0T_FPERY&" cannot be replaced - value not found".
    Can any one help me to solve the problem.
    *Points to be assigned
    Thanks
    Raju.k

    Please refer the note :  1091018
    A query terminates with message BRAIN 299: "System error in program CL_RSR_RRK0_ATTR_C and form SELTO_SELDR_14-02-".
    Reason and Prerequisites
    This problem is caused by a program error.
    The error occurs if a query does not contain any key figures, but a non-cumulative key figure has to be read becasue of the "Virtual Characteristics and Key Figures" user exit.
    Solution
    After you implement the corrections, you must regenerate the affected queries.
    SAP NetWeaver 7.0 BI
               Import Support Package 16 for SAP NetWeaver 7.0 BI (BI Patch 16 or SAPKW70016) into your BI system. The Support Package is available when Note 1074388 "SAPBINews BI7.0 Support Package 16", which describes this Support Package in more detail, is released for customers.
    In urgent cases, you can implement the correction instructions as an advance correction.
    You must first read Note 875986, which provides information about transaction SNOTE.
    To provide information in advance, the notes mentioned above may already be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version".
    Regards
    SK.

  • Error when executing query its urgent

    hi,
    when iam executing my query in query designer through web morning i got the result in web.
    but when iam executing the same query in wad it is throughing an error like (System error in program SAPLRRK0 and form GET_FIELD_POSITION-01-))
    now again i check that one in querydesigner again it is showing the same error in querydesigner also
    vijay

    Hi,
    Refer Note 931975 - Problems when you execute a query
    Symptom
    At runtime, a query contains a generated ABAP program and a data structure, which is stored in the shared buffer. Due to the gap described here, the version of the ABAP program may not correspond to the version of the data structure.
    This causes several terminations when you execute this query:
    X299 Brain SAPLRRK0; Form GET_FIELD_POSITION-01-,
    X299 Brain SAPLRRK0; Form APPEND_KHANDLE_1-02-,
    ASSIGN COMPONENT L_FIELDNAME OF STRUCTURE C_SX_GVAR, and others.
    Other terms
    RSIX, SX_REPORT,
    Reason and Prerequisites
    The error can occur if one person changes a query and another person simultaneously executes the query. A query may also be changed implicitly if one of the objects used in the query is changed in another query.
    Solution
    The attached corrections apply only to Releases 3.X. An advance correction cannot be provided for NetWeaver 2004s.
    Before you implement the attached correction (in 3.X), you must change the two following method interfaces. Otherwise syntax errors occur in the CL_RSR_REPORT_RSIX class and the RRI0 function group when you implement the corrections.
    1. In Transaction SE24: Change the MODIFY method of the CL_RSR_REPORT_RSIX class as follows:
                  Insert the I_S_RKB1D import parameter with the type RSR_S_RKB1D.
    2. In Transaction SE24: Change the READ_SX_REPORT method of the CL_RSR_REPORT_RSIX class.
                  Delete all existing import parameters (that is, I_GENUNIID, I_DVERS, I_IDVERS and I_GENTIME) and insert the I_S_RKB1D import parameter with the type RSR_S_RKB1D.
    After you implement the corrections, you must delete the incorrect information in the shared buffer. To do this, enter '/$SYNC' in the command field in every application server. Alternatively, you can also call RSRT -> Environment -> Generate Queries. As a result, all queries are regenerated but all OLAP caches are rejected.
    BW 3.0B
               Import Support Package 31 for 3.0B (BW 3. 0B Patch 31 or SAPKW30B31) into your BW system. The Support Package is available when Note 0872272 "SAPBWNews BW 3.0B Support Package 31", which describes this Support Package in more detail, is released for customers.
    BW 3.10 Content
               Import Support Package 25 for 3.10 (BW 3. 10 Patch 25 or SAPKW31025) into your BW system. The Support Package is available when Note 0872274 "SAPBWNews BW 3.1 Content Support Package 25", which describes this Support Package in more detail, is released for customers.
    BW 3.50
               Import Support Package 17 for 3.5 (BW 3. 50 Patch 17 or SAPKW35017) into your BW system. The Support Package is available when Note 0872277 "SAPBWNews BW Support Package 17 NetWeaver'04 Stack 17", which describes this Support Package in more detail, is released for customers.
    SAP NetWeaver 2004s BI
               Import Support Package 08 for SAP NetWeaver 2004s BI (BI Patch 08 or SAPKW70008) into your BI system. The Support Package is available when Note 0872280 "SAPBINews BI 7.0 Support Package 08", which describes this Support Package in more detail, has been released for customers.
               In urgent cases, you can use the correction instructions.
    To provide information in advance, the notes mentioned above may be released before the Support Package is available. In this case, however, the short text of the notes still contains the words "preliminary version".
    Thanks

  • Java.sql.SQLException: ORA-00933: error when  executing query

    Hello,
    I am trying to execute the following query from a jsp page.
    String sqlUpdate ="UPDATE table_name SET name ='"+name+"', description='"+description+"', proj_link='" projlink"', active='" active"',sort_order='" order"',image='" image"',category='" category"', technology='" technology "' WHERE id="+id+" ";
    stmt.executeQuery(sqlUpdate);
    I get the follwoing error java.sql.SQLException: ORA-00933: SQL command not properly ended
    When I omit "description" from the query it executes fine. But when I place it back into the query I get the above error. The table is in Oracle database and the datatype of description id varchar2(4000). I declared all the variables used in the query, I then assigned values caught from the form and then am trying to update the form varibles in the table.
    Thanks,
    Nikky128

    Nikky128 wrote:
    Hello,
    I am trying to execute the following query from a jsp page.There's a big part of your problem. You shouldn't be doing database stuff in JSPs. If you must, you should be using JSTL and its <sql> tags.
    String sqlUpdate ="UPDATE table_name SET name ='"+name+"', description='"+description+"', proj_link='" projlink"', active='" active"',sort_order='" order"',image='" image"',category='" category"', technology='" technology "' WHERE id="+id+" ";Not using PreparedStatement here is just a silly noob error.
    When I omit "description" from the query it executes fine. But when I place it back into the query I get the above error. The table is in Oracle database and the datatype of description id varchar2(4000). I declared all the variables used in the query, I then assigned values caught from the form and then am trying to update the form varibles in the table.Probably a single or double quote that you can't see. PreparedStatement will eliminate that problem.
    %

  • Error when executing query with variables in excel

    When I execute a query in excel, it gives some errors if it has some variables (From Date, To Date etc):
    Error Specify a value for variable From Date
    Error Specify a value for variable To Date
    I need to execute the query and then save a view. I want to do this in excel as I am not able to save a view if I execute in a web browser.

    Hi Sanjeev.
    Of course Excel supports input of variable values.
    What version of BW/BI both backend and frontend are you using?
    Please check if you can execute the query in TA RSRT. You could try to generate the query again here.
    Hope it helps.
    BR
    Stefan

  • 500 Server Error when executing Query in Portal

    When I run a query in the ABAP Web all the components (the pulldowns) work as well as the query executes.
    When I run the query in the Java WebI get a 500 Internal Server Error
    com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    ABEND BRAIN (299): System error in program BICS_PROV_GET_INITIAL_STATE and form Variables are not submitted (see long text)
      MSGV1: BICS_PROV_GET_INITIAL_STATE
      MSGV2: Variables are not submitted
    We are using Netweaver 7.0 sp 13.
    Any help is appreciated.... Point rewarded !!!
    Mike

    Yes I get that and it has been installed and everythign is worked awesomly. I can export queries to the portal. SSO, SSL and the whole bit it installed.
    The nwa default trace tool doesn't give me much to go on. Err looks like i described it above however it says its in
    Category: /Applications/BI
    Location: com.sap.ip.bi.base.application.message.impl.MessageBase
    Application: sap.com/irj
    The other err is in
    Category: /Applications/BI/Application_Framework
    Any ideas of where I should look?

  • Error when executing Query with user date settings = mm/dd/yyyy

    Hi all,
    I created a remote cube with datasource = TCURR table with proper conversion of the date etc.
    The query on top of this remote cube works fine if my user date settings is set to dd.mm.yyyy
    But when a user in USA, with user date settings = mm/dd/yyyy, executes the same query, they get a message
    SYST: Date 31/05/2006 not expected.
    Message no. FGV004
    The input variable on the Query is on 0CALMONTH.
    This message appears immaterial of what calmonth input I give.
    has anyone encountered this error? if yes, what could be the solution please?
    thanks
    Emmanuel

    Hi,
    This is in regard to the user settings maintained in transaction /nsu3.Please follow the below link.
    http://web.mit.edu/sapr3/docs/webdocs/getstarted/gsSETTINGS.html
    You need to change the settings as required.
    Hope this helps.
    Thank you,
    Prem

  • Runtime Error when executing Query in the web

    Hello,
    when i try to execute a query on the  web, i get the error
    Exception in BI runtime
    Log ID: 005056BD15DA005E000000A900000A3400043C8F00E4DD8B
    Initial cause
    Message:
    'user' missing
    Stack trace:
    com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'user' missing
    Message:
    No connection possible to BI master system VB0CLNT800
    Stack trace:
    com.sap.ip.bi.base.service.connection.ConnectionException: No connection possible to BI master system VB0CLNT800
    Can anyone please tell me , how to fix this ..
    Thanks
    Raj

    you mwy check this to trouble shoot front end
    Troubleshoot the SAP NetWeaver 2004s BI Frontend Installation

  • Error when executing query in the Web Analyzer...

    Hi All,
    I am using 2004s and when I try to execute the query in the BEX browser I get the following error. It works well in the Bex analyzer. Do I need to have some java plug ins for this to work?
    http://bi6.domain.com:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex%3FQUERY
    Thanks,
    Arthur.

    you mwy check this to trouble shoot front end
    Troubleshoot the SAP NetWeaver 2004s BI Frontend Installation

  • Internal Essbase JAPI Error (Report error when executing query)

    Hi all,
    I have a report that queries against an Essbase Reporting Cube. The reports prompt a JAPI error message when querying a parent level member that exceeds 256 members. The error displayed says that the number of columns on the report exceeds the allowed maximum of 256. Has someone experienced a similar error or know of a setting that can be set to allow the excess. Your feedback is appreciated. Thank you.

    Hi John,
    Thanks for the feedback provided. In the report I am using the Descendants function and on the member of this function I am selecting a prompt. Does your statement applies to this function as well? The odd thing on this issue is that the same report works fine in my old version 11.1.1.3, but not in 11.1.2.1. Any ideas? Thanks!

  • Error: JAVA_HOME is not defined correctly - While running ant.

    I have upgraded the JDK 1.5 Update 10 to Update 14. After upgrading the ant is failing when using with cygwin.
    It's giving the below error message:
    Error: JAVA_HOME is not defined correctly.
    We cannot execute /cygdrive/c/Java/jdk14/bin/java
    The JAVA_HOME is set properly & even I am able to check java -version.
    I am using apache-ant-1.6.5 and cygwin.
    Have any one faced the same problem?
    Please let me know if you have any solutions

    Grrrr. Been having a similar problem, but with Maven2. Allow me to (hopefully) save someone the gnawing of teeth and several bald patches.
    For starters, the Maven documentation gives you a pretty clear example of how to set your PATH. This is as follows:
    export PATH=/usr/whatever/whateveragain/apache-maven-2.0.10/bin:$PATH
    Simple, eh? Note the colon before $PATH. Then, it states quite presumptuously "4) Make sure JAVA_HOME is set to the location of your JDK". However, you don't set it in exactly the same way. You set it in virtually the same way, except without the colon, like this:
    export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0$JAVA_HOME
    Note that if you get the paths wrong a couple of times, you may reset them with the unset command. So to unset JAVA_HOME you'd use:
    unset JAVA_HOME
    After which you may set it again. As is advised, you may try to set the user privileges, but they didn't seem to affect my luck at all. Hope this helps!

  • Error in FTXP -Calculation procedure not maintained correctly for level 000

    Hi Guru
    I am creating a new tax code A7 through trx. FTXP. It is a copy of another code A1 and only percentage needs to change for eg. from 60% to 25%.
    After changing while saving i get error - 'Calculation procedure not maintained correctly for level 000 Message no. FS789'.
    Could you please help me to understand why i get this error while i am only copying an existing tax code A1 and just changing the %.
    Thanks
    Reg
    SAPasmita

    Hi ,
    Go to tcode OBYZ Then select procedure  select the appropriate procedure defined for your company code and then select the control data  in the control data tree  there will be different step first step will be
    step   description                              from  to
    100    base amont                           
    110    rounding down output tax ,    100
      120  round off input tax
    then in the round down output tax  in FROM column mentioned from which step the output tax be rounded an exampleis  provided  for better understanding.if the from is not mentioned the error will appear

Maybe you are looking for

  • Is there a way to group fonts in my font menu?

    In CS6 on my Mac, I downloaded a bunch of fonts, installed them, and opened PS. When I select text and go to the font options drop-down, it is hard to find the new fonts that I want to work with unless I go back and check each font name, etc.. There

  • Fail to deploy ear file to AS10g

    Hi friends, I use Jdev10g to generate ear file and dcmctl to deploy to AS10g. Something must have been wrong but I couldn't work it out. Really need your help. --info: Project:"Master Detail page using ADF" http://www.oracle.com/technology/sample_cod

  • Roaming Profile issues

    Hi all, Since we migrated the infrastructure of our client to Win 8.1 and Server 2012 we are experiencing issues with roaming profiles. Before they had Win 7 and SBS Server 2003. The users have different problems: RemoteApps are not working anymore (

  • Gift this app, person did not get it

    i used gift this app and the person did not receive an e-mail for the app, but i got charged for it. anyone know why? i double checked the email address

  • Re: cProject settlement rule defaulting as PSG during transfer.

    Hello We currrently use multi-level controlling scenario for cProjects, which generates project and subsequent WBS elements automatically. I am looking at using automatic generation of settlement rules on all WBS elements to default 'CTR' and have cr