ABAP Program analysis with se30 how to avoid time out ?

Hi Gurus,
my problem is that I would like to analysis the performance issues of an ABAP Specific transaction.
BAsically, I launch se30, provide transaction code under transaction field and click on execute.
This launch transaction and then I put parameters and :
a ) launch transcation
b ) launch in background immediate.
In both cases it doesn't work due to time out and I never obtain a usefull result.
My question is : how can I use to analys such a transaction and avoid time out problem ?
Thanks for your help,
Regards
Morgan

One way would be to limit the selection criteria in such a way that the processed data is still representative but it finishes before the time out.
Even when a time out occurs, there should already be a trace file up to that point that you can evaluate. Depends on your processing logic, if it is one big outer loop it might be valid data, if you have several independent blocks, then you might be missing something important.
There is also the option "in parallel mode" where you can capture running BDC processes for analysis, maybe try this option as well. The trace file might grow pretty big though the longer your process runs, depending on aggregation level.
Thomas

Similar Messages

  • How to avoid time out error in abap program

    How to avoid time out error in abap program
    based on performance wise i want please help

    Timeout occurs when a statement exceeds its time limit.To avoid this we need to tune the statements.
    I can give give you few tips for tune a select stament.
    1.The order of the feilds in the select statement should be same as the order of fields in the database table.
    2.It is always advisible to use the key fields when you are using the where clause.
    3. Sort the internal table while using the for all entreis statements.
    4.Use index in where clause if necessary.
    5.When you have a read statement user binary search but before this a sort statement should be there.
    6. Check your program with the Tcode ST05 and check which statement takes much time based on that tune that.

  • How to avoid Time out issues in Datapump?

    Hi All,
    Iam loading one of our schema from stage to test server using datapump expdp and impdp.Its size is around 332GB.
    My Oracle server instance is on unix server rwlq52l1 and iam connecting to oracle from my client instance(rwxq04l1).
    iam running the expdp and impdp command from Oracle client using the below commands.
    expdp pa_venky/********@qdssih30 schemas=EVPO directory=PA_IMPORT_DUMP dumpfile=EVPO_Test.dmp CONTENT=all include=table
    impdp pa_venky/********@qdsrih30 schemas=EVPO directory=PA_IMPORT_DUMP dumpfile=EVPO_Test.dmp CONTENT=all include=table table_exists_action=replace
    Here export is completed and import is struck at below index building.After some time iam seeing below time out in log files
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX.
    Error:-
    VERSION INFORMATION:
    TNS for Linux: Version 11.1.0.7.0 - Production
    Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 11.1.0.7.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 13-JAN-2012 12:34:31
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 110
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=170.217.82.86)(PORT=65069))
    The above ip address is my unix client system(rwxq04l1) ip.
    How to see oracle client system port number?
    Please suggest me how to avoid this time out issues.Seems this time out is between oracle server and client.
    Thanks,
    Venkat Vadlamudi.

    Don't run from the client ... run from the server
    or
    if running from a client use the built-in DBMS_DATAPUMP package's API.
    http://www.morganslibrary.org/reference/pkgs/dbms_datapump.html

  • Performance analysis with SE30

    Hi,
      I want to know about performance analysis with SE30 How much should be percentage of DATABASE SYSTEM and on ABAP  how to reduce the load of system  and which is more critical load on DATABASE OR abap, also for my report i have checked with different  parameter according to the posting period which i have selected  the graph is changing
    regards,
      zafar

    There are a variety of materials on the subject of Performance Analysis and SE30.  If you'll take the time to search the blogs and articles in SCN, I'm confident you'll find something useful...
    Percentages vary, depending upon what we're doing, which tables we're using, how many tables, etc.  So, there are no hard and fast rules about what the percentages should be (so far as I know).   Generally, very high database percentages can predict long runtime if one is obtaining a large number of data rows, and suggest (to me, at least) the need to review the select statements within the ST05 trace tool, to be sure I'm utilizing index and doing so optimally for each table I'm reading, that I'm not bypassing SAP buffers if not necessary, etc.

  • How do I time out my thread if there is no network traffic

    How do I time out my thread if there is no network traffic for a given time? I have the following code listening for data:
    StringBuffer requestLine = new StringBuffer();
    int c;
    while(true) {
        c = in.read();
        if(c == '\r' || c == '\n') {//Not sure here???
            break;
        requestLine.append((char)c);
    }But how do I time this out if there has been no traffic for lets say 5 minutes?

    Have you redefined 'in'?
    If it's a raw socket connection, you can use the Socket.setSoTimeout method before you open the connection to specify how long it should hold it open if there is no data available.

  • ABAP Programming Error with SAP HR IMG

    Hi,
    I am new to this site and I have a question.  Recently, I had the "Vanilla SAP System" installed on a harddrive for my laptop.  I am studying for the SAP HR Consultant Certification.
    However, the system doesn't have the training DB and I have to start with implementing a project through the IMG.  Yesterday, I received an error message (below) when I go to the application component sectin to add on Pers. Administration, Countries, etc).
    Can anyone direct me to someone in Atlanta that may be able to take a look at this for me?
    I was working on my computer and I get to a certain point in my customizing activity and I get this error msg: 
    Runtime errors RFCGUI_unexpected_data
    The termination occurred in the ABAP program “SAPMSSYO” in “%_CTL_OUTPUT”
    The main program was SAPLS_IMG_TOOL_5
    The termination occurred in line 30 of the source code of the (Include) program <SYSINI> of the source code of program <SYSINI> (when calling the editor 300)
    There is more to the error message and I would have to perform the activity to let the person see the message.  Not unless they can tell what's wrong by the error above.

    Hi Pradeep,
    If it was resolved, please let me know the resolution.
    Thanks,
    Srivijay

  • How to make an ABAP program run for a specified number of times ?

    assalamoalikum all!!!
    Can some 1 plz tell me that How can I make my ABAP program run ONLY for 2 times (after it went in production etc)
    AND when the program runs for 2 times It then gets hanged/Locked foreever.
    Suppose my program is:
    REPORT twice002.
    write ' I will run only twice bye bye'.

    Well, I guess the only full proof way is to create a custom "Z" table which will hold the counter, in your program you would update this table every time the program runs. In this same program before updating the counter, you would retrieve the counter and check if it is = 2, if so, then write a message and RETURN.
    Regards,
    Rich Heilman

  • How to set time out in the abap program?

    Hi,
    I want to set the execution time in the IN_UPDATE block of a BADI, could you tell me how to code that?
    When the specified execution time reaches, and the badi is still running, then pop up a window and tell the end user the time out message.
    Does SAP have any function regarding this? Thanks in advance.

    You can have the INPUT be a number of seconds, then calculate the max endtime = SY-UZEIT + INPUT. Have checks throughout the program that returns an error as OUTPUT if exittime >= SY-UZEIT(current time).
    There may be an easier way but this is all I can think of as a user set timeout option.

  • Avoid Time Out

    Hi All,
    I have created a report which is getting auto refresh every after 1 min. Now this report will be always open on one screen but nobody will work on this session, and this report should not be Timeout .  
    Can we avoid timeout for this report? Because ideal session will time out after some time .
    With Regards
    Jitendra

    Hi Srikanth ,
    Yes i am still getting time out .
    This this the sample code. Can you please suggest me where should use commit work statement. I am using this statement after write statement but I think its not working because session getting time out .
    Here is sample code of my program .
    report  zauto no standard page heading.
    data: g_init_once,
          ok_code(20),
          g_ref_from_timer.
    types: begin of t_ekko,
      ebeln type ekpo-ebeln,
      ebelp type ekpo-ebelp,
      statu type ekpo-statu,
      aedat type ekpo-aedat,
      matnr type ekpo-matnr,
      menge type ekpo-menge,
      meins type ekpo-meins,
      netpr type ekpo-netpr,
      peinh type ekpo-peinh,
    end of t_ekko.
    data: it_ekko type standard table of t_ekko initial size 0,
          wa_ekko type t_ekko.
    if g_init_once <> 'X'.
      g_init_once = 'X'.
      call function 'ZTEST_FM'
         starting new task 'WAIT'
         performing when_finished on end of task.
    endif.
    write:/ 'wait for 10 sec....'.
    at user-command.
      case ok_code.
        when 'FCT_R'.
          select ebeln ebelp statu aedat matnr menge meins netpr peinh
           up to 10 rows
            from ekpo
            into table it_ekko.
          write:/ sy-uzeit. "Time
          loop at it_ekko into wa_ekko.
            write:/ wa_ekko-ebeln, wa_ekko-ebelp.
          endloop.
          sy-lsind = 0.
          if g_ref_from_timer = 'X'.
            call function 'ZTEST_FM'
              starting new task 'INFO'
              performing when_finished on end of task.
            g_ref_from_timer = ''.
            commit work .
          endif.
      endcase.
    *       FORM WHEN_FINISHED                                            *
    *  -->  TASKNAME                                                      *
    form when_finished using taskname.
      receive results from function 'ZTEST_FM'.
      g_ref_from_timer = 'X'.
    * Trigger an event to run the at user-command
      set user-command 'FCT_R'.
      ok_code = 'FCT_R'.
      sy-ucomm = 'FCT_R'.
    endform.                    " WHEN_FINISHED
    Jitendra

  • How to Increase Time-out for Agent Manager in OLT?

    Hello All,
    When using the Oracle Load Testing Agent Manager for a load test of multiple scripts, I often get time-outs at the start of a test from OLT:
    "Error communicating with.... : timed out after 60 seconds".
    When I check the agentmanager.log file on the remote PC (Win XP SP2) I can see that the communcation started with the last line saying
    "connected to server=......yaddayadda.... queue=queue/AgentPoolNotificationQueue"
    which I assume means there was communication. And there were 2 attempts to start. After the first attempt, the entry:
    05:31:09,513 WARN [AgentProcess] Forcibly terminating process 8041484 for agent agId1530_rndd49ae6b9-a8ec-4a0d-920d-16ee6c7021f4
    The agentmanager_auth.log file show 2 lines near the start time of the test:
    2010-05-12 05:30:18,606 INFO [URL:t3://..........au:8088;Requestor Username: oats;Requestor Key:f6272e33-9428-425b-b52d-c0363f863e43;Requestor Queue:queue/AgentPoolNotificationQueue;Request ID:36;Request:startagent;] - authentication successful
    2010-05-12 05:31:09,513 INFO [URL:t3://..........au:8088;Requestor Username: oats;Requestor Key:f6272e33-9428-425b-b52d-c0363f863e43;Requestor Queue:queue/AgentPoolNotificationQueue;Request ID:42;Request:stopagent;] - authentication successful
    Why was there a 'stopagent'?
    The log from a successful agent show lines after the "Connected to server...." line ( "startAgent( pathTo.....a.. Launching agent.... Launched process 8792944 for agaent agId.....") so something appears to have not happened on the failed agents.
    When starting a test immediately (rather than scheduling it as I want to for off-peak times) and the agents time out, I can stop it & restart test. Usually then they all start successfully.
    Does anyone have any suggestions on failure reasons & possible solutions?
    If there's nothing else that I might have missed, I'd like to trying increasing the time-out to say 120 or 500 seconds.
    How can I do this?
    Is there a way to get the agents to try starting again, or add a new vUser/script instance one the test is running?
    Many thanks,
    Neil
    Edited by: Neil S on May 12, 2010 9:16 AM

    Hi Ramesh,
                          I guess you need to increase the parameter "icm/keep_alive_timeout" value, it's default value is 60. please gothrough the link
    http://help.sap.com/saphelp_webas630/helpdata/en/0b/1c7e7abbc311d5993a00508b6b8b11/content.htm
    To increase this go to RZ10 and add this parameter in Instance profile and modify the value then restart the server to make  the changes effective.
    Regards,
    Hari
    PS: Point's are welcome

  • Sync problem with TREO 680 - calendar sync times out

    Hi all, perhaps someone can help. After updating the battery longer life package - which is working fine the the battery, no sync is possible any more.
    Funny also for an unlocked TREO just Rogers and AT&T package is available for Europe - I selected the Rogers one - perhaps that is the problem.
    By re-installing the whole software from CD and updating the sync SW from the palm sites, the sync process always stops when the calendar is going to be synchronized. Stops means loops, times out, ...
    Any idea?
    Thanks,
    il_drago
    Post relates to: Treo 680 (Unlocked GSM)
    This question was solved.
    View Solution.

    il_drago,
    The information you provied is great, thank you. This should resolve your problem:
    Ok, first we need to see if you can sync without calendar checked. On your computer right click the hotsync icon and go to settings. Then click on applactions and uncheck Datebook. Close up the menus and try to hotsync if it syncs fine good continue on.
    Next we need to install a program on to your device called DBFixit (here's the link http://www.pimlicosoftware.com/dbfixit.htm) Download this file on the right side of the page. Then install the application to the device. Once on the device open it up and tap on the blue bar but in the top left select delete calendar blobs and say OK or yes. Then keep running that till you have 0 listed or no blobs found. Then we are going to hotsync with calendar syncing from the device to the PC. Again right click the hotsync icon and go to custom. Then click on calendar and then change. Then select handheld overwrites desktop. Sync and post back if that fixed the issue.
    If it did then we need to change the sync to sync the files and set that as default. To do that, again right click the hotsync icon and go to settings. Then click on applactions and check Datebook. You should be all set at that point.

  • How to change time out settings in Analytic Provider Service...

    ... or how to disable automatic disconnect between APS and essbase server (using XMLA interface).
    First a short summary:
    We would like to use a third party product to analyze data (DeltaMaster from Bissantz). This product uses the XMLA interface provided by Analytic Provider Service. Mostly the connection works, I can choose one of our cubes, sometimes a drill down is possible, but sometimes the following error occurs:
    "Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: (1042006): Network Error [10061] Unable To Connect To [entwgdw.hres.de:33769]. The client timed out waiting to connect to the Essbase Agent using TCP/IP. Check youer network connections. Also please make sure that Server and Port values are correct [...]"
    I have already talked to the Bissantz support concerning this issue and the recommended me to increase the APS time out settings and/or to disable the automatic disconnect between APS and essbase server after every query.
    The question is: Is this possible and if yes: How and where can I change these settings???
    Kind regards
    André

    You could look at updating the essbase.properties file in the APS installation directory.
    olap.server.netRetryCount=600
    olap.server.netConnectRetry=3
    olap.server.netDelay=200
    olap.server.netSocketTimeOut=200
    Update then restart APS
    Though this might not be the issue if on windows, it may be down to the amount of ports being used, have a read [here |http://timtows-hyperion-blog.blogspot.com/2007/12/essbase-api-error-fix-geeky.html ] for a possible fix.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I am trying to change how to open my documents, the one I have is torch and I do not want to open my programs etc with this, how can I change it?

    Everytime I download or open something a document etc. it always opens with the browser torch. I would like to change this and have no idea how to where would I go?

    [http://support.torchbrowser.com/Knowledgebase/Article/View/17/0/how-to-uninstall-torch To uninstall Torch]
    To change the default program that opens files in Windows, press start (or the windows button) then type in "default". Click on Default programs, then "Associate a file type..." Find the file type and click on "Change program..."

  • USB External HD with WRT350N - How to Avoid Entering Password to Access?

    I just purchased my new WRT350N primarily to use the storage link feature. I have connected a 300 GB HP personal media drive (USB) to the router. The router shows up on my home network just fine. I have one wired desktop and one wireless desktop (both XP SP2) and one wireless laptop (Vista Ultimate 64-bit). When I connect to the router in XP ("My Network Places") or in Vista ("Network"), I have to enter a username (default "admin") and password (default "admin") to access the router and get to my external HD. I use the HD to, among other things, store my Thunderbird mail profile (which includes all my e-mail folders) and my KeyPass password database, as well as other applications that I want to use from my various computers. Having to use a password means I can't connect to the drive on start-up, use shortcuts to applications on the HD, etc. It's a pain in the butt, basically. Is there any way to configure the router to allow access to it, and my external HD, without the password (e.g., MAC filters)? Any other workaround's? Many thanks.

    dRdoS7 wrote:
    Hi,
    Have you tried enabling "Reconnect at logon" when mapping the drive?
    dRdoS7
    Yes, I have tried the "Reconnect at Logon" switch selected. What happens then is that I get an error message on startup stating "Unable to Connect Some Network Drives" or something similar. I still have to use the username and password to get through the router to my external drive. I just got off the phone with Linksys tech support, a nice, knowledgeable Indian fellow who affirmed that the router could not be accessed without having to sign in. He said it was "for my security." It strikes me as odd that you can completely disable the security features of your entire wireless network by simply adjusting some settings in the router setup. But you CANNOT disable the security feature of the router access! How weird can you get - Linksys allows you to completely leave your network unprotected, but by god, you're not gonna get into that router!!! He said all of the USB-equipped routers have the same feature - Netgear, Belkin, D-link ... I am SO frustrated! I bought, and returned, the Belkin "wireless" network hub before I got the 350N. It was not possible to run Thunderbird using a profile on the HD (connected to the hub USB) because of severe stability issues. Guess what? Same thing happens when I run it through the Linksys router! Firefox simply shuts down. There was never an issue when I ran Firefox on the external HD when it was connected to my desktop. So, the search goes on - trying to find a way to access my external HD without having to have it connected to a powered PC. What a drag ...

  • How to avoid time wastage in starting & Stopping weblogic server during development ?

    It is very frustrating to stop the server and start the server for any small changes made in the application.
    Is developer supposed to restart the server for for any small changes made along with the testing?
    One restart(Stop and Start) activity takes more than 10-15 mins. in debug mode.
    1) I make some changes then I start server in debug mode
    2) I see some mistakes in my bean code
    3) I change my bean.java or Impl.java
    4) I make a futile effort to reload Jars and reload the page
    5) It never takes my changes
    6) Only changes in properties of jspx components will accept the changes at the page refresh
    6) I add new component or new binding to jspx page, This will not even pay heed to re-deployment, I need restart the server
    7) I work only 7 hrs a day (1 hr-lunch)! 7*60=420 mins.... lets say I make code changes 10 times a day 10*20(200) half day
       is gone in just restarting server/redeploying changes.
    8) So frustrating..... !!!
    Que:
    1) Is the developer is supposed to imagine all the errors beforehand and code so that he wont waste time in restarting?
    2) How nice it would be that you just recompile the changes and you get to see your changes just by refresh...
       that is why pl/sql development is so fast.
    3) Is there any way to do it like that? or Are there are any quick tricks or precautions to avoid restarting the server.
    4) Am I not following the correct development/deployment methods?
    It will be really great help for me if you experts guide me on the practise you follow for restarting/redeploying.
    Thanks
    Rahul

    Rahul, please tell us your jdev version!
    1) this always helps!  In the old days you only compiled once a day and if the compiler found an error you had to wait a whole day until you got the next chance.  Do feel privileged that you can compile multiple times. A restart is not nessecary in every case, but depending on the version you hit to restart more often.  You should try to find out why it takes so long and minimize this time!  Using 11.1.1.7.0 i start my server in less then a minute.
    2) answer depends on the jdev version, but you don't get the speed of pl/sql for wenn application development.
    3) one thing to do is to define the jdbc connections used in the server or then use jndi to access the resource. This way you don't lose a minute or connection stopping the server.  Next it's best to keep the server as clean as possible. Read the log when the server starts and stops you get plenty of info what takes how long.  Then start optimizing.
    4) no, your method is ok.
    Timo

Maybe you are looking for

  • From alv to standard transaction

    Hi, Iam using alv hiereracy for a report. say i have a material field in header if i double click can i take me to mmo3 . if yes pls let me know how to proceed with this thanks swathi

  • Can't get demo to work

    After installing the XSQL servlet I cannot get the demos to work properly. This is the message I get in the "Airportcode validation": Response from HTTP Request for airport.xsql?airport=got - <xsql:query xmlns:xsql="urn:oracle-xsql" connection="demo"

  • How do I add entries to PCManFM's right-click menu? [SOLVED]

    Hello there, Is there a way to customize PCManFM right-click menu? I'd like to add custom entries, for instance: right click a folder and choose "Start slideshow" to get the following command executed: "qiv -smt <selected_folder>" Can this be done? H

  • How to run cfstoredproc in the background

    Hi, I'm looking for a possibility to run an oracle procedure via cfstoredproc and continue my CF-page immediately afterI starting the procedure. I need to do that because the procedure sometimes needs more than 10 mintues  so that I get a timeout. Do

  • FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06503

    Hello to all... I am developing a form on form 6i like a registration form.... Suppose emp_name is a text item.... I need to validate that item such that number ,null and special characters should not be allowed. I have created a function to check th