Unable to refresh the query

Hi All,
In my system MS office visio was installed and by that day i am unable to refresh query and its giving error "The macros 'Sapbex.xla!queryrefresh' cannot be found".
I have checked the file sapbex.xla and ffound in the path c:\program files\sap\frontend\bw . Please suggest ASAP.
Regards
Sunil

un answered.

Similar Messages

  • REP-0495: Internal Error - Unable to tokenize the query.

    Hi
    I am getting error when I run xml reports .
    log file is as follow
    Receivables: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    FLUNARD module: UFlex-Debtors Trial Balance
    Current system time is 27-JAN-2010 13:10:22
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_START_DATE='1999/01/01 00:00:00'
    P_END_DATE='31-JAN-09'
    P_CHART_OF_ACCOUNTS_ID='50268'
    P_ORG_ID='103'
    XML_REPORTS_XENVIRONMENT is :
    /applprod/oracle/prdora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /applprod/oracle/prdora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    REP-0495: Internal Error - Unable to tokenize the query.
    Report Builder: Release 6.0.8.25.0 - Production on Wed Jan 27 13:10:30 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 1929569.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 27-JAN-2010 13:10:49
    Thanks
    Rahul

    I suggest opening a case with Cisco TAC.  This could be an issue with the device itself.
    Please remember to select a correct answer and rate helpful posts

  • Unable to process the query

    We have some custom entries in the file 'custom.ini' that are stored in
    the Sybase database.
    When I start a query for these custom attributes then I get the
    following error message:
    "Unable to process the query. Ensure that the database connection is up.
    For more information, see the error message documentation at
    http://www.novell.com/documentation."
    The database connection is up and running because when I start a query
    of a standard attributes of ZfD then I get a result.
    I get this error message just on custom entries.
    I have enable the debug logs, how explaned on the documentation, but
    without positive results.
    Any ideas?
    Pete

    Pete,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • DA0003: Exception CS, Unable to run the query execute

    Hi all,
    I try to use a stored procedure as data provider but i get this error
    DA0003: Exception CS, Unable to run the query execute
    I use BusObj Full Client 6.5 pointing to SQL2005.
    I choose stored procedure as data providers of a new report, then choose the Oledb connection to the database in which the sproc is saved (this sproc executes some queries, all on the same db). Then I fill in the parameter of the sproc and when i click OK I get this error.
    The sp works fine if executed from a query tool. Basically it queries BusObj Security Domain in order to get the documents a single user has linked (both enabled and disabled). It doesn't do nothing exceptionall except using some table variables... I tried also with this simple func:
    CREATE FUNCTION [dbo].[Yesterday] (@date int)
    RETURNS int AS BEGIN
       DECLARE @Yesterday int
       SET @yesterday = convert(varchar, DATEADD(dd, -1, convert(datetime, str(@date), 112) ), 112)
       RETURN(@Yesterday)
    END;
    But it returns the same error!
    I tried changing middleware to the DB from oleDB to ODBC but in this case it doesn't prompt me for parameters and when i click execute it fails saying the sproc expects a parameter...
    I have no idea of what the cause may be... Can anybody help please?

    Hi Alberto,
    Could you please test the following solutions to resolve the issue.
    Solution1:
    Test the issue by inserting the following parameter in .SBO file.
    <Parameter Name="Force SQLExecute">Always</Parameter> .
    Solution2
    Just put SET NOCOUNT OFF in the end of the stored procedure SQL.
    If the above doesnu2019t works then please try the following solution.
    Solution3
    Make the new connection from the scratch using ODBC connection and test the issue.
    I hope this will help you.
    Regards,
    Sarbhjeet Kaur

  • Unable to refresh the schema of FIM MA.Getting an error in Event viewer ""the current version of database is not compatible with the one expected by Forefront Identity Manager service. The current version of database is : 1116. The expected version is :1"

    Hi,
    We have installed FIM MA with an account that have all the sufficient rights.It got created successfully and worked for Full Import and Full Sync. But, due to some version incompatabilities, we have installed a patch.PFB link for the patch.
    http://support.microsoft.com/en-us/kb/2969673/en-us
    Now, we are trying to refresh the schema of FIM MA. While doing that we are facing an error "Failed to connect to database". The user account with which we are connecting has read and write permissions on DB.In the event viewer some errors are
    logged like  "the current version of database is not compatible with the one expected by Forefront Identity Manager service. The current version of database is : 1116. The expected version is :1122" with event ID 3. PFB images for more detailed
    view.
    Please advice how to fix the issue.
    Thanks
    Prasanthi.

    Hello,
    seems to me that you maybe only updated the syncengine but not portal/webservice.
    I had that error once after an recovery from scratch and forgot one of the hotfixes to apply to all services.
    -Peter
    Peter Stapf - ExpertCircle GmbH - My blog:
    JustIDM.wordpress.com

  • Unable to execute the query after transpoting to Quality in BI7.0

    Hi Friends,
    We are facing problem while executing the query in BI 7.0 after transporting to Quality system.
    Whenever we are clicking on the query in Analyser after transporting to quality, it is throwing an error like "Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION" and " system error in program SAPLRRI2 and form DIM_FAC_SRDATE-02" and it is disconnecting from BI system.
    The transport went successfully to quality system.
    Please do the needful regarding the above errors.
    Thanks
    Rama

    Hello,
    I resolved the problem. I removed all the variables in the query did another "Query Check" and the error message was clearer.
    There were missing infobjects in the Multi-Provider.  When I fixed this the error was gone.
    Thanks.

  • Unable to resolve the query

    Hi
    I have the following table.
    Complex No
    Complex Amount
    Child Invoice
    Invoice Amount
    Invoice Date
    123
    9000
    245
    2000
    1-Oct-13
    123
    456
    3000
    01-Nov-13
    123
    567
    4000
    31-Oct-13
    My requirement is to generate the following report
    Complex No
    Complex Amount
    Till Date
    Future Date
    123
    9000
    6000
    3000
    Where Till Date is the sum of Amount of Invoice Dated <= 31-OCT-13 and Future Dated is the sum of amount of invoice dated > 31-OCT-13.
    Can anyone help me with the query?

    with t as (
               select 123 complex_no,9000 complex_amount,245 child,2000 invoice_amount,date '2013-10-01' invoice_date from dual union all
               select 123,null,456,3000,date '2013-11-01' from dual union all
               select 123,null,567,4000,date '2013-10-31' from dual
    select  complex_no,
            sum(complex_amount) complex_amount,
            sum(case when invoice_date <= last_day(sysdate) then invoice_amount end) till_date,
            sum(case when invoice_date > last_day(sysdate) then invoice_amount end) future_date
      from  t
      group by complex_no
    COMPLEX_NO COMPLEX_AMOUNT  TILL_DATE FUTURE_DATE
           123           9000       6000        3000
    SCOTT@orcl >
    SY.

  • Unable to ececute the query through RSRT in GRQ.

    Hi Xperts,
    i have created a query in development server and tested in RSRT and i found tha the query is working fine(i am getting the value in query output).
    But after tranporting that query to Quality server,when i tried through RSRT it is not working...the queryt taking longer time and i am not getting any query output.
    can any one please help me on this?
    reg,
    sat

    hi ,
    1. Try 'Generate the report' for your   your query in tcode - RSRT2 , before executing the query in quality system .
    If this  doesnot solves your issue , then try this :-
    1. go to tcode- RSCRM_BAPI .
    2. You will get the infoareas , drill down to your query from the corresponding infoarea .
    3..Execute the query over there. 
    4. Have a 'OLAP check'  of  the query to find any inconsistencies .
    Regards,
    Lokesh

  • Unable to refresh the data on a cached report.

    Hi,
    I am using the CR4E component on a Tomcat server.
    I am having real difficulty to getting a cached report to refresh. Basically when the report is first displayed it is okay, then some further data is added to the database, and when the report is redisplayed (with the same parameters) it is still displaying the cached information. This is specific for the subreports. I basically always want my reports to refresh when they are displayed.
    I know this must be simple but I just can't get to work, or find any example code.
    I have tried a couple of options:
    Option 1:
    clientDoc.open(rptName, OpenReportOptions._openAsReadOnly+OpenReportOptions._refreshRepositoryObjects);
    This said it could not be implemented before loging in....and the documentation says this only work for the RAS.
    Option 2:
         CrystalReportViewer reportViewer = null;
         try {
              HttpSession session = request.getSession();
              reportViewer = PrepareSignetManifestReport(aryCrates, dateFrom, dateTo, dateSent, session, serContext, false);
              //if (session.getAttribute("refreshed") == null) {
                   reportViewer.refresh();
                   //session.setAttribute("refreshed", "true");
              reportViewer.processHttpRequest(request,response,serContext,out);
         finally
              if (reportViewer != null) {
                   reportViewer.dispose();
    When I add the 'reportViewer.refresh()' i then get the following error:
    "Some parameters are missing values "
    Any pointer in the right direction would be gratefully received.
    Thanks
    Matt.

    Hi,
    On looking into this issue it is just the sub-report that does not refresh when loaded from the session. The main report is okay. We are using JDBC with Oracle 10g.
    Even if I change the parameters the main report refreshes okay, but the subreport doesn't.
    Is there a work-around for this problem?
    My code is pretty much based on the standard code generated by the system in the CRJavaHelper class so I am confident that my code is okay.
    I really appreciate some help here as I have a client not trusting their continuity because it doesn't display in the report and I don't want to have to close the report each time because of the performance. I have tried reseting the parameter fields
    Thanks
    Matt.

  • Unable to find the query

    hello all!!!!!
    i had posted a query in the last fortnight and i dont remember the date. the subject was "how to deploy an application developed in JDeveloper". i have gone through 12-13 pages but could not find it. i have to go through the answer once again. how can i search for that query? i did not find any search option for the threads.
    please help

    Do you mean this:
    deploying a web application
    You can just click your own name on the left of your post and you see all the latest posts you did.
    Regards
    Edit: John was a little faster then me :-)

  • Rep-0496 unable to parse the query

    Hi ,
    i am using developer 2000 2.1,
    i am getting this error when i have tried to use the joins.
    please change this below sql query to work in report 2.1.
    select distinct table1.t$mitm bandPartsRoutingMitm, table2.t$dsca task,trim(table1.t$tano ||' '||table2.t$dsca) Description,table3.task  from table1
    join table2 on table1.t$cwoc = table2.t$cwoc
    and table1.T$MITM='7366X55'
    left outer join table3 on trim(table1.T$MITM)=table3.part
    and trim(table3.t$srln$c)=  'Q444442'
    and table3.Band='MMMT'
    and  table3.task =trim(table1.t$tano ||' '||table2.t$dsca);
    it is working fine in SQL developer.
    please help me.
    Thanks,
    Sateesh.

    Hi, Sateesh,
    Unless you post some sample data (CREATE TABLE and INSERT statements) for all the tables, and the results you want from that data, all I can do is guess at solutions.  Guessing is not a very good way to solve problems.
    My best guess right now is:
    SELECT DISTINCT
            tables_1_2.bandPartsRoutingMitm
    ,  tables_1_2.task
    , tables_1_2.workCenterDescription
    ,       table3.task_3
    FROM (  -- Begin in-line view tables_1_2
             SELECT  table1.t$mitm  bandPartsRoutingMitm
             ,      table2.t$dsca  task
             ,     TRIM (  table1.t$tano
                        || ' '
                        || table2.t$dsca
                        )  workCenterDescription
             FROM    table1
             ,       table2
             WHERE   table1.t$cwoc  = table2.t$cwoc
             AND     table1.T$MITM  = '7366X55'
            )   tables_1_2
    ,       table3
    WHERE   table3.part                = TRIM (tables_1_2.bandPartsRoutingMitm
    AND     TRIM (table3.t$srln$c (+))   =  'Q444442'
    AND     table3.Band                = 'MMMT'
    AND     table3.part                = '7366X55'
    AND     table3.task                  = tables_1_2.workCenterDescription
    is how this site is displaying the outer join indicator, a + sign inside  parentheses .
    You can't really have a view with parameters, but you can do something almost as good: create a global temporary table to hold what would be the parameters, and join to that global temnporary table.

  • Unable to refresh a report in P21 Activant

    We recently upgraded our Activant P21 (Prophet 21) software which includes Crystal Reports.  Standard P21 canned reports in their software can be viewed, exported and printed.  The P21 software includes a feature to create and link custom reports.  We create the custom reports with Crystal Reports 2008 and set up the external report links.  We can open, view, print and export the custom reports but when we refresh the report with or without an input parameters, we are prompted for a "Database Login" password.  When we enter our password, an error message titled "Crystal Report Windows Forms Viewer"  states "Logon Failed. Please try again".  We have contacted Activant about this issue and they do not find any errors in the set up.  They have told us there is probably an issue with Crystal Reports and asked us to contact your company.  We have also contacted a friendly competitor who uses the same Activant P21 software and create custom reports with Crystal Reports 2008 which include user input parameters.  Their custom reports work without a glitch.  What would prevent us from refreshing a custom Crystal report?

    Hi Don,
    Activant P21 is insisting our issue is a Crystal problem.  We are unable to refresh the reports inside their software.  We have tried every user id and password we know and it still will not refresh our CR report. 
    When we use CR2008 to refresh a report, a window opens titled "OLE DB (ADO)" and asks to choose a data source "ODBC Data Source....Choose a data source from the list"  We select our ODBC DSN: P21 Live and click next.  Another window opens titled "OLD DB (ADO) asking for a password "Connection Information...Provide necessary information to log on to the chosen data source." At this point it does not matter what "User ID" or "Password" we use, the report will refresh.  We have used the Adminstrator with a password, we used my user name and password and we used the administrator without a password and in all three instances, the report refreshed with the correct data.
    I don't see how this is a Crystal problem unless there is something I am missing.  Any help you can provide will be deeply appreciated.
    Bob

  • Unable to refresh data

    I have a web template. There is a button which allows the user to upload a file via web dynpro and a planning sequence. The upload works fine but I'm unable to refresh the web template afterwards so that I can see the data changed by the planning sequence.
    Does anybody have an idea how to refresh the data? Neither REFRESH_DATA nor CHANGE_TEMPLATE or BACK_TO_INITIAL_STATE are working.
    Thanks in advance
    Dirk

    Hi Dirk,
    Greeting.
    In my case, I use tab container.
    1 tab for data uploader, and the other one for seeing the data.
    Once, I've finished uploading the data, than I change the tab, it will be automatically update the data.
    Hopefully it can help you
    Best regards,
    Daniel N.

  • How to Automate the Query Search Upon Return to the Calling Form?

    Greetings Ya’ll Gurus,
    Could you please share with me how to make the Query Search executed automatically each time, when database table is updated, upon return to the “Calling Form” (i.e. FormA in this posting) from the “Called Form” (i.e. FormB from here on)?
    I have FormA call_form to FormB. FormB may return to FormA. FormA allows users to enter the Query parameters and perform query Search to the database table with a list of search results afterward; whereas FormB allows users to add or delete the same database table records. Both form images are as follows:
    FormA:
    !http://dot.state.ak.us/nreg/jtomasic/FormA_DWR_SEL.GIF!
    FormA call_form to FormB by clicking PB “Daily Work Report” (see circled PB "Daily Work Report" in the above image.)
    FormB Image (FormB allows users to add and delete database records):
    !http://dot.state.ak.us/nreg/jtomasic/FormB_DWR.GIF!
    FormB EXIT_FORM and returns to FormA (see circled PB "DWR Selection" in above image).
    Currently, our users must press the PB “Search” on FormA each time to refresh the Query “Search” results after returning to FormA, and they request to have the "Search" done automatically/programmatically upon return to FormA each time when the database table is updated.
    If you have programming code on this and are willing to share or if you have any suggestion or thoughts on this, it would be most greatly appreciated.
    Thanks a lot & Happy Holidays!

    Thanks so much Andreas, and yes, your link for calling a form and passing a context is very helpful. I believe, your suggested use of the global variable for the saved database table will work for the automation of the Query Search. I am, however, not sure how to make the code and the trigger to automatically perform Query PB "Search". The code for our current "WHEN-BUTTON-PRESSED" Trigger for the PB-Search of FormA is as following:
    DECLARE
         alert_button     NUMBER;
         alert_id               ALERT;
      MY_WHERE VARCHAR2(2500);
      MY_DIST_ID         DIST.DIST_ID%TYPE     := :BLK_UPDATE.DIST_ID;
      MY_ORG_ID          DWR.ORG_ID%TYPE       := :BLK_UPDATE.ORG_ID;
      MY_ACTY_ID         DWR.ACTY_ID%TYPE      := :BLK_UPDATE.ACTY_ID;
      MY_ACTY_WORK_ID    DWR.ACTY_WORK_ID%TYPE := :BLK_UPDATE.ACTY_WORK_ID;
      MY_CNTY_ID         DWR.CNTY_ID%TYPE      := :BLK_UPDATE.CNTY_ID;
      MY_ASSET_GRP_ID    DWR.ASSET_GRP_ID%TYPE := :BLK_UPDATE.ASSET_GRP_ID;
      MY_ASSET_ID        DWR.ASSET_ID%TYPE     := :BLK_UPDATE.ASSET_ID;
      MY_RTE             DWR.RTE%TYPE          := :BLK_UPDATE.RTE;
      MY_BEG_MP          DWR.BEG_MP%TYPE       := :BLK_UPDATE.BEG_MP;
      MY_END_MP          DWR.END_MP%TYPE       := :BLK_UPDATE.END_MP;
      MY_FROM_DATE       DWR.DWR_DATE%TYPE     := :BLK_CONTROL.FROM_DATE;
      MY_TO_DATE         DWR.DWR_DATE%TYPE     := :BLK_CONTROL.TO_DATE;
      MY_FLAG_OFFSYS     VARCHAR2(11)          := :BLK_UPDATE.FLAG_OFFSYS;
      MY_FLAG_COMMENTS   VARCHAR2(11)          := :BLK_UPDATE.FLAG_COMMENTS;
      MY_SPECIAL_EVENT_SEQ_NO SPECIAL_EVENT.SPECIAL_EVENT_SEQ_NO%TYPE  := :BLK_UPDATE.SPECIAL_EVENT_DESCR;
      MY_FLAG_ACCDT      VARCHAR2(11)          := :BLK_UPDATE.FLAG_ACCDT;
    BEGIN
    :blk_control.dummy_flag := 1 ;
    :BLK_CONTROL.DUMMY_ERR_FLAG := 'N';
    VALIDATION_SELECTION;     -- Program Unit VALIDATES DWR SELECTION PARAMETERS PRIOR TO
                                                    -- PERFORMING THE SEARCH AND POPULATING THE DISPLAY BLOCK
    if :blk_control.dummy_flag = 1 then
      IF :BLK_CONTROL.DUMMY_ERR_FLAG = 'N' THEN
        MY_WHERE := BUILD_WHERE_CLAUSE(MY_DIST_ID,
                                       MY_ORG_ID,
                                       MY_ACTY_ID,
                                       MY_ACTY_WORK_ID,
                                       MY_CNTY_ID,
                                       MY_ASSET_GRP_ID,
                                       MY_ASSET_ID,
                                       MY_RTE,
                                       MY_BEG_MP,
                                       MY_END_MP,
                                       MY_FROM_DATE,
                                       MY_TO_DATE,
                                       MY_FLAG_OFFSYS,
                                       MY_SPECIAL_EVENT_SEQ_NO,
                                       MY_FLAG_ACCDT,
                                       MY_FLAG_COMMENTS);
        SET_BLOCK_PROPERTY('BLK_DISPLAY', DEFAULT_WHERE, MY_WHERE);
        GO_BLOCK('BLK_DISPLAY');
        CLEAR_BLOCK(NO_VALIDATE);
        EXECUTE_QUERY(ALL_RECORDS);
        IF :BLK_DISPLAY.DWR_SEQ_NO IS NOT NULL THEN
                   SET_ITEM_ON_OR_OFF('BLK_CONTROL.PB_PRINT', TRUE);
        ELSE
                   SET_ITEM_ON_OR_OFF('BLK_CONTROL.PB_PRINT', FALSE);
                   alert_id := FIND_ALERT('no_data_query');
                   IF ID_NULL(alert_id) THEN
                        error_msg(1000);
                   ELSE
                        set_alert_message(alert_id, 1040);
                        alert_button := SHOW_ALERT(alert_id);
                   END IF;
              END IF;
              GO_BLOCK('BLK_UPDATE');
              GO_ITEM('BLK_CONTROL.PB_SEARCH');
         END IF;
    end if;
    END;My questions are:
    After initializing, set and/or reset the global variable for the saved database table,
    do I copy the above code (i.e. the "entire" code in the "WHEN-BUTTON-PRESSED" Trigger for the PB-Search) to the WHEN-NEW-FORM-INSTANCE-trigger, or other trigger(s), of FormA to automate the Query Search whenever there is a successful database commit/save? Or
    is there a simple way to activate the code in the "WHEN-BUTTON-PRESSED" Trigger for the PB-Search of FormA? Or
    is there a simple way to activate the EXECUTE_QUERY(ALL_RECORDS) command in the WHEN-NEW-FORM-INSTANCE-trigger or other trigger(s) of FormA ?
    Thanks and always.

  • Infoobject not available in the query

    hai gurus
    We have appended a cube with info object that had a query already on it but that infoobject is not available in query
    hw to refresh the query designer to get new appended info object
    TQ
    KEERTHi

    Hi,
    Welcome to SDN!
    Make sure that your cube is active.
    Close your BEx and open again.
    Hope it helps.
    Best regards,
    Eugene

Maybe you are looking for

  • How do I use my iPod on Mac after it was used on a PC?

    For Christmas I received a MacBook Pro and I have an iPod that I have been using for the past 2 years with on my PC. Do I need to reset my iPod now that I will be using it on my mac? I want to avoid problems with the different configurations and such

  • Interest calculation for vendors

    Hello gurus,                  In interest calculation for vendors, In interest on arrears calculation(vendors) t-code (obv9) Here wht we have to configure the steps, like Infirst step i had given,, Account symbol             Currency                

  • Segmenting guest iscsi network from esx iscsi network

    Should I segment the network the guest uses to directly connect to luns from the network esxi uses for its vmfs luns?  Is it adequate to control this on the storage side or should we worry about the network access also?  I'm wondering what the best p

  • Viewing TIFF files in Mail MAC OS X 10.4.9

    I can not view TIFF files in mail. All I get is the first page of multiple pages. With the message open, I do see the Slideshow and Save buttons presented immediately beneath the headers but no mater what I try and do all I get is the first page. If

  • Trigger Idoc

    Hi I am in BD10 and I want to trigger the Idoc, MATMAS. I want to select the segments that is there in the Idoc triggered from Dev. It's actually an XI requirement. How do I select this? Also my XI system is not popping up when I click on the Logical