Time out (BEx Query)

Hi Gurus,
I ran a query 2 times but everytime it is getting time out. Please advice me what could be the reason or what should I do find out the problem.
I would appreciate for quick reply.

Hello Pramod,
Tune the query design - Put all initial unnacessary characterstics inside "Free Characterstics", Use filters for restriction on entire report level what not.
Check it using RSRT.
It could also be Cach Problem. Also try to check if anything else very heavy is running at the same time on same server.
Hope it helps.
San.

Similar Messages

  • Bex query. Select single values in variable time out.

    I have created a variable on characteristic 0profit_ctr which works fine for all queries on all Infoproviders except for one.  With this particular Infoprovider, which is a DSO when the option to show u201CSingle Valuesu201D is selected in the variable screen the query just hangs and eventually time-outs. I have tried including the DSO in a mult-provider but still have the same issue. The variable works on other DSOu2019s with exactly the same settings. This DSO has less data than the other DSOu2019s which work fine.
    I know that 0profit_ctr is compounded with 0co_area which I have tried restricting with no change in the result.
    I would be grateful of any ideas.
    Thanks
    Jenny

    Hi Durgesh.
    I checked the settings and although they were the same as other infoproviders I changed the query filter value to use the values in the master data table and this has solved my problem.
    Thanks for your tip.
    Regards
    Jenny

  • Need your help !!! -- Authorization error for Real-Time Bex query

    Dear experts:
    I have a Bex query built on a multiprovider, this multiprovider is consist of one standard cube and one real-time cube(virtual provider). When I run this query, I can retrive the data and no error occured, but when others execute this query, they will get the error message below:
    Operation Generate a Request could not be carried out for DTP DTP_D7JVT8DGBQWPWL13VIUITNODG
    You do not have authorization for the data transfer process
    Errors occurred during parallel processing of query 2, RC: 3
    Error while reading data; navigation is possible
    Row: 54 Inc: WRITE_MESSAGES Prog: CL_RSDR_AT_QUERY
    I used tcode rsecadmin to track the authorization, when I execute as user XXX, I can get the same error above, but when I go to "Display Log", no error showed there.
    Did anybody meet the same error before? How to resolve that?
    Any post would be appreciated and thank you all in advance!
    Tim

    I think there is some missing authorization,here
    the user has no access to execute the DTP.
    You can analyse it in rsecadmin or also see
    which object you are getting in su53.
    Thanks,
    Saveen

  • Query Time Out and Shared Objects

    Hi,
    I have 2 questions.
    1) from st22 i can get the list of users and time out information. But how can I find related query which has been time out by that user ?? as of now i was getting query information from st22 by getting abap program name which starts with "G" and find related query for that from the table rsrrepdir. But recently it is happening that i get abap program which starts with "G" from st22 time out but its not giving me any query information in RSRREPDIR table or by t-code se38.
    can anyone guide me how can i get query info from st22 ? we have so many time out occuring in production have to trace that and improve the query performance.
    2) 2nd question is - how can i get list of queries which are having shared objects like variables, templates, key figures, structures etc...
    is there any specific table or t-code which provides that? we have to delete some queries in prod. but before that we want this list.
    A.H.P. I am counting on you extensively for help coz i have seen that you reply to everybody. and i have asked same question in another forum at SDN but no reply !!!
    waiting for help...

    Hi Bhanu,
    thank you for your prompt reply.
    well, we dont have woorkbooks atall. we got the inventory list of all queries needs to be deleted in production. we are deleting very very old queries which are not even in used now. i know the variables and str. etc...remains but still needs to know how to find out the queries with shared object. i want that information in hands before i delete anything in dev. system and transport it to prod. so, i will have proof that i didnt delete anything important. hope you understands what i mean and why i need to know this !
    i found few tables related to this but cannt relate them and get the info I need. RSRREPDIR, V_ELTDIR_TXT, RSZELTXREF,etc..
    where used list in BEx gives us the webtemplates names nothing else. i meant not the shared objects. and if it is giving shared objects info then i guess i am not aware of it coz few queries i tried to check didnt get that info in "where used" list.
    in metadata repository ?? i didnt get it!! how can i find queries with shared objects in metadata rep ?

  • Time out error while executing BW query from SRST

    Hello Experts,
    While running a query from SRST t-code im getting time out dump.
    Is there any possibility to run the query in background to avoid dumps, apart from taking the report and executing from SE 38
    Regards,
    Arjun Reddy.

    Hi,
    Your target may have huge and report may be trying to extract whole data.
    please try to your report with some selections/filters and check it.
    it may work.
    Thanks

  • ADF: How to find out which query has taken what time?

    Hi,
    I have an ADF application which has many SQL queried running on each button click/page load, so how to find out which query is taking what amount of time? So that i can identify the long running queries and modify them to improve the application performance.
    Thanks in advance.

    Hi,
    As suggested by Timo,you need to start tracing on oracle.jbo package for getting the SQL queries.But I think the second option suggested by him would be better.You will have to override executeQueryForCollection method in VO Impl class .Pseudo code would be
    @Override
    Take start time
    super.executeQueryForCollection
    Take end time

  • TIME-OUT error in BSAK select query(Progress Indicator is also used)

    Hi,
        In my report program one select query is there on BSAK table, which is as follows --
           SELECT BUKRS                                                     
                         BELNR
                        GJAHR
                        SHKZG
                        BSCHL
                        UMSKZ
                        LIFNR
                        EBELN
                        EBELP
                        WRBTR
                        DMBTR
                        XZAHL
                        REBZG
                       AUGBL
                       BLART
                       AUFNR
                       AUGDT
                       BUZEI FROM BSAK
                                  INTO TABLE IT_BSAK
                                  FOR ALL ENTRIES IN IT_BKPF1
                                   WHERE BUKRS = IT_BKPF1-BUKRS
                                                AND AUGDT = IT_BKPF1-BUDAT
                                                AND AUGBL = IT_BKPF1-BELNR
                                                AND BSCHL IN ('31' , '29', '26', '39', '25').
    I used Progress Indicator befor running this query and after this query also. But still It's giving me TIME-OUT error in this select query only.
      I run the same query for 10 records in IT_BKPF1 table, it runs perfectly. But when I run it for 1000 records it giving dump.
    And in actual bussiness my records are always more than 100 only.
    I also check the indexing. It having secondary indexing on this BUKRS, AUGDT, AUGBL fields. Then also it's giving error.
    so, How can I solve this dump..?? What could be the reason..??
    Thanks in advance...!!
    Regards,
    Poonam.

    Hi Poonam Patil,
    Try to provide BELNR and GJAHR in where condition...
    BKPF-DBBLG ==> BSAK-BELNR
    Also check
    BKPF-BLDAT ==> BSAK-AUGDT
    Check out above relation...
    If data is there in these fields of the table and both are matching then you can pass it and as they are in primary key of BSAK it will improve the performance...
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Seelct query time out for single region

    Hi ,
    I am currently facing a problem with a report .The problem is in a select query.The report runs successfully when it is run for only more than 1 state but when it is run for single state then it times out.The select query is as given below.
    SELECT avbeln eposnr bvbtyp aerdat akunnr ckunnr d~regio
               ewerks aernam dname1 afaksk b~cmgst
               INTO TABLE t_block
               FROM vbak AS a
               INNER JOIN vbuk AS b
               ON bvbeln = avbeln
               INNER JOIN vbpa AS c
               ON cvbeln = avbeln
               INNER JOIN kna1 AS d
              ON dkunnr = akunnr                             
               ON dkunnr = ckunnr                             
               INNER JOIN vbap AS e
               ON evbeln = avbeln
                   WHERE a~faksk IN faksk
                     AND a~vkorg = vkorg
                     AND a~vtweg IN vtweg
                     AND a~spart IN spart
                     AND a~vkbur IN vkbur
                     AND a~vkgrp IN vkgrp
                     AND a~kunnr IN kunnr
                     AND a~ernam IN ernam
                     AND a~erdat IN erdat
                     AND a~vbeln IN vbeln
                     AND a~vbtyp IN vbtyp
                     AND b~spstg IN ('A','B','C')
                     AND ( b~fsstk NE space
                          OR b~cmgst NE space )
                     AND b~abstk NE 'C'
                     AND c~kunnr IN s_kunwe
                     AND c~parvw = 'WE'
                     AND d~regio IN s_regio.
    Please let me know if you require any more information.
    s_regio is the select option for state.Also I feel that for KUNNR the On conditon might cause soem problem becasue it does not involve key fields.
    thanks,

    hi ds,
    separate the select in several selects. The inner join is not always the best solution.
    take
    data : ivbak type table of vbak,
       field symbols : <xvbak>
    select +++ into corresponding fields of table ivbuk
              from vbuk
              where
    select +++ into corresponding fields of table ivbak
             form vbak
             for all entries in ivbuk
             where vbeln eq ivbuk-vbeln ...
    select ...
    if you want to have one internal table then do it with a loop.
    loop at ivbak assigning <xvbak>
    read table ikna1 with key kunnr = <xvbak>-kunnr.
    loop at ivbap whee vbeln = <xvbak>-vbeln.
    itab..= vbak..
    ? move corresponding ?
    append itab.
    endloop.
    endloop.
    that will not cause a time-out.
    if you want a verry quick program - use tables without heading lines and field symbols with loops with assigning.
    It is more to write but the effect is verry good.
    Hans
    Hans

  • Time out error in POWL query

    Hello Experts,
    The user selected Purchase Order  ALL and ran the query with wild search, it contains around 40K POs showing in Active query list.  When he wants to access these POs by cliking on hyper link ALL (40451).  Its going to Time out error, because requestor number is missing.
    Kindly throgh some light how to clear this filter.
    Highly appreciated for prompt responses.
    Regards,
    Suneel Kumar

    Hi Poonam Patil,
    Try to provide BELNR and GJAHR in where condition...
    BKPF-DBBLG ==> BSAK-BELNR
    Also check
    BKPF-BLDAT ==> BSAK-AUGDT
    Check out above relation...
    If data is there in these fields of the table and both are matching then you can pass it and as they are in primary key of BSAK it will improve the performance...
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Query runs slowly and times out in CF 8

    I'm trying to run this query using Coldfusion 8 and MySQL 5.
    If I run the query directly off the database the results are
    returned very quickly.
    If I run the query through CF 7, it's pretty slow but still
    runs. If I run the query through CF 8 it takes FOREVER, then times
    out.
    Any ideas what could be going wrong here?
    I'm no DB expert. But if the query can run quickly directly
    off the DB OK, but then bombs out in CF 8, that the problem might
    be with CF 8 itself?
    <cfquery name="theOrders"
    datasource="#Application.ds#">
    SELECT o.orderid, o.dealer, o.dealerRep, o.dealerPO,
    o.dealerShippingInstructions, o.dealerFreightCollect,
    o.othershipping, o.billoflading, o.carrier, o.othercarrier,
    o.serialno, o.ShippingDate, o.Shipping, o.ShippingTotal,
    o.SaleSubTotal, o.SaleTotal, o.Tax, o.Discount, o.DiscountRate,
    o.Status, o.DateIn, o.bFirstName, o.bLastName, o.bAddress1,
    o.bAddress2, o.bCity, o.bState, o.bZip, o.bPhone, o.sFirstName,
    o.sLastName, o.sAddress1, o.sAddress2, o.sCity, o.sState, o.sZip,
    o.sPhone, o.sPhone2, o.Message, o.dealerShippingInstructions,
    o.bCompany, o.sCompany, o.bEmail, o.ipaddress, o.oAuthorization,
    o.CCType, o.CCNum, o.CCName, o.CCYear, o.CCMonth, o.entryDate,
    i.RelProductID, i.Quantity, i.RelUnitPrice, i.Shipping, i.Discount,
    i.title
    FROM tblorders as o, tblorderitems as i
    WHERE o.OrderID=i.Relorderid
    ORDER BY OrderID ASC
    </cfquery>

    The server monitoring tool that is built in CF8 can help
    debug this issue quickly. It can give you report about query
    execution time, time taken by a tag to execute and lot more other
    details.
    You can launch sevrer monitoring via CF Administrator.

  • Time out problem for select query

    I am fetching data from BKPF for my report.
    I have written following query.But this query always time out.
    SELECT
        BUKRS
        BELNR
        GJAHR
        BLART
        BLDAT
        BUDAT
        MONAT
        XBLNR
        BKTXT
        WAERS
        KURSF
        HWAER
        FROM BKPF
        INTO TABLE I_BKPF
        WHERE BUKRS IN S_BUKRS
         AND BELNR IN S_BELNR
         AND GJAHR IN S_GJAHR
         AND BLART IN S_BLART
         AND BLDAT IN S_BLDAT
         AND BUDAT IN S_BUDAT
         AND MONAT IN S_MONAT
         AND CPUDT IN S_CPUDT
         AND BSTAT = SPACE.
    So please suggest me solution.

    Hi..
    1) Try to make Some of the Fields such as BUKRS , GJAHR  as PARAMETERS so that ROWS are restrited mostly.
    2) Make fields like BLDAT and BUDAT as OBLIGATORY if possible.
    3) And in the SELECT query add the PACKAGE SIZE addition.
    <b>Reward if Helpful.</b>

  • Query Running Time Out

    Hi Friends,
    now here i have question. from st22 we can get list of query time out in production and from error log by fill_sp function we can get ABAP program name from which we can get querie's detail like name, cube name etc...
    but i am facing some of the query time out gives ABAP program name but cannt get query info from that !!! i tried it by se38 by that also i didnt find all the query info for few time out. is there any way i can get info for those query time out ??
    please reply to my as i am new to this forums....last time when i asked questions noone replied me !!!
    waiting for help !!

    Hi,
    if my question is not clear then let me just ask in general.
    from st22 how can i get query name which have been time out ??
    can u please elaborate the process ?
    thank you in advance and i will give the points once i get the solution.

  • Select query giving Time out dump

    Hi All,
        I have written a select query on a table in BW system.The code for the same is attached below.The table contains some 6,00,000 records.This query is giving a time out error.Kindly look into the query and advice ways to make it work.Thanks.
        IF NOT lt_temp[] IS INITIAL.
          SELECT /bic/zprrmatnr objvers /bic/zprclwynr /bic/zprrmdlr
                 FROM  /bic/pzprrmatnr
                 INTO CORRESPONDING FIELDS OF TABLE lt_zprrmatnr
                 FOR ALL ENTRIES IN lt_temp
                 WHERE /bic/zprclwynr = lt_temp-temp
                 AND   objvers = 'A'.
        ENDIF.
    Thanks and Regards,
    Faisal

    Not only is it BW, it is also a customer table. Have a look here on how to research yourself:
    Please Read before Posting in the Performance and Tuning Forum
    Thomas

  • Select query - Time out error

    Hello Experts,
    Please help me this below query. If I ran the program, it will take so much time to execute the below query and its goes to time out.
    Please help me.
    SELECT  mvgr1                           "Line of Business
                werks                             "Plant
                lgort                               "Storage Location
                charg                              "Batch
                matnr                             "Material Number
                kwmeng                          "Ordered quantity
                posnr                              "Item
                vbeln                              "Sales Order Number
          FROM  vbap
          INTO  TABLE gt_salesdatatemp
           FOR  ALL ENTRIES IN gt_matmerge
         WHERE  matnr EQ gt_matmerge-matnr
           AND  werks EQ gt_matmerge-werks
           AND  mvgr1 EQ gt_matmerge-mvgr1
           AND  lgort EQ gt_matmerge-lgort
           AND  charg EQ gt_matmerge-charg
           AND  abgru EQ space.
    Thanks in advance.

    Hi,
    If the number of records to be fetched is very very high then you can use the cursor concept.
    Please see the below code.
    =====
    OPEN CURSOR dbcur FOR SELECT .... FROM ....... WHERE ...... .
        DO.
        FETCH NEXT CURSOR dbcur INTO TABLE itab PACKAGE SIZE 10000.
           IF sy-subrc NE 0.
                EXIT.
           ENDIF.
        ENDDO.
    CLOSE CURSOR dbcur.
    =====
    Using this concept you can fetch the data in packets.
    Additionally, you can take care of the following points to have better performance.
    a. Check that your query is using the index.
    b. Check that the internal table is not initial. If it is initial then the select will happen for all records in the DB.
    Regards,
    Saurabh

  • Time out of the Query

    Sdn
    Im getting Time out for one query while excuting in PRD system. That query filter field setting is Only values Infoprovider. But DEV Im able to excute the same query, but in this system that field setting is Only posted values in navigation
    advance wishes

    Hi Kirun,
    I'm sure, it can be done in dev because the data is not big like in the production.
    You need to tune up your info provider (info cube/ods).
    I had once the problem like you, i can run in dev, but not in prd.
    due I use ODS, so that I tuned it up by creating Index. And after it, it can run well.
    If it's Info cube, you can create aggregate / compress it.
    Hope it helps you a lot.
    Br,
    Daniel N.

