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

Similar Messages

  • Error while executing Query with Variable.

    Hi All,
    I have written a query to fetch values from some user tables and sap tables. The query is as below.
    select a.docentry,a.u_scname,e.block,e.[City],
    e.[Country], e.[State1],
    e.[StreetNo], e.[ZipCode],
    e.[Building], e.[Cellular],a.[U_WONo], a.[U_DocDate],
    a.[UserSign], b.[LineId], b.[U_Des],
    b.[u_SDes], b.[U_UoM],
    b.[U_Qty], b.[U_Rte],
    b.[U_Tamt], a.[U_PrjName], a.[u_WO_PB],
    a.[U_WO_UL], a.[U_WO_FC],
    a.[U_WO_PYT], a.[U_WO_COP],
    a.[U_WO_TRMT], a.[U_WO_DocSub],
    a.[U_WO_ADV], a.[U_WO_OCondition],
    a.[U_WO_PRPBY], a.[U_WO_RCMBY],e.[CntctPrsn],
    (T4.[WhsName]+ '-' + T4.[Street] +'-' + T4.[Block])  as 'Work Address ',
    T4.[Building], T4.[City],
    T4.[ZipCode], T4.[U_PMCNT],  T4.[WhsName], e.Taxid0
    from [@e360_owor] as a join [@e360_wor1] as b
    on a.docentry = b.docentry
    left outer join
    ( select c.cardname,d.TaxId0,d.Taxid1, c.block, c.[City],
    c.[Country], c.[State1],
    c.[StreetNo], c.[ZipCode],
    c.[Building], c.[Cellular], c.[CntctPrsn]  from ocrd
    as c  join crd7 as d  on  c.cardcode = d.cardcode 
      where d.TaxId0 is not <b>null</b> ) as e
    on
    a.U_SCName = e.CardName 
    left outer join OWHS T4 on T4.[WhsName] = a.[U_Prj]
    where
    a.U_WONo = '[%0]'
    In this code, when the variable is assigned to field U_WONo, then I get an error
    Must Specify A Table To Select From. Statement 'Service Contractors' (OCTR) (s)  could nto be prepared.
    But when the values for variables are hard coded, the query executes.
    I have been working on it from long time, but same error exists. Could anybody help resolve the same...
    I am using SAP B1 2007 B, patch level 15.
    Thanks in advance,
    Regards
    Rohan

    The error messages may be misleading. With complicated queries with parameter request I frequently saw references to service contract (or something other).
    Sometimes SBO does not manage correctly variables in complicated queries and there is a note about the workaround to solve the problem:[Note730960|https://websmp130.sap-ag.de/sap/bc/bsp/spn/sapnotes/index2.htm?numm=730960]

  • 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

  • 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

  • Error when executing report with large data selection in Infoview

    Hello,
    This is regarding Error we are facing in BO system.
    We have installed:
    Business Object Enterprise XI 3.1
    Crystal report 2008
    When we are trying to execute report in BO INFOVIEW on production  system, we are facing following error (After 10 mins of execution).
    ========================================================================================
    Windows Internet Explorer
    Stop running this script?
    As script on this page is causing Internet Explorere to tun slowly.
    If it continues to run, your computer might become
    unresponsive.
    ========================================================================================
    Please note: We are getting data via Crytal report. Only, execution in infoview is giving error.
    If we are executing same report with less data(E.g a days data) then we are getting output in Infoview.
    However, when we execute report with more data (6 months data) then we are getting attached error after 10 min of execution time.
    Helpfull reply will be awarded.
    Regards.
    Edited by: Nirav Shah on Dec 14, 2010 6:19 AM

    If it is indeed a server timeout issue, the following document might be usefull: http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/606e9338-bf3e-2b10-b7ab-ce76a7e34432
    It's about Troubleshooting Time-outs in BusinessObjects Enterprise XI, but  a lot is still applicable.
    Hope this helps...
    Martijn van Foeken
    Focuzz BI Services
    http://www.focuzz.nl
    http://nl.linkedin.com/in/martijnvanfoeken
    http://twitter.com/mfoeken

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

  • 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

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

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

  • 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 VI with "Invoke Node" in loop

    Hello,
    please check if this is possible what i am doing here or if there is a better way to do it.
    The goal is to have a VI that i can start in TestStand which is then running in a loop until i set a global variable.
    I do this currently with:
    1.) Starting the VI with "Invoke Node" (see screenshot 01)
    2.)  This Vi is then running all the time in a loop until the global for exiting is True (screenshot 02)
    3.) Then i have another VO to set the Quit-variable to true
    Normally this works as it should, but sometimes i get the error-message:
    Invoke Node in NameOfTheViCalledInTestStand.vi
    Method Name: Run VI
    VI Path: NameOfTheViThatContainsTheInvokeNode.vi
    LabVIEW:  Das VI befindet sich in einem für  diese Operation unzulässigen Zustand.
     The question is: what does this error mean and what better ways are there to do what i want to.
    Perhaps for better understanding, the VI which runs in a loop executes dll-functions to enable and disable an ample-tower to make a light blinking.
    And because there is no function "blink", i have to make it on off on off on off....
    So the vi loops and makes on off until i say "quit" then blinking stops.
    Thanks for any ideas
    Attachments:
    01_InvokeNode.jpg ‏8 KB
    02_ViRunsInLoop.jpg ‏23 KB

    I cant´t do this "Try changing the "Run" node
    to "Wait Until Done" = True." because then the TestStand-Step is
    hanging until the loop is finished.
    I only want to start the "blinking" and the continue normally in the sequence.
    To
    avoid that the vi with the "Invoke Node" is started twice a have a vi
    above it whick checks with the globalVariable "IsCurrentlyBlinking" if
    the start is allowed.
    If  IsCurrentlyBlinking= True then nothing happens.
    So normally it can´t happen  that it starts twice. Only if the GlobalVariables are not correct.
    The
    variable "IsCurrentlyBlinking"is set to TRUE in the subvi before the
    loop starts and after the loop is finished its set to FALSE in the
    subvi.
    Attachments:
    03_CheckStart.jpg ‏16 KB

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

Maybe you are looking for

  • Help with screen fallowing character and scoring system

    Hi Im new to flash and I cant find any tutorials on how to make the screen fallow a character when you come up to the left or right edge of the stage so the map will continue on a platform game and adding scoring system in action script 3 thank you

  • User access to VIEW in oracle database

    Hi, We have an issue with the user gpdashboard. I have explicitly given the select on view gpcomp1.OPENDISPUTES. It can query the table but returns 0 rows (no error). Whereas gpcomp1, when queries this view, returns 8000+ rows. Do you know what could

  • How to connect Java to oracle Database Express Edition?

    Anyone can help me? How to connect JAVA TO ORACLE DATABASE EXPRESS EDITION?

  • WD backend call

    Hello! Experts, I am given a task to write Technical Specs which include Web Dynpro for ABAP (WD4A), since i am new to WD4A i need an expert comment on my below scenario. My WD4A needs to fetch records from R/3; as in WD for Java we will write a Meth

  • How to reinstall mountain lion offline?

    Hi everyone, My wife has a MacBook Pro (late 2009) and she did a big mistake by trusting one of her friends to let him install Mountain Lion. Now I do not have any idea about how did he install it cause she was running her Pro on Tiger. Anyway to mak