SAP Query not running

Hi,
I am doing SAP query, If I select Company Code, i need to get the resule of
GL a/c, Buss Area, Cost Center, Profit Center
For this in table joints i taken KNA1, KNB1, SKB1, CSKS
then also i could not run the report.
Rgds
sunfico

Hello
When you have chosen a query and a user group on the initial screen, you can execute the query online or in the background.
Executing Queries Online
Executing Queries in the Background
Improving Response Times
Interactive Functions for ABAP Lists
Direct Interaction
Check this link for further notes executing queries
http://help.sap.com/saphelp_erp2005vp/helpdata/en/b7/26ddebb1f311d295f40000e82de14a/frameset.htm
regards

Similar Messages

  • SAP Query not working

    Hi,
    I am facing problem with SAP Query. My query is not working for one particular date. Its giving timeout error when i just give date as input. I tried executing it by giving some particular document as input, then its giving "no data" message but when i check the table data, there are some records for that input condition.
    I debugged it, i found that the statement "FETCH NEXT CURSOR cursorname" is throwing sy-subrc eq 4. I couldn't understand the problem.
    Any inputs will be very helpful.
    Regards,
    Mahidhar.

    Hi Azeem,
    There are more than 10 tables that were used in this query with different types joins like inner join, left outer, right outer join. So i wasnt able to decode the select query that was present in open cursor command.
    I have given the date and executed the same in background. It ran in 19min. But when i add one more input parameter, then its running more than a day(still running ). Didn't get the exact problem still.
    Regards,
    Mahidhar.

  • Bex Query Not Running

    Hello
    I have built BI7 Query and run it. It goes to the portal where I use my user password and it comes back with the following results
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com.sap.ip.bi.base.parameter.ParameterConverter.createFromServletRequest(Ljavax/servlet/ServletRequest;)Lcom/sap/ip/bi/base/parameter/IParameterList;.
    Exception id: 01:49_19/01/08_0045_52644550
    See the details for the exception ID in the log file
    I also cannot save a Web Template neither can I Save a Report using Report Desiner. Both come back with authorisation errror. I think all three could be related or maybe they are differnt.
    Please can you guys help and offer a solution?
    Thanks in advance.
    Steve.

    Hi Lambertus,
    I also face same problem. Please can you elaborate the solution you described or what should I be asking my basis team to do to solve this issue.
    Regards
    Anand

  • SAP Query not generated after upgrade

    Hi All,
    Our client has upgraded from 4.6c to ECC 6.0
    In the upgraded server some SAP Queries have not been generated…and others have generated. I wanted to know why all are not generated….
    I also wanted to know if any table name exists which maintains query with generated program name…
    Please let me know your learning’s on SAP Query if any…
    Thanks in advance

    These generated program names are stored in AQLDB for local area and AQGDB for global area. Usually these program names will include the infoset names and the query names.

  • Query not running in report builder 3.0

    hi, i can run my query in mgmt studio (version 2008R2) and within the query designer of report builder 3.0 but it will not run from report builder. i get a generic error message of "an error has occurred during report processing. (rsProcessingAborted)".
    the query uses report parameters and is written with dynamic sql (using a pass-through to oracle). any ideas why the query doesn't execute in report builder ? thanks a bunch,

    Hi KanataPablo,
    According to your description, it seems that you are using linked server to pass value to oracle. Seeing that the query is worked well in Management Studio, you may have the permission to connect to oracle (In this scenario, make sure the users to run the
    query in SSMS and Report Builder are the same user). So this issue can be caused by the user’s permission to connect to report server, the credential of data source and the dynamic query.
    We can add the current user as a Login, then click Properties and navigate to User Mappings page, enable ReportServer and ReportServerTempDB options.
    We can try to type user name and password, and enable “Use as Windows credentials” as the credential used to connect to data source.
    Try with dynamic query:
    ="Select column1, column2 From tableName where ID IN (" + JOIN(Parameters!param1.value, ",") + ")"
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Sap query not working after Upgradtion

    Hi Experts,
    We have recently done up gradation from 4.6 to Ecc 6.0. Since then my Sap query are not working.
    Please help how to fix the issue.
    Thanks in Advance for your support and time.

    Hi,
    Do you have any custom indexes for tables in the affected queries that were deleted as part of the upgrade?  (ones that didn't exist in the customer namespace? - something working looking into)
    Regards,
    Ryan Crosby

  • OLAP Query not running

    Hi Gurus
    I am getting and exception while executing a MDX Query through OLAP Query .
    All my queries were running properly until yesterday from OLAP query as well as through MDXTest TCode .
    But today it gives me an excetion
    com.sap.lhcommon.webservice.SoapException: The XML for Analysis provider encountered an error
    I know it is generic error description for any kind of error back from BW but here situation is
    My query is running from MDXTest with out any problem .
    Any ideas on this like where to see the logs..etc?
    Thanks in advance.
    -Hari

    It is solved.
    It was because User which we used for configuring data server doesn't have enough roles.
    I have created a new connection with my user name and it works .
    But interesting thing here is, it was working with the system user i was using with old roles and security team claims that they haven't changed any role for that user . But last day that user locked because of pswd expriration and it was unlocked .After wards my OLAP Queries are stopped working .
    And its really pain with out getting proper error message from OLAP Query.
    From my experience to debug these kind of errors:
    Make sure your MDX query runs from MDX Test .
    If it runs successfully, then we can narrow down to the connection setting in MII .
    Thanks
    Hari

  • Query Not Running Via BEX Analyzer Role Menu

    Hi All,
    I have a problem when executing queries via the BEX Analyzer role menu. I can select a query from a role but, when I select the query to run, nothing happens. When I select the same query from the infoarea it runs without any problems. This behaviour occurs for all our queries so is not specific to a particular query.
    We're running on version 3.5 and I've just upgraded to the latest patch but this hasn't helped at all.
    If I use the role menu via the web application designer the queries all work fine so the problem looks to be pointing at the role menu within BEX Analyzer.
    Any ideas ?
    Dave

    this issue is more related to Security , Roles & authorisation.
    u will have to talk to Security team.
    While installing latest patch,usuallys uch trouble occurs.
    the excel extensions , roles gets affected sometime..

  • Query not running

    i not understanding why this is not running
    SELECT TotalBedOccupied, BedOccupancyRate,
    TotalNoOfBed,TotalLengthOfStay, 0
    --into vr_TotalBedOccu,vr_TotalBedOccuRate,
    -- vr_TotalBed,vr_TotalLOS,vr_AvgLOS
    FROM MIS_STATICAL_INFO
    Where TO_CHAR(InfoDate,'DD-MON-YYYY') = TO_CHAR(sysdate,'DD-MON-YYYY');
    error
    SQL Error: ORA-01722: invalid number
    01722. 00000 - "invalid number"
    *Cause:   
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    user21354 wrote:
    yes you are right InfoDate is varchar2 .... it changed it.....
    thnksYou are welcome, why not look into this then
    Handle:      user21354
    Status Level:      Newbie
    Registered:      Jan 24, 2011
    Total Posts:      153
    Total Questions:      *80 (65 unresolved)*

  • !! Query not running - disconnecting from server!!

    BW GURUS!
    I have 140 queries out of our Live 1 (GL1) and now we are on GL2 (Go Live 2). I transorted all the queries in here.All the config and defnition everything is normal (even for the new queries I created in GL2 NOT Transported from earlier system....It does the same thing). When I open to run a query it is kicking me out of teh srever giving the following error message.
    My best guess is I miss some std setting that I need to implement in the process. It is something related to SAP exit or so.
    Error Group
    RFC_ERROR_SYSTEM_FAILURE
    Message
    Syntax error in program SAPLXRSR
    And the dump is as follows :
    Error in ABAP application program.
    The current ABAP program "CL_IM_RSR_OLAP_BADI===========CP" had to be
    terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    In program "SAPLXRSR ", the following syntax error occurred
    in the Include "ZXRSRU01 " in line 333:
    "The field "I_FISCYEAR" is unknown, but there are the following fields "
    "with similar names: "FISCYEAR" and "I_FISCPER"."
    Error analysis
    In program "SAPLXRSR ", the following syntax error occurred:
    "The field "I_FISCYEAR" is unknown, but there are the following fields "
    "with similar names: "FISCYEAR" and "I_FISCPER".
    Let me know your thoughts!
    Regards
    Praveen

    Check your user exit code for syntax errors first. Make sure that you check all includes as well. The error below suggests that you are using a field called "I_FISCYEAR" which probably isn't defined using a
    DATA:
       i_fiscyear type blah...

  • Query not running in Dashboard query browser.

    Hi,
    Kindly provide me some light on the issue i am facing.
    I have prepared one universe in IDT and published it to repository. In the Dashboard i am able to select the universe and when i am running the query in query panel, it is showing me one issue. The error is : Datasource name not found and no default driver specified.
    But i have created ODBC connection and using it in IDT also. There in IDT, i am able to run the query in business layer query panel.
    Regards
    Archit Sarwal

    HI,
    Great, thank you for the reply
    i'm not really sure but i think if we have a problem on BI Launch pad so you will ever be able to run a query in Dashbaord
    so the first think is fix this problem
    but before this please be sure that you have no preblem by running the a query using the Webi Rich Client (very important test)
    no in order to run the query in BI Launch pad you Should have the same ODBC (64bit) configured in BI server Box
    Best regards,
    Mohamed AISSA

  • Absent of Alpha routine : Query not running properly

    Hi All,
    We are facing below problem in execution of query,
    Problem: We have forgot to set ALPHA routine property in some info object and loaded full data in the data target,
    But when we run report without leading zero, the query is giving wrong output
    Ex:
         Data in target: 0000201
         Data in Query: 201
    For above selection report will give wrong result because absent of ALPHA routine lead 0000201 and 201 as different value.
    Constrains: We have loaded millions of data in targets so we couldnu2019t delete and reload data
    Please provide me some valuable input to overcome above problem.

    If you are lucky you are still on BW3.5. In that case there is an ABAP that can do the correction for you.
    In BW7.0 this ABAP is not working anymore and no support is available for alpha correction. The only solution that I see is indeed reload all data.
    If you have an ODS before your cube and work with delta, you could:
    - create another IOBJ with ALPHA.
    - fill this IOBJ from the first IOBJ via transformation rules or analysis process
    - add new IOBJ to ODS and CUBE and adapt transformation rules
    - generate new (fresh) index on CUBE
    - replace old IOBJ by new IOBJ in queries
    Or, alternative:
    - create a new cube with the new IOBJ and without the old IOBJ
    - load the new CUBE
    - rebuild queries on new cube
    - discard old cube

  • Where case when query not running at all in 11.2.0.3

    Hi,
    I have a query that was running fine till the time we were in 11.1.0.7. Last month, we had a migration to 11.2.0.3, and the query has stopped running since then. It runs indefinitely, and finally I have to kill it. However, until 11.1.0.7, I had absolutely no problems with it. Not sure what changed in 11.2.0.3 that causes it to never give me a result. The query is as below:
    SELECT T1.NAME,T2.AGE,T2.level, T2.AMT,
    FROM table1 T1, table2 T2
    WHERE (CASE WHEN
    (T1.name = 'Peter' AND SUBSTR(T1.desc,1,15)=SUBSTR(T2.description,1,15))
    THEN 1
    ELSE 0
    END)=1;
    Please advise!
    Thanks in advance.

    Hi,
    CrazyAnie wrote:
    Hi,
    I have a query that was running fine till the time we were in 11.1.0.7. Last month, we had a migration to 11.2.0.3, and the query has stopped running since then. It runs indefinitely, and finally I have to kill it. However, until 11.1.0.7, I had absolutely no problems with it. Not sure what changed in 11.2.0.3 that causes it to never give me a result. The query is as below:
    SELECT T1.NAME,T2.AGE,T2.level, T2.AMT,
    FROM table1 T1, table2 T2
    WHERE (CASE WHEN
    (T1.name = 'Peter' AND SUBSTR(T1.desc,1,15)=SUBSTR(T2.description,1,15))
    THEN 1
    ELSE 0
    END)=1;
    Please advise!I'm surprised it runs in any version. You have a comma right before the keyword FROM. If you were not getting a compile-time error, that was a bug in 11.1.0.7 that they fixed by 11.2.0.3.
    It's still strange that the query runs for a long time. I would expect it to give you an error when you tried to compile it. Is there any chance that what you posted is not what you're actually running?
    Also, LEVEL, NAME and DESC are not good column names. How Oracle reacts to using keywords like that as column names can vary from version to version. If a word is in v$reserved_words.keyword, then it's best to avoid using it as a column (or table, or variable, or schema) name.
    Edited by: Frank Kulash on Nov 21, 2012 1:33 PM
    By the way, that WHERE clause is a lot more complicated than it needs to be. Why not use
    WHERE      t1.name = 'Peter'
    AND      SUBSTR ( t1."DESC"     -- If you must use DESC, double-quote it
                , 1
                , 15
                ) = SUBSTR ( t2.description
                               , 1
                     , 15
                     )? Always think carefully before using CASE in a WHERE (or HAVING, or START WITH, or CONNECT BY) clause.

  • Query not running online

    Hello All,
    I am getting the below error when I try to run the public query SAR_TER_BY_DATE online using Query Manager.
    **[Open Query] [CQryStmt::Prepare] QDM could not load query definition [ PUBLIC.SAR_TER_BY_DATE ]**
    I checked the all PSQUERY tables like PSQRYDEFN, PSQRYFIELD, PSQRYEXPR, PSQRYCRITERIA, PSQRYRECORD, PSQRYSELECT etc and this query exist in all the PSQUERY tables. I am able to run in two-tie and in database using query tool.
    Please let me know what could be the problem.
    Thanks in Advance!

    Delete and recreate the query or migrate it from another environment (if it is working in another environment).
    Thanks

  • Query not running in shell scripting

    Hi Experts,
    I have created a query to check the temp tablespace usage in production servers and i wanted to run the query using shell scripting but when i running the query in the script i am not getting any errors or output i am unale to rectify where exactly i am doing mistake
    below is the query
    SELECT A.tablespace_name "tablespace", D.gb_total, ROUND(SUM (A.used_blocks * D.block_size) / 1024 / 1024/1024,2) "gb_used", ROUND(D.gb_total - SUM (A.used_blocks * D.block_size) / 1024 / 1024/1024,2) "gb_free" FROM v$\sort_segment A, (SELECT B.name, C.block_size, ROUND(SUM (C.bytes) / 1024 / 1024/1024,2) "gb_total" FROM v$\tablespace B, v$\tempfile C WHERE B.ts#= C.ts# GROUP BY B.name, C.block_size) D WHERE A.tablespace_name = D.name GROUP by A.tablespace_name, D.gb_total
    Please help out in this.
    Thanks....

    two files:
    1) file to connect, for example called conection.sql
    ../../../sqlplus user/password@your_database @../../../../your_script.sql
    2) your script in the other file "your_script.sql"
    SELECT A.tablespace_name "tablespace", D.gb_total, ROUND(SUM (A.used_blocks * D.block_size) / 1024 / 1024/1024,2) "gb_used", ROUND(D.gb_total - SUM (A.used_blocks * D.block_size) / 1024 / 1024/1024,2) "gb_free" FROM v$\sort_segment A, (SELECT B.name, C.block_size, ROUND(SUM (C.bytes) / 1024 / 1024/1024,2) "gb_total" FROM v$\tablespace B, v$\tempfile C WHERE B.ts#= C.ts# GROUP BY B.name, C.block_size) D WHERE A.tablespace_name = D.name GROUP by A.tablespace_name, D.gb_total;
    3) execute --> conection.sql

Maybe you are looking for