Custom Report times out

Greetings,
We are experiencing a very peculiar problem with a custom report where it times out after the stipulated 30 minutes (rdisp/max_wprun_time = 30 minutes). What is unusual is that, the same report, with the same selection criteria, finishes within 20 minutes at some times or even in a lesser duration. I have been unable to establish any correlation between when it runs and when it times out.
Some facts.
1. There are enough free dialog wp, memory and CPU utilization is approximately 50% (or even less) when it does/doesn't finish. By this, I mean that the system is by no means under any kind of stress.
2. Executing the report in the background is an option, but for what the report is meant for, it is necessary to run it in the foreground.
3. I created indices on the tables it reads, which I see being used in the Explain Plan. But using the same indices, the report doesn't finish at other times.
4. The table does an inner join of 2 huge tables; EKPO and EKKO and also an inner join on EBELN and EKET
5. I have checked for locks in the system, but with locks on EKPO and EKKO, the report is still able to finish at some times.
I can probably increase the time limit further, but that is the last thing I would like to do. What is perplexing is that the report finishes within the stipulated time at times. Am I missing something here ? Any help would be greatly appreciated.
Thanks,
Kunal

Just a followup before I close this thread.
The real issue here is that the report reads table A073 which has grown up to around 1 Gb. With this table being defined as fully buffered, buffering is not possible (or results in an error rather) and large amounts of time is spent reading it. In addition to this, the the program does an inner join of this table on MARA (another huge table).
All the above information was found out courtesy ST05.
Thank you for the inputs as always.
Kunal