Maybe you are looking for

  • Arithmetical errors or conversion errors found in routine ROUTINE_0011

    Hi, I am having a problem when trying to load a cube from an DSO. In the PSA 90 record appears with the error "Arithmetical errors or conversion errors found in routine ROUTINE_0011 record XXX" I simulated and debbug the load and this routine have th

  • My apple tv suddenly only shows two icons not computers and settings

    I was watching Netflix all for 3 hours then went to the Apple T.V. home screen then all there was only two icons the Computer and Settings? I have restarted the Apple T.V., turned it off unplugged it and starteded it as well as restarted my internet.

  • Binding on an iterator always return the first row  of the Children VO...

    I have 3 pages: A -- tree table bound to VO A; B is used to view the detail of a row selected inside the table; Inside B there is another table that contains the childrens VO of B. Select a row in the table will launch C to view the details of the ch

  • Error in webdynpro application using RFC's

    Hii, I have a webdynpro application where i use RFC to add a new customer to the database.I have used datacust and Uicust to do the corresponding coding.While running the application, values are not getting added from the front-end...giving an error

  • About sip with nokia N series

    Hello i want to ask about something but i don't know how to do that, i mean how to configure SIP profiles by SMS  ( like the network provider when he sends sms with the internet configuration ) if that possipole please attach the steps , thank you so