Time taken to run MD02

Friends,
When I try executing t code MD02, it takes a very long time. I am basically not an MM guy. I need to know what could be the reason that it takes so much time.
Rock

Hi,
In the planning run, if there are lot of material in the planning file entry, the system will take a lot of time to go thro' each material. If you want it fast for a single material, use MD03.
anand

Similar Messages

  • Time taken

    I need to collect the CPU time taken to run some Java code. Is there a way that I can do this, and if so how do I do it? (in easy terms please!)

    if you want the time taken to run a piece of code, use
    long timeNow = System.currentTimeMillis();
    for(int i = n; i < n + 1; i++, n++) {
        doStuff();
    long totalTime = System.currentTimeMillis() - timeNow;

  • Time taken for a method to run. ?

    I have a query regarding ascertaining the time taken
    for a method to execute
    I have a SQL statement that I reads 10,000 rows.
    String a_SQL = "Select.....from TableA";
    try {
         IQuery query = m_UC.createQuery();
         SimpleTableModel stm = query.executeSelect(a_SQL);
       }catch(SQLException se){
       // Query Over.
       private void displayJTable(){
       // display rows read from the query above.
       }          As the query is executing,I want to display a progress bar
    showing the status of the query.
    Now I cant use this :
    start = System.currentTimeMillis();
    try {
         IQuery query = m_UC.createQuery();
         SimpleTableModel stm = query.executeSelect(a_SQL);
       }catch(SQLException se){
    end = System.currentTimeMillis();
    System.out.println(" Time taken  to display " + (end - start)/1000);
                  The above will give me the time elapsed in seconds for the SQL query to execute,but
    this is not what I want.
    What i want is to use this :
           // Progress BAR executing,so I need to get to know the time
           // taken for the query to run
            try {
            the SQL execution
            }cach(){
            // Query over.
            // Stop Progres Bar.
            // Display JTable.       How can I know when to stop the Progress Bar as I have no handle
    on the time taken to execute the query?
    Any help will be appreciated

    You can have a separate thread (or maybe it's just part of the regular GUI update thread? I don't know details about GUIs) that puts up an hourglass or spinning clock hands or dancing hamster or whatever to indicate that something is going on, but like the man says, you can't know ahead of time how long it will take to run a query, so you can't show percent done. You also don't in general know ahead of time how many rows will be returned so that doesn't help you.
    You might be able to do something for the processing of the returned data, once the query completes, because then you can often get a count of the number of rows, so you process each row in a loop, and update the % done counter each time through the loop.

  • Scheduling in MRP Run MD02

    dear all,
    i still confuse for using scheduling in MRP run MD02,
    what is the use of using both scheduling type "1" and type "2"?
    because if i run the MRP using scheduling type 2,  after i generate the planned order, then i can see the capacity planning evaluation,
    but not if i run scheduling type 1
    if i run the scheduling type 1, how can i analyze the capacity planning?
    until now, i always run the scheduling type 2, because i think it is more useful to run scheduling type 2,
    so what is the plus and the minus using scheduling type 1 or type 2?
    best regards,
    MARUFAT

    Hi,
    In simple words:
    The main difference between scheduling type 1 (Basic date scheduling) & Scheduling type 2 (Lead time scheduling & Capacity requirements) is from which records MRP reads the values.
    Basic dates is more like a rough scheduling where the values are read from the material master & the exact operation times are not considered or capacity requirements generated.
    Lead time scheduling is more precise meaning for each in-house produced material it reads the routing & checks the time maintained for each operation, it then calculates the exact times for each operation based on the working days, shift timings, breaks & also generates capacity requirements.
    Now what is the criteria to select... it depends on the business requirement. But the data maintenance for Scheduling type 2 is higher as compared to Scheduling type 1.
    What is the benefit for going for Scheduling type 2.... well it gives you a clear picture on your production planning process & how much capacity is required, whether you have the requisite capacity etc etc.
    Basic date scheduling is preferred when you do not want such fine control on your production planning process.
    For more info refer to SAP help, it should make it more clear.
    Regards,
    Vivek

  • Compare time taken by sqls

    Hi experts,
    Can any one refer me any tool or utility by which i can get time taken by different sql's without using explain plan..
    Regards,
    SKP

    If you are running it from SQL*Plus, just set timing on
    SQL> set timing on
    SQL> select empno,ename from emp where deptno=10;
    EMPNO ENAME
    7782 CLARK
    7839 KING
    7934 MILLER
    Elapsed: 00:00:01.97
    SQL> select empno,ename from emp where deptno=20;
    EMPNO ENAME
    7369 SMITH
    7566 JONES
    7788 SCOTT
    7876 ADAMS
    7902 FORD
    Elapsed: 00:00:01.91
    SQL>

  • Got a mac book pro a month back, the bootup time taken now is much more. Requesting possible solutions. Thanks.

    Got a mac book pro a month back, the bootup time taken now is much more as compared to earlier. Requesting some possible solutions.
    Thanks,
    Sid

    Linc,
    As per your instructions, these were the messages that were logged in the first few minutes after start up.
    Jul 17 21:17:18 localhost com.apple.launchd[1]: *** launchd[1] has started up. ***
    Jul 17 21:17:37 localhost com.apple.usbmuxd[22]: usbmuxd-211 built on Feb  8 2011 at 13:49:43 on Feb  8 2011 at 13:49:43, running 64 bit
    Jul 17 21:17:39 localhost bootlog[41]: BOOT_TIME: 1310917638 0
    Jul 17 21:17:39 localhost mDNSResponder[29]: mDNSResponder mDNSResponder-258.21 (May 26 2011 14:40:13) starting
    Jul 17 21:17:39 localhost configd[13]: bootp_session_transmit: bpf_write(en1) failed: Network is down (50)
    Jul 17 21:17:39 localhost configd[13]: DHCP en1: INIT-REBOOT transmit failed
    Jul 17 21:17:39 Siddharth-Jaswas-MacBook-Pro configd[13]: setting hostname to "Siddharth-Jaswas-MacBook-Pro.local"
    Jul 17 21:17:39 Siddharth-Jaswas-MacBook-Pro configd[13]: network configuration changed.
    Jul 17 21:17:42 Siddharth-Jaswas-MacBook-Pro blued[16]: Apple Bluetooth daemon started
    Jul 17 21:17:43 Siddharth-Jaswas-MacBook-Pro /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[30]: Login Window Application Started
    Jul 17 21:17:43 Siddharth-Jaswas-MacBook-Pro com.apple.kextd[10]: Can't load /System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/InternalModemSu pport.kext - no code for running kernel's architecture.
    Jul 17 21:17:43 Siddharth-Jaswas-MacBook-Pro com.apple.kextd[10]: Failed to load /System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/InternalModemSu pport.kext - (libkern/kext) requested architecture/executable not found.
    Jul 17 21:17:43 Siddharth-Jaswas-MacBook-Pro com.apple.kextd[10]: Load com.apple.driver.InternalModemSupport failed; removing personalities.
    Jul 17 21:17:44 Siddharth-Jaswas-MacBook-Pro loginwindow[30]: Login Window Started Security Agent
    Jul 17 21:17:45 Siddharth-Jaswas-MacBook-Pro loginwindow[30]: Login Window - Returned from Security Agent
    Jul 17 21:17:45 Siddharth-Jaswas-MacBook-Pro loginwindow[30]: USER_PROCESS: 30 console
    Jul 17 21:17:45 Siddharth-Jaswas-MacBook-Pro com.apple.launchd.peruser.501[86] (com.apple.ReportCrash): Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    Jul 17 21:17:45 Siddharth-Jaswas-MacBook-Pro configd[13]: network configuration changed.
    Jul 17 21:17:50 Siddharth-Jaswas-MacBook-Pro com.apple.launchd.peruser.501[86] (com.apple.Kerberos.renew.plist[110]): Exited with exit code: 1
    Jul 17 21:17:50 Siddharth-Jaswas-MacBook-Pro com.apple.usbmuxd[22]: HandleUSBMuxDictionary client 0x101800ab0-iTunesHelper/com.apple.iTunesHelper using library usbmuxd-211 built on Jan 13 2011 at 04:19:31, running usbmuxd-211 built on Feb  8 2011 at 13:49:43
    Jul 17 21:18:10 Siddharth-Jaswas-MacBook-Pro [0x0-0xf00f].com.google.Chrome[140]: [0717/211810:INFO:breakpad_mac.mm(89)] Breakpad disabled
    Jul 17 21:18:16 Siddharth-Jaswas-MacBook-Pro [0x0-0xf00f].com.google.Chrome[140]: [140:519:54119099370:ERROR:CONSOLE(6465)] "Uncaught TypeError: Cannot read property 'can_uninstall' of undefined", source: chrome://newtab/ (6465)
    Thanks,
    Sid

  • Time taken to roll back a failed transaction

    One of our customers has reported that a batch transaction, which takes about 3 hours to complete, failed after 2 hours and took 14/16 hours to roll back.
    Is there a rule of thumb guideline available which can predict the time taken to roll back. Does it depend upon time the transaction was running before it failed and the size of roll back data created in rollback segment.
    Thanks
    Cheema

    This is supplement to the original question.
    Will there be a significant difference between time taken to roll back in the following two situations :
    1) failure is detected by the transaction and an explicit rollback statement is issued by the stored procedure performing the transaction.
    2) Connection to oracle is lost and DBA kills the session
    Cheema

  • How to display gauge progress refer to HTTP connection time taken

    Hi,
    I would like to know how can I display the gauge progress depend on the HTTP connection time taken.
    I have the source code below but it can't show the gauge progress parallel to the HTTP connection working.
    That's kind of those who solve me this problem.
    Source code:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import java.io.*;
    import javax.microedition.io.*;
    import java.util.*;
    public class HttpExample extends MIDlet implements CommandListener
         private Gauge gauge;
         private Command exit, start;
         private Display display;
         private Form form;
         long AUD, CAN;
         public HttpExample()
              display = Display.getDisplay(this);
              exit = new Command("Exit", Command.EXIT, 1);
              start = new Command("Start", Command.EXIT, 1);
              form = new Form("");
              gauge = new Gauge("Updating Currency Rate", false, 100, 0);
              form.append(gauge);
              form.addCommand(exit);
              form.addCommand(start);
              form.setCommandListener(this);
              display.setCurrent(form);
         public void startApp() throws MIDletStateChangeException
              display.setCurrent(form);
         public void pauseApp()
         public void destroyApp(boolean unconditional)
         public void commandAction(Command command, Displayable displayable)
              if (command==exit)
                   destroyApp(false);
                   notifyDestroyed();
              else if(command==start)
                   Updater updater = new Updater(this);
                   updater.start();
         class Updater implements Runnable
         private HttpExample MIDlet;
         public Updater(HttpExample MIDlet)
              this.MIDlet=MIDlet;
         public void run()
              try
                   transmit();
              catch (Exception error)
                   System.err.println(error.toString());
         public void start()
              Thread thread = new Thread(this);
              try
                   thread.start();
              catch (Exception error)
         private void transmit() throws IOException
              StreamConnection connection=null;
              InputStream in= null;
              StringBuffer buffer=new StringBuffer();
              try
                   connection=(StreamConnection) Connector.open("http://www.geocities.com/cyfan118/index.html");
                   in=connection.openInputStream();
                   int ch;
                   while ((ch=in.read())!=-1)
                        gauge.setValue(gauge.getValue() + 1);
                        buffer.append((char)ch);
                   String line=new String(buffer.toString());
                   int p=line.indexOf("AUD");
                   int p1=line.indexOf("CAN");
                   String a=line.substring(p+4,p+7);
                   String b=line.substring(p1+4,p1+7);
                   AUD=Long.parseLong(a);
                   CAN=Long.parseLong(b);
                   buffer=new StringBuffer();
              catch (IOException error)
                   Alert alert=new Alert("Error","Cannot connect",null,null);
                   alert.setTimeout(Alert.FOREVER);
                   alert.setType(AlertType.ERROR);
                   display.setCurrent(alert);
    }

    This code looks like it should work to update the progress during the connection but it is not going to start updating the guage until it has made the connection and is downloading data. If you want to show something on the screen during the time the program is doing Connector.open() you are going to need to have the update code in yet another thread or timer.

  • IPOD freezes every time I go running

    I purchased the IPOD video 30GB in late February. 9 out of 10 times I go running, it freezes and stops playing. This is a joke since this is the reason I bought the IPOD in the first place. It also does not hold a charge for long. It also locks my computer system up when plugged in and creates a FAT 32 error indicating volume is dirty. All of this has been ongoing and I haven't taken the time to report the problems. By the way, Apple does not make it easy to report service issues, either. I have asked others I know who own an IPOD and they haven't experienced these problems. Did I buy a lemon of an IPOD? Any thoughts or help would be greatly appreciated.

    That likely means that yo have a negative balance in your account (you owe Apple money for previous purchases).
    Log into your account and check your balance and add a valid payment method if necessary
    http://osxdaily.com/2013/05/19/check-itunes-app-store-account-balance/
    Next contact iTunes
    http://www.apple.com/support/itunes/contact/

  • How to Measure time taken for a some lines of code in a program?

    Hi
    I have one requirement to measure time taken for executing a  block of code in report . How we can find it ?
    Is there any way to code something in report to caluculate it ?
    Please send solution as early as possible
    thank u

    Ok.. try this code...
    DATA : t1 TYPE i,
    t2 TYPE i,
    delta(16) TYPE p.
    GET RUN TIME FIELD t1.
    PERFORM get_data. "your block of code
    GET RUN TIME FIELD t2.
    delta = t2 - t1.
    delta = delta / 1000000.
    WRITE :/ 'Time elapsed : ', delta , 'Secs'. "time in secs.

  • Capturing query time taken inside a proc

    Hi ,
    select * from v$version
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Solaris: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    =================
    I have a few insert and delete statements inside my stored procedure .
    I need to cature the time taken by these queries after their run .
    Is there any way we can get this . ( Not putting timestamps before and after the query and taking difference )
    Thanks ,
    Mahesh

    Mahesh wrote:
    I am looking is there anything like sql%rowcount which gives the count affected or we have set time on in sql*plus which gives the time .Elapsed time in Pl/SQL can be calculated by using DBMS_UTILLITY.GET_TIME
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_util.htm#i1002765
    Regards
    Peter

  • How to find the time taken for creating execution plan alone

    Hi,
    Is there any way to find out the division between the time taken for query parsing, creating execution plan and actual data retrieval seperately? If I enable 'set timing on' I see the elapsed time which is the total time taken for all these 3.
    Some of my queries are taking long time when I run it first time and so want to know what is it taking long, is it the parsing the query or creating the execution plan? (Since my queries run faster second time, I am assuming the major part was for parsing or creating the plan but not the data retrieval).
    Also, where does Oracle keep the execution plan? Is it in the BUFFER_CACHE? if so, I tried flushing the buffer_cache and restarting the DB as well, but still the query execution seems faster compared to the first time. How long does Oracle keep the execution plan in the cache and is there anyway to increase this cache size?
    Thanks in advance!

    user13169027 wrote:
    Hi,
    Is there any way to find out the division between the time taken for query parsing, creating execution plan and actual data retrieval seperately? If I enable 'set timing on' I see the elapsed time which is the total time taken for all these 3.
    Some of my queries are taking long time when I run it first time and so want to know what is it taking long, is it the parsing the query or creating the execution plan? (Since my queries run faster second time, I am assuming the major part was for parsing or creating the plan but not the data retrieval).
    The ideal way for finding the answer to your questions above, would be to perform a (sql) trace of your query executions. To see the difference in the trace-files, you might want to trace the first execution in one session, and the second execution in another session: so you get two different trace files, which you can then seperately tkprof, and investigate.
    Also, where does Oracle keep the execution plan? Is it in the BUFFER_CACHE? if so, I tried flushing the buffer_cache and restarting the DB as well, but still the query execution seems faster compared to the first time. How long does Oracle keep the execution plan in the cache and is there anyway to increase this cache size?
    Execution plans are held in the shared-pool, not the buffer-cache. As far as I know they will be kept in memory in an LRU way (least recently used), just like db-blocks are in the buffer-pool (I know this is not entirely correct, but for all practical purposes, think of it this way).

  • OWB 10g - The time taken for data load is too high

    I am loading data on the test datawarehouse server. The time taken for loading data is very high. The size of data is around 7 GB (size of flat files on the OS).
    The time it takes to load the same amount of data on the production server from the staging area to the presentation area(datawarehouse) is close to 8 hours maximum.
    But, in the test environment the time taken to execute one mapping (containing 300,000 records)is itself 8 hours.
    The version of Oracle database on both the test and production servers is the same i.e., Oracle 9i.
    The configuration of the production server is : 4 Pentium III processors (2.7 GHz each), 2 GB RAM, Windows 2000 Advanced Server, 8 kilobyte primary memory cache, 512 kilobyte secondary memory cache, 440.05 Gigabytes Usable Hard Drive Capacity, 73.06 Gigabytes Hard Drive Free Space
    The configuration of the test server is : 4 Pentium III processors (2.4 GHz each), 1 GB RAM, Windows 2000 Advanced Server, 8 kilobyte primary memory cache,
    512 kilobyte secondary memory cache, 144.96 Gigabytes Usable Hard Drive Capacity, 5.22 Gigabytes Hard Drive Free Space.
    Can you guys please help me to detect the the possible causes of such erratic behaviour of the OWB 10g Tool.
    Thanks & Best Regards,
    Harshad Borgaonkar
    PwC

    Hello Harshad,
    2 GB of RAM doesn't seem to be very much to me. I guess your bottleneck is I/O. You've got to investigate this (keep an eye on long running processes). You didn't say very much about your target database design. Do you have a lot of indexes on the target tables and if so have you tried to drop them before loading? Do your OWB mappings require a lot of lookups (then apropriate indexes on the lookup table are very useful)? Do you use external tables? Are you talking about loading dimension or fact tables or both? You've got to supply some more information so that we can help you better.
    Regards,
    Jörg

  • Reduce time taken

    Hello everyone,
    i'm given the task to create a vi that do the download firmware in ideal time of 30 secs. Somehow, it's able to perform the work but at the time of 1min3secs.
    How can i reduce the time taken for this vi. ?
    Thank you.
    regards
    Attachments:
    time_vi.JPG ‏63 KB

    MikeS81 wrote:
    Hello microes,
    do you know how much time every case need? One way could be to enlarge the wait time in the while loop to give the processor more time.
    Mike
    That probably won't help speed up the process any on the Labview side of the code.  The key thing is that there is a wait statement in the while loop to give the processor an opportunity to do other things..  But on the other hand, the loop is only designed to be a visual monitor of progress.  So there is no need to poll for the status every millisecond.  You could get by with a 500 msec wait statement in that while loop.
    I still think most of the time to run is in the CIN blocks.  A good idea would be to put a Get time function in each of those case statements and send the data to an indicator.  That way after the code runs, you can compare timestamps and see how much time each part of the code is taking.  (For the while loop, you could do some averaging functions to track the average loop iteration time.)

  • Problems with Photoshop CS2 I originally purchased this software several years ago. At time I was running Microsoft Windows XP. This computer recently was replaced with  a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few

    Problems with Photoshop CS2
    I originally purchased this software several years ago. At time I was running Microsoft Windows XP.
    This computer recently was replaced with a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few exceptions as follows;
    when the software comes up initially I get a message that says “could not complete your request because of program error”. Hitting OK allows me to continue using the software .
    When I try to activate a function using CTLR or ALT keys I get this message “required application failed to load and the product cannot continue. Please reinstall the application”. This causes the application to abort.
    Reloading my CS2 continues to generate the same messages when I depress the CTLR or ALT keys.

    Your original copy is obsolete and Adobe is offering a free replacement you are entitled to. Download and use that and that should clear it up for you.
    https://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.ht ml
    Download this copy of CS2 and use the serial number provided next to the download link.

Maybe you are looking for

  • My sync/backup isn't working. How do I fix it?

    About a month ago my sync/backup status is always "initializing" help.  I found an article in Adobe Photoshop help that recommended three steps to take, 1) set preferences, 2) Change Internet options and 3) contact adobe help with a copy of the sync

  • OOTB Approval Workflow on Custom List does not Update Approval Status

    I have a custom list on which I've required content approval.  I then created a workflow instance from the "Approval - SharePoint 2010" template.  For this workflow I have selected "Update the approval status after the workflow is completed (use this

  • Error in message class

    Hi all, After configuring the file to idoc scenario and testing the application in the sxmb_moni i get a red checked flag and a following error message appears <SAP:Stack>Unable to find resource com/sap/xi/tf/_messagemap_.class (urn:xiexample:grpxx:l

  • Firefox only works after I re-boot my computer

    I just got a new computer last week. It is running Windows 8 - 64 bit. I installed Firefox, used it for a week, set up my bookmarks, etc. and it worked fine. The other day when I logged in and opened Firefox, I couldn't click on anything - nothing wo

  • How can I use Ipad to view and delete photos from SD card without importing?

    Importantly I would like to view the photos from the SD card in full screen (vs. just a thumbnail) before deciding whether to delete. It seem's that with the camera connection kit you can only view them as thumbnails before importing.  Any other apps