Similar Messages

  • EKKO+ RSEG : Report times out

    Hi
    What would be the most effetive way to check whether an purchase order has been invoice receipt(IR) and what the invoice document number is?
    The report times out because i don't use the year and invoice document number when reading rseg. The link to rseg from ekpo or ekko is the purchase document number.
    If i use rseg as a starting point you will not know in which year the purchase order has been (IR).

    you better read the purchase order history table:EKBE.
    Pass the purchase order number and its item.
    Pass BEWTP eq 'Q', you will get the generated invoice document number.
    later you can query RSEG with the document numbers found.

  • Export Report times out - how do I export all my customers?

    We have about 35,000 customers in our BC database.
    I'm trying to export them for use in a direct mailing campaign (and other reports for other reasons) but the export always times out.
    The reports are very simple; ie.
    Custom Report -> Add customer report
    Select Customers (Contacts & Companies)
    Select CRM ID, Customer Name, Default Address Type
    Next
    Generate report (no filters)
    About 33,000 results are in the report.
    I then select Export Report as CSV or Excel and it will sit there for up to an hour or more and do nothing.
    Notes:
    I keep the session live by having a login in another tab.
    Have tried differenty browsers and internet connections.
    I even filtered the results (based on create date) and same problem occurred with just 15,000.
    How can I export this report and other simple reports I need?
    Regards,
    Troy.

    After Sanjit took a look at this it turns out all I needed to do was to save the report before exporting the results. The export was much quicker and, now we have more cutomers in our database, it actually exports!
    Thanks again Sanjit.
    Troy.

  • Foreground job - Standard report - Time out error

    Hi,
    I have a standard SAP report which is executed from portal and the report is failing in the foreground with a time out error. As there is time set for foreground process and probably the volume of the report is big which is not good enough to execute in the foreground time frame.
    The customer wants to run it only in the foreground and does not want to schedule in the background and the reason being he wants to do some customization on the columns when the report is displayed back on the portal screen.
    Now my question is there any other option to get the requirement and increasing the foreground time is ruled out by Basis team.
    I was thinking if I can use a wrapper report on the standard report and include SAPGUI_PROGRESS_INDICATOR to keep the connection between the dialog and the presentation server going without dis-connecting. Is this a better option and I am not sure if it will work ?
    Please let me know if any one else has resolved such issues earlier.
    Regards
    Praneeth Kumar
    Edited by: gansprasan on Sep 20, 2011 2:07 PM

    Hi,
          Though it is not advisable to change max run time... if need you you consult with your basis and you can change run time dynamically in your program and reset to original. I agree even CL_gui_timer class wont help.
    you can check below link.. handle it carefully..
    [http://help.sap.com/bp_bw370/documentation/How_To_Change_the_Maximum_Dialog_Runtime_of_a_Process_in_NW2004s.pdf]
    data: old_value(100).
    CONSTANTS: parameter LIKE tpfet-parname
    VALUE 'rdisp/max_wprun_time'.
    CALL 'C_SAPGPARAM' ID 'NAME' FIELD parameter
    ID 'VALUE' FIELD old_value. " old_value will have value set by basis.
    IF sy-subrc <> 0.
      RAISE not_found.
      ENDIF.
    use FM TH_CHANGE_PARAMETER to change value. Again reset the value with old value..
    Regards,
    Ravi.

  • Running query report times out

    All,
    At my customer we have a BW3.1 system.
    When running a query using ta rsrt it times out after 1 hour. The query/report should be done in 5 minutes but somehow it gets stuck.
    With an SQL trace we see no queries and in the Dialog work process we do not see any update on new records being read.
    When its started it starts building/reading a temporary table: BI0/03010 but its get stuck and times out eventually.
    We also ran the drop temp tables job and rerun the query, however this does not help.
    Does anyone have any ideas where to look?
    Grt,
    Sjoerd

    Run ti through RSRT in debug mode and display the SQL run schedule - then go and look at the query execution path
    If your cube is partioned try and make sure you get the partioning object into the where clause (ie 0fiscper or 0calmonth) - if you cant get it on a selection screen - try and derive it in a cmod in a filter
    Next - check that the database stats are current for the entries in the query
    Go to the query exection path and click on the tables - they will give you the last statistics date
    Updating the db stats can have a dramatic effect on the order you see in the query execution path
    The temp table is probably a hierarchy build - these are a nightmare for large hierarchies - but go with the other things first

  • 9iAS rel 2 SLOW and report times out when running !! HELP !

    Hello,
    I have 9iAS installed on Win 2K machine SP 2.
    I have done the BI install with the infrastructure in a separate home.
    I have 524K RAM.
    EM is VERY SLOW (as per usual).
    I have rebooted the server a few times - still slow.
    When I try to run a report it times out just bringing up the parameter page !
    If I try to kill the report I run into BUG 2544383 which is a fat lot of use ....
    This 9iAS is absolute garbage - how can Oracle tell us to migrate our existing developer forms & reports to web-deployment from client server if this sort of performance is going on ? This is still in development - if this was a production machine this would be TOTALLY UNACCEPTABLE !!!!!
    Does anyone from Oracle actually respond to these threads or are they too busy writing bugs for the next release of 9iAS ?
    Seriously though, if anyone has some workarounds for these issues then please let me know.
    Thanks

    We got aound the ADMN error by manually starting the components that were down in Infrastructure first then the ones in the BI instance all thru EM.
    FYI Oracle said this to me about recommended h/w :
    The Installation Guide for iAS sets the minimum requirements for installing iAS as:
    Infrastructure 512Mb RAM
    Mid Tier install with 4 or more components 512 Mb RAM
    Please remember that these are minimums only and are not the recommendations for anything larger than a small workgroup installation. The main points to remember are to install the OS on a seperate physical disk from the Applications and to have as much RAM as you can beyond the minumums. But even this approach has its limitations and so you may then have to consider different approachs to maximising scalablility. It is also not recommended to have the Infrastructure and Mid-tier installed on the same machine for larger systems as you are more likely to encounter resource limitations due to the different installations serving different purposes.
    So we are going to go with your minimum 2 Gig with 7 gig swap file I think.
    I think we may go for a 3-server setup.
    one with Infrastructure and Portal on it.
    The other 2 with BI installs on them with them probably running in some sort of cluster (either hardware or software cluster). All with 2 gig RAM.
    I still don't know why somtimes my reports hang - I think it may possibly be BUG 2544383 which to me is a major issue as a lot of our reports are PDF as users print them out. But essentially it screws up the AS and invariably I have to either restart the WHOLE instance or reboot the server ! NOT very good for when I want to go Live with this !

  • Custom Report Time

    Dear Gurus..
    I need to develop a custom report such dat i need to check mnth vise opening and closing balance of quota of particular leave..
    Eg for month of january:
    I need to see opening balance as baalnce on 1 st jan:
    and  closing balance  as balance on 31 st jan....
    Please suggest on which table day by quota is maintained....
    Regards
    Ashima

    Hi Sikindar,
    I dont think she can make use of PT_QTA10 as she wants balances opening and closing for a given month.
    Ashima,
    Is quota accrual done in time evaluation? If yes do you use time types for it? If yes then do you store them in SALDO? If yes then quota in that period can be fetched from SALDO.
    The absences in that period can be taken from IT 2001.  The difference from both these values will give opening and closing balances in that month.
    cheers
    AJ

  • FAGLL03 (SAPLFAGL_ITEMS_SELECT) report times out

    When the FAGLL03 (SAPLFAGL_ITEMS_SELECT) report runs to retrieve a lots of data, it times out.
    I wonder if there is a better (similar) way to extract the G/L data by either using another report in ERP or even to create a query (BEx query) in BW to get the data???
    What are the best/recommended practices for running FAGLL03?
    Best regards,
    Tom

    Hi Tom,
    Try reviewing the below information, if this does not help, you might have to narrow your current selection
    for FAGLL03, or run it in background.
    The normal recommendations for performance problems in the FAGLL03 transaction are:
    1. Use ALV grid, if possible - not ALV list
    2. Do not use filters
    3. Collapse/expand functionality-summarization levels
    4. Do not use layout with Special fields - very time consuming
    5. Check which index is used - Activate ST05 and trace the time consuming tables. Evt. replace the index for these tables.
    On the other hand, to improve the performance for transaction FAGLL03 you should try to create the following index to the FAGLFLEXA table.
    FAGLFLEXA should get a new index with the following fields:
    RCLNT
    RACCT
    BUDAT
    RLDNR
    BSTAT
    With these indexes, the selection which is currently causing the issue should run a lot faster. The issue for the selection is with the JOIN of the table BSIS/FAGLFLEXA and BSAS/FAGLFLEXA.
    So with this index, these selection should be a lot faster. Also please update the statistics with the DB20 after you created the new indexes.
    Hope it can help.
    BR,
    Leonardo Cunha

  • LMS 3.2 SP1 - Syslog Report times out / CW14: NO HTTP response

    Hi,
    in Device Center I can´t start the Syslog Report, it opens a new Browser window and times out.
    If I start the "Device Troubleshooting" from the Device Center, all checks are successful. Just the check "Syslog Message" show the error: CW14: NO HTTP response from Servername
    I have LMS 3.2 SP 1 installed
    I already re set the System Identity User and restarted the daemon, no success.
    What should I check? Is it a known problem ?
    Best regards,
    Patrick
    UP

    Hey,
    i maybe found the failure.
    In the dir "CSCOpx\databases\rmeng" the following files are very big.
    So I started a immediate syslog purge job, but it failed.
     [ Thu Jul 28  09:00:33 CEST 2011 ],INFO ,[main],Starting purge job 5349
     [ Thu Jul 28  09:00:33 CEST 2011 ],INFO ,[main], Its a force Purge job
     [ Thu Jul 28  09:02:21 CEST 2011 ],ERROR,[main],Drop table failed:SQL Anywhere Error -210: User 'DBA' has the row in 'SYSLOG_20110627' locked 8405 42W18
     [ Thu Jul 28  09:02:21 CEST 2011 ],ERROR,[main],Failed to purge syslogs
     [ Thu Jul 28  09:02:22 CEST 2011 ],ERROR,[main],Purge not successful
    Can anyone say me, how to fix it?
    Best regards
    Patrick

  • Custom Reports timing out for past 2 days.....

    I have been trying for a couple days to create a custom report -
    When i click on Reports > custom reports > ecommerce > I select products and click next and it has timed out consistently for a couple days now.....
    This kind of stuff is why we are moving away from BC - you would think though as large as adobe is this platform would be more robust and stable. Very disapointing.  
    *sigh*

    Hi Tom,
    Have you raised a case or reach direct chat support?  This is obviously not normal behavior and should be escalated if still happening. 
    If you have an existing case please provide this so I can check the status.  Otherwise please proceed reaching to direct support with this.
    Kind regards,
    -Sidney

  • Report Times Out only on Dialog Application Server

    Hi -
    We are on ECC 6.  We have a Central Instance and a Dialog Instance (both on AIX 5.3).  When the endusers run S_ALR_87009788 (program RFRRBIL1), which can not be run as a background job, on the Central Instance it runs to completion in about 10 minutes.  When they run the same report, with the same variant, on the Dialog Instance it times out in the SAPLGSAC program within the Include program LGSACF01.
    I've checked and rechecked parameters on both servers and they match.  CPU, memory and swap match as well.
    To add to this, the report runs in 2 minutes on our ECQ system.
    What else should I look at?
    Thanks!
    Margaret

    > No, we do not have dedicated high-speed network connections between the application servers and the database server. 
    This explains why you can execute the program on the database server directly but not on the application server.
    Most likely you have a 100 MBit connection, all other traffic is also going through that interface. So the application server must read all data from the database server, transfer it over the network to the application server and from there it has to be transmitted again to the client.
    It's highly advised to not use the normal network interface for communication between app server and database but a dedicated network infrastructure to keep latencies low and to allow almost the same speed.
    Markus

  • PWA 2010 reports time out

    hi
    one of the user if leave reports open in pWA 2010 for more than 5minutes I guess it times out.
    Could you please advice why?

    Hello, please can you give more details? What report? What technology, Excel, SSRS etc? Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Report - Time out Error when Joining EKPO & MSEG

    Hi All,
    This is my code:
    SELECT    EKKO~EBELN
                EKKO~LIFNR
                EKKO~BUKRS
                EKKO~EKORG
                EKPO~EBELP
                EKPO~TXZ01
                EKPO~MATNR
                EKPO~MENGE
                EKPO~MEINS
                EKPO~UNTTO
                EKPO~PSTYP
             FROM EKKO
            INNER JOIN EKPO ON
            EKKOEBELN = EKPOEBELN
            INTO TABLE T_EKPO
            UP TO P_MAX ROWS
            WHERE  EKKO~EBELN IN S_EBELN
            AND EKKO~BSART IN S_BSART
            AND EKKO~LIFNR IN S_LIFNR
            AND EKKO~EKORG IN S_EKORG
            AND EKKO~EKGRP IN S_EKGRP
            AND EKKO~BEDAT IN S_BEDAT
            AND EKPO~MATNR IN S_MATNR
            AND EKPO~WERKS IN S_WERKS
            AND EKPO~MATKL IN S_MATKL
            AND EKPO~PSTYP IN R_PSTYP
            AND EKPO~KNTTP IN S_KNTTP.
       SELECT MBLNR
               ZEILE
               ERFMG
               EBELN
               EBELP
               FROM MSEG
               INTO TABLE T_MSEG
               FOR ALL ENTRIES IN T_EKPO
               WHERE EBELN = T_EKPO-EBELN
               AND EBELP = T_EKPO-EBELP.
    Now i am getting time out error. Can Any one suggest how can i solve this issue.

    Identical problem by different (?) user:
    Joining tables EKPO & MSEG

  • How can I set custom socket time out value ?

    I have tried to use httpclient, but it seemed that it didn't work. The time out value is still about 4 minutes, not 30s I set.
    Anyone know this?
    Thanks
    Qing

    What httpclient are you talking about?
    The common way of configuring socket timeouts in Java would be through the setSoTimeout() method of the Socket or ServerSocket classes.

  • RSRV? Drilling through Report times out sometimes

    Hi,
    I have reviewed several documents on RSRV on SDN but I have some specific questions.
    1.  While drilling down on a particular report, sometimes it would timeout. Can you direct me how to use RSRV to figure out the problem and fix?
    2.  Also, I saw a caution in one of the postings to be careful running RSRV on production. Does RSRV automatically begins the repairs or you get the chance after the diagnoses to make a decision to repair or not?  What really can go wrong during the repairs?
    3. Also, I know RSRV has these options:
       a. Master Data Consistency Checks
       b. Transaction Data Consistency Checks
       c. Size of Dimension tables
       d. Checking SID values
       e. PSA duplicate record check
       f.  Checking Aggregates
       g. Partitions of Info cubes etc...
    Which of these options really will help me identify the intermittent problem I am having with the report? I will appreciate some stepwise guidelines on how to step through to figure out the problem.
    Thanks

    Hi,
    I tried RSRT; entered Query name; Query Display: List   
    Parameter 1 or 2  (I chose 1)
    I then selected:
    Display run schedule
    Do not use cache
    Do not suppress messages/warning
    The selection screen of the report came up report and I completed it. After execute+Debug I get the data below.
    What do I do from this point to figure out the problem and fix it:
    SQL Statement                                                                               
    SELECT                                                                               
    /*+                                                                               
    STAR_TRANSFORMATION  FACT(F)                                                                    
    "DT"."SID_0CALMONTH" AS "S____022" ,"D5"."SID_0DOC_TYPE" AS "S____130" ,                        
      "DU"."SID_0CURRENCY" AS "S____023" ,"S1"."MATL_GRP_4" AS "K____404" ,                           
      SUM (  "F"."G_AVV010"  )  AS "Z____084" , SUM (  "F"."G_AVV140"  )  AS "Z____093" ,             
      SUM (  "F"."G_AVV150"  )  AS "Z____223" , COUNT( * )  AS "Z____030"                             
    FROM                                                                               
    "/BIC/FATRUMMNP" "F" JOIN "/BIC/DATRUMMNP3" "D3" ON  "F" . "KEY_ATRUMMNP3" = "D3" . "DIMID" JO
      N "/BI0/SMATL_GRP_4" "S1" ON  "D3" . "SID_0MATL_GRP_4" = "S1" . "SID" JOIN "/BIC/DATRUMMNPP" "DP
    Execution Plan                                                                               
    SELECT STATEMENT ( Estimated Costs = 42 , Estimated #Rows = 1 ) 
         5  30 HASH GROUP BY                                         
               ( Estim. Costs = 42 , Estim. #Rows = 1 )              
               Estim. CPU-Costs = 15,234,394 Estim. IO-Costs = 34                                                                               
    5  29 HASH JOIN                                         
                   ( Estim. Costs = 41 , Estim. #Rows = 1 )          
                   Estim. CPU-Costs = 13,191,632 Estim. IO-Costs = 34
                   Access Predicates Filter Predicates               
    5  12 PARTITION RANGE SINGLE                               
           ( Estim. Costs = 5 , Estim. #Rows = 0 )              
           Pstart: KEY Pstop: KEY                               
           Estim. CPU-Costs = 19,122 Estim. IO-Costs = 4        
         5  11 TABLE ACCESS BY LOCAL INDEX ROWID /BIC/FATRUMMNP
               ( Estim. Costs = 5 , Estim. #Rows = 0 )          
               Pstart: KEY Pstop: KEY                           
               Estim. CPU-Costs = 19,122 Estim. IO-Costs = 4    
             5  10 BITMAP CONVERSION TO ROWIDS                                                                               
    5  9 BITMAP AND                                                                               
    5  4 BITMAP MERGE                                                                               
    5  3 BITMAP KEY ITERATION              
    Thanks

Maybe you are looking for