Measure time for a program in SE30 transaction code

where should i get the help files and i want to know  how should we measure the time for the two different programs and upto how much time the program will take if the program is exactly right means with no errors and in the graph it is showing when i'm analyzing the performance of a program i.e abap with 77% in red, database with 10% in green, and system with 20% in green what does it represent. for a exactly correct program how much percentage should  needed and it should be in which color?

Hi,
for a good program,
the database and system time values should be green always.
abap program can be red also not a problem.
but if database is in red colour, (after it crosses 50%), then it means that it gives much load in database server and you should change your code performance.
Regards,
Sakthi Sri.

Similar Messages

  • Ideal execution time for any program

    Hi,
    Is there any method to determine the ideal execution time for a program ?
    Or else how to determine that ?
    I just wanted the max. time that a program can take so that the performance would not be hampered.
    Thanks,
    Binay.

    did you ask for the 'ideal execution time' or 'how to measure execution times'?
    The second question was answered in one of your other questions.
    Optimization:
    Do SQL Trace, go to Summary by SQL statement, check 10 Top contributions (time = duration).
    Try to optimize them, note minimal time per record, if larger than 10.000 microsecodns, then you should index usage.
    Do SE30, go to hit list, sort by net time, again address 10 Top contributions, try to optimize, check the coding.
    Do optimization and trace again, check again 10 Top contributions ....
    Siegfried

  • Validate/madatory  in order to avoid  long time for the program execution.

    Below is my selction screen.  I would like to do validations for specific fields to make them mandatory fields   as well.
    Could you please suggeste me what are the fields that I can validate/madatory  in order to avoid  long time  for the program  run.
    *Program selections
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.
    SELECT-OPTIONS : o_as4loc   FOR v_as4local,
                     o_ddlang   FOR ddlanguage,
                     o_vkorg    FOR vkorg     MEMORY ID vko,
                     o_auart    FOR auart              MEMORY     ID aat,
                     o_fdnam    FOR fdnam,
                     o_spart    FOR spart   MEMORY ID spa,
                     o_vbeln    FOR vbeln            MEMORY ID aun,
                     o_posnr    FOR posnr,
                     o_matnr    FOR matnr            MEMORY ID mat,
                     o_pltyp    FOR pltyp            MEMORY ID vpl,
                     o_j_3ar    FOR j_3arqda,
                     o_kzr00    FOR kbetr,                       " -ZR00
                     o_kalsm    FOR kalsmasd,
                     o_kmwst    FOR kbetr,                       " -MWST
                     o_kbmen    FOR kbmeng,
                     o_land1    FOR land1            MEMORY ID LND
    SELECTION-SCREEN  : END OF BLOCK b1.
    Thanks in advance.

    Hi,
    Make key fields as well as fields on which there in an index in the database table mandatory.
    Regards,
    Abhijit G. Borkar

  • At the time of doing subsequient credit in Transaction code MIRO

    Hi SAPians
    i have a querry
    At the time of doing subsequient credit in Transaction code MIRO what are the accounting entries generated and especially i would like to know what transaction keys will come into the picture.

    Hi,
    For subsequent Credit, Vendor account and the Material Account will be triggered. If the Purchase Order is for Consumable Materials, then instead of the Material Account, the G/L specified in the Purchase Order will be triggered
    Vendor account will be Debited and the Material / Consumption account will be credited. In case of a Material Purchase Order, and there is no stock exists for the Material then it will hit Price Difference account
    For Material Account, G/L related to BSX Tr Key will be triggered. For consumption posting anyway G/L derivation is from the Purchase Order only.
    Hope it is helpful
    Regards
    Ramakrishna Mangena

  • Acceptable Response Times for a Development(ST05 & SE30)

    Hello Everybody,
            Can anybody tell me a way on how to find the acceptable resonpse times for a development in ECC. I mean, when we check the Runtime Analysis, we get the DB and ABAP times. As the data is very less in terms of business now, the reports or the developments are working fine, but tomorrow, the data becomes large these will have the performance issue.
           So, based on this can we generalize and find out the acceptable percentages in  SE30 as well as the times of execution in ST05. And can we combine the outputs of these two and come to a conclusion on the performance of the development.
    Regards,
    Sreenivas

    > but tomorrow, the data becomes large these will have the performance issue
    what do you mean with tomorrow
    Tomorrow, Tues Nov 14 or just future?
    If the first one, then you are probably too late to fix something.
    If the second, the you should be able to extrapolate from measurements with
    10 objects to 100 and 1000 and 10.000.
    Buut be careful besides the linear extrapolation you must take care that there is no nonlinear behavior,
    Nonlinearity: The problem and background
    Performance Problems Caused by Nonlinear Coding
    Z_SE30_COMPARE
    A Tool to Compare Runtime Measurements: Z_SE30_COMPARE
    Nonlinearity Check
    Nonlinearity Check Using the Z_SE30_COMPARE
    Siegfried

  • How to know which sql query is taking time for concurrent program

       Hi sir,
    I am running concurrent program,that is taking time to execute ,i want to know which sql query causing performance
    Thanaks,
    Sreekanth

    Hi,
    My Learning: Diagnosing Oracle Applications Concurrent Programmes - 11i/R12
    How to run a Trace for a Concurrent Program? (Doc ID 415640.1)
    FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 (Doc ID 296559.1)
    How To Get Level 12 Trace And FND Debug File For Concurrent Programs (Doc ID 726039.1)
    How To Trace a Concurrent Request And Generate TKPROF File (Doc ID 453527.1)
    Regards
    Yoonas

  • How to create a tcode for a program in FMEQ transaction

    Hi ABAP Experts,
    I need to assign a program from FMEQ transaction to a custom z-transaction code. Can anybody tell me
    how to do this. I already tried  go to system-status-> "copy program name from here and past it in SE93).
    This would not work because each time when you made changes to a program in FMEQ and generate it
    system will generate new program name.
    Hope to see a reply from you. Thnks in advance.......
    Regards,
    Meera.

    Hi All,
    I got it how to do. Just I would like to share solution here.
    go to SE93,
    Enter transaction code name & description
    and choose option "Transaction with parameters (parameter transaction)" and press on "Continue" button.
    Enter Transaction = START_REPORT and select all check-boxes in GUI support tab and enter below values in
    Default values area.
    D_SREPOVARI-REPORTTYPE  = RE
    D_SREPOVARI-REPORT =
    D_SREPOVARI-EXTDREPORT = FM  01IFMEISA                       <name of program in FMEQ>
    save and execute.

  • To high measurement time for NI PXI 4132

    Hi,
    I'm using 4132 to measure very small current of photo transistor device. with 25v source to the DUT it takes me more than 100ms to get an stable current reading.
    How will i reduce measurement time?
    tnx!

    Hi edakoto, 
    What current levels are you reading?  How are you acquiring the data in software?
    One thing to try is to reduce the Aperture time of the device.  The PXI 4132 defaults to an aperture time of 16.6 ms.  You can reduce this using the Configure Aperture Time VI or function.  For more information see here:
    http://zone.ni.com/reference/en-XX/help/370736F-01/ni_dc_power_supplies_help/4132_aperture/
    Thanks
    Patrick W.
    Applications Engineer
    National Instruments

  • BAPI for customer Block/Unblock through transaction code : XD05

    Hi Gurus,
    I want to block/unblock customer sales areas(Transaction code : XD05) through program. Could you please suggest any BAPI for the same. As writing BDC will not be a good choice.
    Please help.
    Thanks,
    Bhupender

    Hello Bhupender,
    the best and easies solution is the MASS maintenance transaction as proposed above.
    For the BAPI question, sorry but there is NO BAPI to maintain a customer master data.
    The function module provided by my predecessor, even if it has the perfect look like is definitively not the one to use.
    Despite the name, this FM is designed to support only the maintenance of CONSUMERs.
    Moreover it is not an RFC enabled function module.
    It might work in your case, as the data to maintain is quite simple and limited but you still may face several troubles like NO change documents and change pointers created and/or no synchronisation with TREX, CRM, ...
    There is also a BAPI with a nice name, but in fact it is designed to be used only with SAP Online Store and SAP Product Catalog.
    The only reliable path for investigation is described within [note 384462|https://service.sap.com/sap/support/notes/384462].
    A other path for investigation is the class CMD_EI_API which has been introduced with ECC 2005 (6.00).
    You could wrap method MAINTAIN_BAPI inside of a bapi function module you would have written.
    Otherwise, but still with limited functionality there are some eSOA webservices to find, read, maintain customer master data.
    Hope this helps.
    BR
    Alain

  • Navigation for database tables in a transaction code

    Hi all !
       Is there any way to know the database tables linked to a transaction code, so that searching for fields in tables gets easier right?Please help.
    What is the use of Tcode SE80.How can we make use of this transaction?

    hi,
    SE80 - Object Navigator
    se80 is a tool to develope and navigate programs and dd-obj.
    SE80 Object Navigator - > means all the objects qill be available there.
    in se80 in addition to viewing the objects related to programming and classess, there are more priviliges to view such as some other repositories suchas mime, object repository,object browser and all..
    The 2 editors are se38 and se80 both have the abap editor in place. In se38 you can go create programs and view online reports and basically do all thedevelopmet of objects in this editor. In se80 ( object navigator) there are additional features such as creating packages,module pool , function group ,classes, programs ( where you can create ur programs) and BSP applications .
    SE38, u will get more space in editor when u compare with the SE80 screen, the tree structure available will occupy more space so it will be eay for us to code.
    If u want to do any special navigation then u can got to SE80, but there is no specific reason.
    It depends on teh users convineince.
    se80 is to navigate to every object .....
    but everytime there is no need to navigate to several steps and go to abap editor.
    So there certain transactions which takes us to directly to the objects such as SE38 for abapaeditor
    SE37 for function module
    SE93 for creating transaction codes...etc.
    U can also traverse to se80 from SE38 itself using CtrlShiftF5.
    SE 38 ->Abap Editor thru which we can create/modify the programs.
    SE80 ->Object Navigator thru which we can navigate to many areas like message classes,Function modules,application areas,transactions, programs etc.

  • List of programs with its transaction code?

    Hi Everyone,
    Is there a table or transaction in which i can see the transaction codes associated with every Z program??
    Regards,
    Danyel Rmz.

    Hi Danyel,
    Welcome to SDN Community !
    You can find the Transaction associated with Program Names using the Repository Information System. ( Transaction : SE84 )
    IN 4.6C
    1. GOTO SE84 [Repository Information System.]
    2. Goto Programming --> Program Environment --> Transactions --> DoubleClick
    3. In the Transactions give [ z* ] and then press execute.
    ( B4 executing check whether Max no. hits is set to large number say 150000 etc..)
    4. After the list is displayed, press [ Combined List ] for the Program Names also to get displayed.
    In ECC
    1. GOTO SE84 [Repository Information System.]
    2. Goto Other Objects --> Transactions --> Double Click
    3. In the Transactions give [ z* ] and then press execute.
    ( B4 executing check whether Max no. hits is set to large number say 150000 etc..)
    4. After the list is displayed, press [ Combined List ] for the Program Names also to get displayed.
    You can also save the list in Excel File using.. Menu.
    (e.g.)
    System --> List --> Save --> Local File --> tran.xls
    Hope this helps.
    Regards
    Raghunahth L

  • Transaction Variant for a standard report without transaction code

    Hi,
    I want to create a transaction variant for a executable report. The report has some subscreens 100, 110 etc. I want to hide the subscreen through transaction variant. So I have created a transaction code (Y*) for it and then tried creating transaction variant using SHD0 transaction.  But the fields are not listed to choose invisible or other options. Please advice

    The fields are listed when you leave each recorded screen. You have the flag "do not display the screen". It's strange you don't have anything, are you sure you started the recording? (you enter the transaction code, the transaction variant, you click the Create button and the screens are displayed and recorded)
    Which transaction is it?
    A little remark (about your last posts): forum rules ask people to give points, it's a way to say thank you. Otherwise, people won't help you anymore. It's not a black and white logic : don't give points only when your problem is solved. Give 2 or 5 points to thank people (or 0 if it's out of context). Thanks.

  • Search For an IView with the transaction code

    Hello,
    i'm trying to find out which IView in the portal is calling a special backend transaction.
    I only got the transaction name ("Transaction Code" in the IView definition).
    How could I know which Iview is doing thiis ?
    Thanks in advance for your precious help
    SMF

    Hello Arun,
    i already tried to search by the Portal Content / Search tab, but it doesn't help, and just looks through name, description and ID of the objects.
    There might be another way (even if it's a coding one) to do this no ?
    Thanks again for your answer.
    Regards
    SMF

  • I am having problem for activate adobe form in transaction.code SFP

    Dear friends,
    I am getting one dialogbox with error message when ever i activate adobe form in transaction code sfp.
    ERROR is :
    THis form refers to external files which where not found on this computer. please create a connection to the following folder so that these files can be found.
    http://localhost:8000/sap/bc/form/layout/

    exactly the same problem here.
    Somebody any idea?
    All help is appreciated.
    Tnx!
    RoB

  • Why do i need to declate methods two times for this program work

    Hi,
    why should i have to declare 2 times the methods
    public void mouseClicked(MouseEvent e) {    }
    public void mousePressed(MouseEvent e) {    }
    public void mouseReleased(MouseEvent e) {    }
    public void mouseEntered(MouseEvent e) { }
    public void mouseExited(MouseEvent e) {  }
    to make this program work? why when i declate 1 time this program doesn't work good?
    import java.awt.*;*
    import javax.swing.;
    import java.awt.datatransfer.*;
    import java.io.FileReader;
    import java.io.IOException;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    public class Main extends JPanel implements MouseListener {
    public Main() {
    super(new GridLayout(2,2));
    final JTextArea jt= new JTextArea("dear test :) ",5,20);
    FileReader reader = null;
    System.err.println("Error closing reader");
    exception.printStackTrace();
    JButton bu = new JButton("copiar");
    final Clipboard clipboard = getToolkit().getSystemClipboard();
    //new add
    add(nn);
    add(tt);
    bu.addMouseListener(new MouseListener() {
    public void mouseEntered(MouseEvent e) {
    StringSelection data = new StringSelection(jt.getText());
    clipboard.setContents(data, data);
    public void mouseClicked(MouseEvent e) {
    public void mousePressed(MouseEvent e) {
    public void mouseReleased(MouseEvent e) {
    public void mouseExited(MouseEvent e) {
    private static void createAndShowGUI() {
    //Create and set up the window.
    JFrame frame = new JFrame("TextDemo");
    public static void main(String[] args) {
    //Schedule a job for the event dispatch thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    public void mouseClicked(MouseEvent e) {    }
    public void mousePressed(MouseEvent e) {    }
    public void mouseReleased(MouseEvent e) {    }
    public void mouseEntered(MouseEvent e) { }
    public void mouseExited(MouseEvent e) {  }
    }

    import java.awt.;
    import javax.swing.;
    import java.awt.datatransfer.*;
    import java.io.FileReader;
    import java.io.IOException;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    public class Main extends JPanel implements MouseListener {
    public Main() {
    super(new GridLayout(2,2));
    final JTextArea jt= new JTextArea("dear test :) ",5,20);
    FileReader reader = null;
    System.err.println("Error closing reader");
    exception.printStackTrace();
    JButton bu = new JButton("copiar");
    final Clipboard clipboard = getToolkit().getSystemClipboard();
    //new add
    add(nn);
    add(tt);
    bu.addMouseListener(new MouseListener() {
    public void mouseEntered(MouseEvent e) {
    StringSelection data = new StringSelection(jt.getText());
    clipboard.setContents(data, data);
    public void mouseClicked(MouseEvent e) { }
    public void mousePressed(MouseEvent e) { }
    public void mouseReleased(MouseEvent e) {}
    public void mouseExited(MouseEvent e) { }
    private static void createAndShowGUI() {
    //Create and set up the window.
    JFrame frame = new JFrame("TextDemo");
    public static void main(String[] args) {
    //Schedule a job for the event dispatch thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    public void mouseClicked(MouseEvent e) { }
    public void mousePressed(MouseEvent e) { }
    public void mouseReleased(MouseEvent e) { }
    public void mouseEntered(MouseEvent e) { }
    public void mouseExited(MouseEvent e) { }
    } the problem is this line bu.addMouseListener(new MouseListener() {
    if i change this to bu.addMouseListener(this() {
    it gives error saying expected ')'
    and then doesn't compile.
    i just don't know why , although the program runs when i declare the methods two times,
    but i think it's better java code , if i learn it why is this error and correct it

Maybe you are looking for