How to make a trace to program ?

Hi
Does somebody can tell me how can i make a trace to program in order to find in wich code point the process is getting 'stand-by' (does not finish) ; that is, in wich DB access, LOOP, etc. the program is making the work wich takes a lot of time.
I need to discover where are the performance problems and how much the program access the DB with SELECTS.
Regards
Frank

Hi,
make use of the transaction code ST05 for the trace of database selects, Just press the Trace on button and run your program, and inthe ST05, press the Trace off button and look at the list, you will understand.
Even you can use the transaction ST04 -> Database performance analyzer
ST03 -->Workload on the System
Regards
Sudheer

Similar Messages

  • How to make changes in another program?

    Hi evrybody,
    how  to make changes from one program  to another program ?
    Changes should be reflecting in other program.
    thanx in advance n wud be surely Rewarded if answer is helpful.

    Hi Bharat,
    Thanx for the info.
    But what my requirement is , I'm scanning & reading another report into an Internal table. I want to change the Hyphen's
    '-' used in variable declarations of another program into Underscore '_' .
    My sample code is like this..
    Report Zmain.
    PARAMETERS:
      p_prog LIKE sy-repid,
      p_key LIKE stokex-str.
    Internal Table t_itab                                                *
    DATA:
      BEGIN OF t_itab OCCURS 0,
        line(256) TYPE c,
      END OF t_itab.
    *" Data declarations...................................................
    DATA:
      t_statements LIKE sstmnt OCCURS 0 WITH HEADER LINE,
      t_levels LIKE slevel     OCCURS 0 WITH HEADER LINE,
      t_tokens TYPE stokesx    OCCURS 0 WITH HEADER LINE,
      t_keywords LIKE t_itab   OCCURS 0 WITH HEADER LINE,
      w_i TYPE i,
      w_j TYPE i.
                            START-OF-SELECTION                           *
    START-OF-SELECTION.
      APPEND p_key TO t_keywords.
      READ REPORT p_prog INTO t_itab.
      SCAN ABAP-SOURCE t_itab
      STATEMENTS INTO t_statements
      LEVELS INTO t_levels
      TOKENS INTO t_tokens
      KEYWORDS FROM t_keywords
      WITH INCLUDES
      WITH ANALYSIS
      WITH COMMENTS.
                            END-OF-SELECTION                             *
    END-OF-SELECTION.
      LOOP AT t_statements.
        READ TABLE t_levels INDEX t_statements-level.
        w_i = t_statements-from.
        w_j = t_statements-to.
       IF t_statements-level > 0.
        WHILE w_i < w_j.
          READ TABLE t_tokens INDEX w_i.
          REPLACE '-' WITH '_' INTO t_tokens-str.
          w_i = w_i + 1.
        ENDWHILE.
       ENDIF.
      ENDLOOP.
    My called program is like this....
    Report Zcalled.
    DATA:
      w-var1 TYPE c,
      w-var2 TYPE c.
    DATA:
      fs_flight1 TYPE sflight,
      t_flight1 LIKE STANDARD TABLE OF sflight.
    START-OF-SELECTION.
      INCLUDE zinclude3.
      SELECT * FROM sflight
        INTO TABLE t_flight1
        WHERE carrid = 'AA'.
      SELECT * FROM sflight
       INTO TABLE t_flight1
       WHERE carrid = 'LH'.
    END-OF-SELECTION.
      LOOP AT t_flight1 INTO fs_flight1.
        WRITE: / fs_flight1-carrid,
                 fs_flight1-connid,
                 fs_flight1-fldate,
                 fs_flight1-price.
      ENDLOOP.
    Thanx very much.

  • How to make Forms6i Application Install Program?????

    How to make Forms6i Application Install Program?????
    We have finished a Forms6i Application , and need a installer to install software.
    Can I use Oracle installer or must use MS visual C++ to make a installer? I need wirte a register.
    Anything inclued in Form6i Production (IDS) to introduce installer???
    Thank you.

    How to make Forms6i Application Install Program?????
    We have finished a Forms6i Application , and need a installer to install software.
    Can I use Oracle installer or must use MS visual C++ to make a installer? I need wirte a register.
    Anything inclued in Form6i Production (IDS) to introduce installer???
    Thank you.

  • How to make a simple C program universal from the command line???

    Hi all,
    I've developed widgets that use a simple C program. I had no clue how to make it universal. Apple documentation is all about big projects to be developed inside Xcode and so on, but I don't understand even the introductory remarks...
    As far as I've read, I have to make a binary for PPC and a binary for i386, and then merge it with lipo. Fine. I get my PPC binary from:
    gcc-4.0 prog.c -o prog_ppc -lm -arch ppc -arch ppc64
    Now, it seems that I have to use:
    gcc-4.0 prog.c -o prog_i386 -lm -arch i386
    The latter command didn't work until I added -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/ at the end. With this, it creates a binary file, but with the following message:
    /usr/bin/ld: warning fat file: /usr/lib/system/libmathCommon.A.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
    and I guess this is quite an issue if I don't have the common math functions, no?...
    Can somebody help me? I googled a lot on this, and found nothing helpful.
    Cédric

    Thanks, it helped me. I googled a bit to build up my Makefile, and this is what I got.
    CC= gcc-4.0
    CFLAGS= -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386
    LDFLAGS= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -lm
    TARGETS= skycalc.fixed.c
    all: $(TARGETS)
    $(CC) $(TARGETS) $(CFLAGS) $(LDFLAGS) -o skycalc_universal
    Thanks again.

  • How to make my Labview vi program run at the same time everyday?

    I have Labview vi that uses "Time Stamp Control & Indicator" on front panel to set time & date for program operation.
    But, I cannot separate the Date from the Time for Start & Stop control.
    I want pgm to run everyday (7days/week) at the same time (e.g. 8am to 630pm) - I don't care about the start & stop Date feature.
    So, everyday I have to manually open the Control & change the date to today.
    How can I make program only respond to Time start & stop?
    Thanks,
    jaceb

    Of course rather than create yet something else that is running all the time, setup your VI to only execute for the desired amount of time, If you running windows you can use the task scheduler to launch it.
    http://support.microsoft.com/kb/308569
    Puts the burden on the OS and is not dependant on you starting it everytime you reboot, or having to put it in the start menu.  there are options for it to run even if you are not logged onto the system.
    Although not absolutely certain, I am reasonably sure that mac and linux also have something similar.
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • How to make PSE12 the default program

    I just installed PSE12 and want it to be the default program to open my jpg files. I know how to set defaults on a PC but the program does not even come up on the list of defaults. I've tried right-click on image and "open with" but no PSE12. If I use Browse and follow the path Program Files (x86)/Adobe/PSE12/PSE Editor.exe, there is no exe file, only the application. If I select PSE Editor, it does not make it the default.

    You can associate the file type to PSE.  For example on my system I have associated Corel program for JPG files (because of 64 bit requirement for me) but you can associate PSE by clicking on Change Program Icon button as shown in this picture (click on it to magnify it):

  • How to Make Audio Video Broadcasting Programe using JMF

    hi i m newto java programing i wan to know can any one help me out how to transimit audio and video over netwrok from one pc to other computer voer the network . i m using my webcam to transmit video can any one of u email me the code if any one has made such application like this .. my email is [email protected]

    Well you've found the root of your problem. It's not necessary the JMF. It's when you make a jar file, you need to include the dependencies. I don't think it' legal to include the JMF in a program you sell or distribute, so be careful there.
    However, to include dependencies in jar files is not a hard task. The simplest method is to unjar the dependency and place it at the top or your classpath; then make a jar that includes both your program, and the dependency.
    A more long term solution is to use a build system such as ant or maven to create the package using available scripts or plugins. The "Uberjar" plugin for maven comes to mind.
    -vito

  • How to make third-octave analysis program?

    "I want to make a program which can do Third-Octave Analysis. But I haven't any DAQ device of NI company. I use a DAQ device of Nicolet company. That device can tranfer the acquired data as a file to a computer, and then I can use a software to transform the data into ASCII format. The DAQ device hasn't an anti-alias filter. How can I make the program with LabView? My version of LabView is 5.1."

    The task that you are inquiring about could become quite complicated. for
    example, if you are performing acoustical analysis then frequency and power
    become your primary points of interest. However if you are performing
    analysis of shock and vibration then additional processing will be required.
    I would recommend that we take this off of the news group and work direct.
    I can be reached @ [email protected]
    remove no_spam_ for real address
    Mike
    "stewart342" wrote in message
    news:[email protected]..
    > The DAQ device of nicolet is called 'vision'. What I mean is how can I
    > make a VI to get the analysis result from the data acquired. Because I
    > am not good at LabView and signal
    processing thoery, I hope you can
    > give me a brief example. Though the device provides a filter, the
    > cutoff frequency is not arbitrary. So another question is: If I don't
    > use an analog anti-alias filter, can I use a digital filter instead?
    > The raw data I've got is in ASCII format. The first column is the
    > time, and the following columns are the signals acquired from each
    > channel. Supposed the data haven't been filtered by the anti-alias
    > filter.

  • How to make Email XML Bursting program end in Warning

    Hi All,
    We are calling athe Bursting program in After parameter form trigger
    req_id :=
    fnd_request.submit_request ('XDO',
    'XDOBURSTREP',
    NULL,
    NULL,
    FALSE,
    'N',
    TO_CHAR (:p_conc_request_id),
    'Yes'
    This bursting program will work on customer(Sales Order) bill to site email address that is defined for that customer of our Sales order report.
    NOW the requirement is, if email address is NULL then the Bursting program should end in warning.(For parameters Sales order number from:33 to:33, if email id is null, then Bursting program is ending in Error. But if I give a parameter range sales order num from 33 to 35 and if only 33 so customer has email id, then program is completing in Normal.
    I want it to end in WARNING)
    Please help

    Some possible workaround would be
    - add filter to your bursting control file to just process records with email address
    - or make the change on the calling program to invoke bursting only for records with email address
    - or make too much effort catching the exact error message and force-changing the concurrent job completion status on the fly :|
    Good luck.

  • How to Make Sub_menu in this programming

    Hi Friends,
    I'm Ravi Maheshwari a silent member of Sun Developer Network. I have a problem. I am making drop down menu but not able to make sub-menu for that. I'm using JSP file in which i'm inculding JS File for the menu running on Tomcat.
    Here i'm giving a piece of code for your consideration ple give me the solution how i can make sub-menu. It is urgent.
    Thanks in advance...
    Coding::
    Part of JS File where it creats menu:
    var menu1=new Array()
    menu1[0]='Add / Modify'
    menu1[1]='Assign' //onclick="openMyWindow()"
    menu1[2]='Setting'
    menu1[3]='Import / Export Data'
    menu1[4]='Search'
    menu1[5]='Test Summry'
    JSP File where i'm calling it :
    <tr>
    <td height="40" align="left" valign="top"> </td>
    <td align="left" valign="top"><img src="images/admin1.jpg" width="155" height="32"></td>
    </tr>
    ple help me...or let me know where i'm commiting mistake....

    .or let me know where i'm commiting mistake....You are posting this on a Java forum rather than JavaScript forum.

  • How to make applescript open a program

    I am new to Applescript. How can I use it to open a program

    Simple:
    <pre class=command>tell application "Name of application" to activate</pre>
    This will bring it to the front, launching it if it isn't already running.
    If you just want it to launch without coming frontmost, change 'activate' to 'launch'.

  • Hi, I have an issue with a program that needs Windows Access for, it to run, any Ideas on how to make it work, the program I need to run is sbem (a building calculation software)

    Hi
    I have a mac book pro, I need to run a software package that requires Windows Access for it to work
    The software is SBEM (A building calculation software)
    Any ideas
    Many Thanks

    Direct you to the proper forum for MacBook :
    MacBook Series Forumshttps://discussions.apple.com/community/notebooks?view=discussions
    Mac OS X Forums
    https://discussions.apple.com/community/mac_os?view=discussions 
    http://www.apple.com/support/macbookpro
    Mac 101: Using Windows on your Mac via Boot Camp
    https://support.apple.com/kb/HT1461
    Helpful Apple Support Resources (Forum Overview)
    Boot Camp Support 
    Boot Camp Manuals
    Community
    https://discussions.apple.com/community/windows_software/boot_camp
    Boot Camp 4.0, OS X Lion: Frequently asked question
    http://support.apple.com/kb/HT4818

  • Answer to how to make PSE12 default for jpgs

    Earlier I asked for help in how to make PSE12 the default program to open jpg files. I wasn't able to get my problem resolved. Until today. I contacted Adobe Tech Support.
    You need to locate your file. Mine is at C/Program Files (x86)/Adobe/Photoshop Elements 12/PhotoshopElementsEditor.
    The Editor file did not have an extension name and needed to be renamed to PhotoshopElementsEditor.exe.
    As soon as I did that, I was able to make it the default.
    Your Adobe program may be in a different place, but the steps would be the same.
    Good luck! Thanks to Adobe Tech Support.
    Message was edited by: Shelter Cove
    Message was edited by: Shelter Cove

    Find a closed psd file. Click it once to highlight it and press command+i for the Get Info window. Under Open with Application choose PSE, then click Change All.

  • How to make a Java program that recognises a function of two variables...

    How to make a Java program that recognises a function of two variables to assign values to that?
    First I will give an example and then do the question.
    Ex1.
    We have any function, eg.y = x ^ 2 + 1 (read 'y' equals 'x' high to the square), a function of the second degree.
    To build the graph of this function attach values to 'x' to find the values of 'y'
    And thus mount the pair ordered (x, y) which represents a point on the Cartesian plane.
    Assigning values to 'x' 'we can build up a table that gives us the pairs ordered:
    We can use any numbers, but arfer interval [-3.3]
    X | y = x ^ 2 + 1
    -3 | Y = (-3) ^ 2 +1 = 10
    -2 | Y = (-2) ^ 2 +1 = 5
    -1 | Y = (-1) ^ 2 +1 = 2
    0 | y = (0) ^ 2 +1 = 1
    1 | y = (1) ^ 2 +1 = 2
    2 | y = (2) ^ 2 +1 = 5
    3 | y = (3) ^ 2 +1 = 10
    We then ordered the pairs:
    (-3.10), (-2.5); (-1.2), (0,1), (1,2), (2,5), (3,10)
    Tabem that can be represented by a table:
    X | y
    -3 | Y = 10
    -2 | Y = 5
    -1 | Y = 2
    0 | y = 1
    1 | y = 2
    2 | y = 5
    3 | y = 10
    Now I begin to explain my doubts.
    See this program:
    Ex2
    * To change this template, choose Tools | Templates
    * And open the template in the editor.
    Encontrando_o_valor_de_y package;
    * @ Author des Soldat Gottes
    Import javax.swing.JOptionPane;
    Public class (Main
    * @ Param args the command line arguments
    Public static void main (String [] args) (
    Int x, y;
    String x1;
    X1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',"); / / receives a value for the function y = x + 1
    X = Integer.parseInt (x1); / / tranforma String in int
    Y = x + 1; / / receives the value of 'x' and calculates' y '
    JOptionPane.showMessageDialog (null, "The value of 'y' is: \ t \ t" + y);
    / / Displays the value of 'y'
    System.exit (0);
    We see that the program receives above a value for 'x' and replaces the function contained in the program, y = x + 1, and so is the value of the variable 'y'.
    In: x1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',");
    The entry is a number and that number is assigned aa ja existing function in the (y = x + 1).
    The question is: would it be possible to come to a function?
    Ex: the program ask: DIGITE THE FUNCTION?
    The USUARIO DIGITARIA A FUNCTION ANY, TYPE: y = x ^ 2 +1
    The program would recognize the function and give numerical values to that function as Ex1, at the beginning of this text.
    And then to find the values of the x and y launch a table.
    It would be possible that?
    By invez of entering with a number so that the program sustitua a function ja existing as Ex2, seen above, entering with a function quaquer (type: y = x ^ 2 +1) for the program atribuisse values to that function and then create a table of values as Ex1.
    I hope it has been easier to understand my doubts now.
    Thank you for your attention!
    God bless!

    rafaelmenezes wrote:
    Thanks for the explanation, could understand what fly said.
    But as it applied to a program?
    How to create a program that recognizes that the entry coefficients?Are you asking about how to parse out the coefficients from the string "3x^4 + 4x^3 - 8x^2 + 5x^1 + 2x^0"? If you define the format to strictly follow that example, this should get you started:
    Strip out the spaces
    Split the String on "x^"
    That should give you [3, 4+4, 3-8, 2+5, 1+2, 0]
    Split each resulting String on "+ | -", preserving the operator as a token so you can apply the correct sign to the coeff.
    That should leave you with [3, 4, +, 4, 3, -, 8, 2, +, 5, 1, +, 2, 0]. Every other number is a coeff, the rest are the degrees.
    You can strip out the +, since those coeffs are already positive, and strip out the - after negating the following number. This is all assuming that you have to write this yourself. There is no doubt already a library or 5 out there that does this for you.

  • How do I make Pages the default program for .doc files?

    How do I make Pages the default program for .doc files without having the need to change the default program for each individual.doc file?

    Navigate to a .doc file.
    Ctrl click the file
    Choose Open with and then go down the list, past pages, to other
    Navigate to pages
    Before you click Open make sure you click the 'Always open with' check box.
    You should be okay.
    You can do a similar think by selecting the file, Choosing File-Get Info
    Then open the Open With Disclosure triangle.
    select pages and then click CHANGE ALL
    Hope this hleps.
    M.

Maybe you are looking for

  • Free office 365 with purchase

    Hello i recently purchased a ipad air at your brandon fl location but i was not made aware of the free office 365 promotion you had so never received my copy is there anything i can do now to get it? the purchase was made march 23rd 2015. If i need t

  • Songs missing on ipod after syncing

    After reading too many posts regarding itunes and ipod compatibility problems, I have to say that the lack of an official Apple representative as moderator or administrator is a major drawback to these forums. While there seems to be many knowledgeab

  • XSLT: Validate if date is before date of current date

    Hi everyone, we need to check condition in XSLT transformation that if a date is before the current date or not. its easy to do this in java but not finding anything to do this in xslt. If anyone knows this please provide any pointer. TIA,

  • Can't copy, cut & paste.

    I just bought an HP TouchSmart520 PC & am trying to figure out how to copy, cut & paste. Clicking on the R mouse doesn't even have it as an option. Please help!

  • Sbc Yahoo Mail Account in Mail

    I was curious how I could set up my SBC Yahoo! mail in Apple Mail. What settings do I put for outgoing and incoming mail. What do I put for authentication?