WaitFor() Does not wait for Process

Experts,
I have a Process p for a Microsoft Outlook Process OUTLOOK.EXE
Now if there is an Email file (xyz.msg) opened as this process along with my MS Outlook running then,
p.waitFor();
// Where p = runner.exec(shell_command_to_open_msg_file);
does not wait and move further.
But if the MS Outlook is not running, then it waits till I manually close the Email msg file.
How can I handle/overcome the former situation?
Thanks in advance

moondra_JavaDev wrote:
How can I handle/overcome the former situation?
You can't in java.
What happens is that when outlook is already running then the new attempt to run does the following
1. A application starts
2. It determines that outlook is already running.
3. It focuses that instance
4. It exits.
The last step is what you see. You do not have access to the one that is running because it isn't the same application.
I would suggest examining the business requirements that are driving this. If you allow the user to already have outlook open then it seems rather odd that you are insisting that they exit it anyways. Instead you can pop a dialog and require that they tell you when they are done. Or don't use outlook and use java mail instead.

Similar Messages

  • WaitFor() does not wait!

    Hi, I have a small applet that launches a MS Word app and opens a document. In the code I use the waitFor() process method to wait until the MS Word app closes so I can do some processing to the MS Word file.
    The code looks like this:
    public void openMSWDocument() throws IOException
    Process p = Runtime.getRuntime().exec("cmd /c start " + outfilePath);
    try
    p.waitFor();
    System.out.println("process complete");
    catch (InterruptedException ie)
    System.out.println("Process interrupted: " + ie.toString());
    for some reason, the process does not wait. Is there something that I am not doing that I should be doing?

    Never mind. I found the problem.
    It seems that using 'start' in my command line will cause the waitFor() not to work.
    The process p is dependant on the 'start' process to complete, so when 'start' terminates (after it launches my windows app) then so does the process p. Hence, waitFor() = 0.
    so i used the command line cmd = appFilePath + " " + fileNamePath;
    Its works!

  • [Solved] systemd does not wait for the unit to finish

    My problem is described in the title. I have made a test by enabling the following unit:
    [Unit]
    Description=/etc/rc.local Compatibility
    [Service]
    Type=forking
    ExecStart=/bin/sleep 1000
    TimeoutSec=0
    RemainAfterExit=yes
    After=network.target
    [Install]
    WantedBy=multi-user.target
    The unit is well started (a process sleep 1000 exists). But with a type=forking, systemd is supposed to hang in this case. Instead, the graphical.target is launched, systemctl list-units mention it as dead, but the display manager is started before the sleep 1000 completes. Ho can I force systemd to wait?
    Last edited by olive (2015-03-16 16:49:34)

    olive, now you're making even less sense. I didn't say the sleep example was stupid and I didn't question your reasons for doing/wanting this.
    I suggested you add "Before=display-manager.service" and you respond "I added Before=graphical.target and it didn't change anything."
    I also tried to explain why systemd has no reason to delay the display-manager.service. You could have asked for further clarification, as berbae has now done. Let's try a longer explanation.
    Service startup
    Services can be started in different ways, as configured with Type=. This determines when a service is considered "started" (or when the service's start-up is considered finished). When a service reaches this state (some time after being started), units that are supposed to start After= this service will be started (and no sooner).
    With simple systemd has no further information about the start-up process. It launches whatever you specify in ExecStart and this is the main process that continues to run till the service stops. systemd assumes this type of service is started immediately. All the other types have some way for the process to indicate to systemd (either directly or indirectly) when it has finished starting.
    Actually oneshot is also a bit special and that is where RemainAfterExit comes in. For oneshot, systemd waits for the process to exit before it starts any follow-up units (and with multiple ExecStarts I assume it waits for all of them). So that automatically leads to the scheme in berbae's last post. However, with RemainAfterExit, the unit remains active even though the process has exited, so this makes it look more like "normal" service with
    begin of unit/startup ---- end of startup ------ end of unit
    This is the relevant behavior for this thread. First sleep starts, then after 1000 seconds, start-up finishes and follow-up units will be started. Then either the unit dies, or (with RemainAfterExit) it stays "active".
    The man page describes how "end of startup" is determined for each Type.
    Targets
    Targets are meant to group units together, to provide synchronization points (and replace runlevels). When you start a target, all its units will be started (in parallel if possible). The man page says:
    Unless DefaultDependencies= is set to false, target units will
           implicitly complement all configured dependencies of type Wants=,
           Requires=, RequiresOverridable= with dependencies of type After= if the
           units in question also have DefaultDependencies=true.
    This means that (by default) when a target is requested, all it units are started first. Only after all units have finished starting, the target itself will be started (and since the target doesn't do anything by itself, this startup is basically instantaneous). Without this dependency, the order between the target and its units is unspecified, so in theory the target could finish starting immediately while its units are still being started.
    Back to olive
    graphical.target has these DefaultDependencies, so it is not started until all its units (like display-manager.service) and other After= dependencies (like multi-user.target) have finished starting. Your sleep service has to be started before multi-user.target starts (again due to default target dependencies). So first display-manager and the sleep service are started and after 1000 seconds, the sleep service finishes starting and then (assuming all other dependencies were quicker) multi-user.target is started and graphical.target as well (assuming display-manager didn't need 1000 seconds).
    If you want display-manager.service after the sleep service, add a Before/After line to specify that (this was your original goal and my suggestion).
    olive wrote wrote:However, units that are parts of the graphical target are still launched before the graphical target become active. I am still unable to completely delay the starts of the graphical target before a specific unit completes.
    It should be clear now how this works. "units that are part of the graphical target" can only mean "units that are wanted/required by the graphical target" but that is basically all the units that are started when you boot your system, because multi-user.target is a part of graphical.target. And your sleep service is a part of multi-user.target, so in fact you're saying you want to delay starting the sleep service until the sleep service completes
    What you probably intended was to delay all units that are a part of graphical.target but not of multi-user.target until after the sleep service. I can't think of an easy (or even good) way to do this and this post is already too long, so I'll table that for now.

  • SCCM does not wait for Soft Reboot in deployments with dependencies

    This is a difficult thing to search for due to its granularity, so I apologize if this is a repeat topic.
    I am deploying an application with a dependency that returns the '3010' code to tell client to perform a Soft Reboot. The outcome I intended was for SCCM to install the dependency, wait for a reboot (as is the nature of the Soft Reboot to my knowledge) and
    then continue with the installation of the primary application after the user reboots.
    However, in practice this is not what SCCM does. Instead, it seems that the notice for a Soft Reboot is acknowledged by the client, noted by the expected popup the user sees as well as the 'restart required' message in Software Center, but the deployment
    process continues on in the background with the installation of the primary application being deployed. It almost seems like a bug, but maybe this is the intended behavior of SCCM 2012. I just can't find any documentation anywhere that speaks to this.

    I think this may have been a misunderstanding on my part about the specific definitions of "Hard Reboot" vs "Soft Reboot". I thought the former would immediately restart the computer, but perhaps it only halts other installations until a restart is performed
    by the user? And then a "Soft Reboot" basically would just act as a passive notification to the user that they should restart at some point, but the client itself would not actually take any action?
    It was just confusing to me that Software Center displayed the 'restart required' status yet continued with the next part of the deployment.
    To actually answer your question, I have not tried configuring the app deployment type to "Configuration Manager client will force a device restart" because to me that sounded like the client would immediately force a reboot regardless of the return code,
    but I only wanted the computer to reboot if the application installation returned the '3010' code (it can return others), and thus the default of "Determine behavior based on return codes" seemed the most appropriate option.

  • Second tween does not wait for first to finish

    Having a little problem here and as far as I can tell it is
    just that the second tween starts before waiting for the first to
    finish. Basically on a click event it should slide out a scroll
    pane to the bottom of the screen, change the contentpath of the
    scroll pane, then slide it back up.
    with the code below it just slides up the new movie clip but
    does not slide out the old one, if i remove the code for the new
    clip to slide up the old one does do the slide out how I want it to
    look.
    how can I make a pause in between the two to wait.
    on (press) {
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    _root.mask._x = 54;
    _root.mask._y = 109.3;
    _root.scroll_pane.setMask(_root.mask);
    switch (_root.loaded_clip)
    case 2: var Slide_out:Tween = new Tween(_root.scroll_pane,
    "_y", Bounce.easeOut, _root.scroll_pane._y, 900, 3, true); break;
    _root.scroll_pane.contentPath = "Search_mc";
    var Slide_up:Tween = new Tween(_root.scroll_pane, "_y",
    Bounce.easeOut, 900, 109, 3, true);
    _root.loaded_clip = 1;
    }

    Its still not working with that code but I think I can muck
    around with it and figure it out, the slide out works on the old
    clip now but then the new one never shows up.
    The onMotionFinished was basically what I was looking for,
    think I can eventually figure it out from here, thanks for the
    info.

  • Program does not wait for user input

    Hi everyone,
    i am working on a program and there are 2 problems that i can't figure out. Since they are 2 different topics, I will do 2 posts.
    Just to give you some background on the program, it is a program that reads 3 txt files into 4 different arrays. The files contain student names, student ID numbers, number of credits and gpas. the user enters the names of the 3 txt files and then is given a list of options to choose from. I am having problems with option 7.
    The code lists the student information, but it does not stop to request the name of the student from the user. Instead, it prints the system out line requesting the name and then prints all the information for every student in the file. I can't figure out why this is happening. Here is the code for the option:
                    else if (choice == 7)
                            System.out.print("Please enter the student's name: ");
                            student_name= sc.nextLine();
                            for (q= 0; q <= num_students-1; q++)
                                    if (student_name.equalsIgnoreCase(studentname[q]))
                                            System.out.println();
                                            System.out.println("Student's name: " + studentname[q]);
                                            System.out.println(studentname[q] + "'s ID#: " + studentid[q]);
                                            System.out.println(studentname[q] + "'s number of credits: " + credits[q]);
                                            System.out.println(String.format(studentname[q] + "'s gpa: " + "%.2f",gpa[q]));
                                            if (gpa[q] < 2.00)  
                                                    System.out.println(studentname[q] + "'s status: can't graduate");
                                            else if (gpa[q] >= 3.45 && gpa[q] < 3.65)
                                            else if (gpa[q] >= 3.45 && gpa[q] < 3.65)
                                                    System.out.println(studentname[q] + "'s status: cum laude");
                                            else if (gpa[q] >= 3.65 && gpa[q] < 3.85)
                                                    System.out.println(studentname[q] + "'s status: magna");
                                            else if (gpa[q] >= 3.85)
                                                    System.out.println(studentname[q] + "'s status: summa");
                                            else if (gpa[q] >= 2.00 && gpa[q] < 3.45)
                                                    System.out.println(studentname[q] + "'s status: ");
                    System.out.println();
                    System.out.println("1.  List student names");
                    System.out.println("2.  List credits");
                    System.out.println("3.  Show total credits");
                    System.out.println("4.  List gpas");
                    System.out.println("5.  List gpas in ascending order");
                    System.out.println("6.  Show weighted average of gpas");
                    System.out.println("7.  Show information about a given student");
                    System.out.println("8.  Add a new student");
                    System.out.println("9.  Quit");
                    System.out.println();
                    System.out.println();
                    System.out.print("Enter your choice: ");
                    choice= sc.nextInt();
                    System.out.println();
                    // Option 9 quits program
    }          Any help you can give me would be greatly appreciated.

    Ok, I tinkered with the code a bit. Now it will show the info for only one student, however, it is not giving any results. Here is the output I am getting:
    Enter your choice: 7
    Please enter the student's name: mary
    Student's name: null
    null's ID#: null
    null's number of credits: 0
    null's gpa: 0.00
    null's status: can't graduate
    1. List student names
    2. List credits
    3. Show total credits
    4. List gpas
    5. List gpas in ascending order
    6. Show weighted average of gpas
    7. Show information about a given student
    8. Add a new student
    9. Quit
    Here is the updated code:
                    else if (choice == 7)
                            System.out.print("Please enter the student's name: ");
                            student_name= sc.next();
                            for (q= 0; q < num_students; q++)
                                    if (student_name.equalsIgnoreCase(studentname[q]))
                                            System.out.println();
                                            System.out.println("Student's name: " + studentname[q]);
                                            System.out.println(studentname[q] + "'s ID#: " + studentid[q]);
                                            System.out.println(studentname[q] + "'s number of credits: " + credits[q]);
                                            System.out.println(String.format(studentname[q] + "'s gpa: " + "%.2f",gpa[q]));
                                            if (gpa[q] < 2.00)
                                                    System.out.println(studentname[q] + "'s status: can't graduate");
                                            else if (gpa[q] >= 3.45 && gpa[q] < 3.65)
                                                    System.out.println(studentname[q] + "'s status: cum laude");
                                           else if (gpa[q] >= 3.65 && gpa[q] < 3.85)
                                                    System.out.println(studentname[q] + "'s status: magna");
                                            else if (gpa[q] >= 3.85)
                                                    System.out.println(studentname[q] + "'s status: summa");
                                            else if (gpa[q] >= 2.00 && gpa[q] < 3.45)
                                                    System.out.println(studentname[q] + "'s status: ");
                                    else
                                            System.out.println("Student name not on file.");
                    System.out.println();
                    System.out.println("1.  List student names");
                    System.out.println("2.  List credits");
                    System.out.println("3.  Show total credits");
                    System.out.println("4.  List gpas");
                    System.out.println("5.  List gpas in ascending order");
                    System.out.println("6.  Show weighted average of gpas");
                    System.out.println("7.  Show information about a given student");
                    System.out.println("8.  Add a new student");
                    System.out.println("9.  Quit");
                    System.out.println();
                    System.out.println();
                    System.out.print("Enter your choice: ");
                    choice= sc.nextInt();
                    System.out.println();  
                    // Option 9 quits program
    }

  • Creative Cloud file synch misbehaves - does not wait for save operation to complete before throwing an access error

        Creative Cloud File synch is too impatient and it constantly gives me an error when I try to save my project file from Articulate Storyline 2 to my folder on Creative Cloud,
    This is from my log:
    Copy Over 'C:\Users\sbirch\Creative Cloud Files\eIssuance\03Project\eIssuance.story' -> 'acsl://scss.adobesc.com:80/files/eIssuance/03Project/eIssuance.story'
    - ERROR: Copying file: Cannot open local file 'C:\Users\sbirch\Creative Cloud Files\eIssuance\03Project\eIssuance.story' for read: The process cannot access the file because it is being used by another process. (error 32)
    20150120-134758.611: Finish UL: /eIssuance/03Project/eIssuance.story (Ovr): Copying file: Cannot open local file 'C:\Users\sbirch\Creative Cloud Files\eIssuance\03Project\eIssuance.story' for read: The process cannot access the file because it is being used by another process. (error 32)
    Problem is, the save operation is incomplete when CC tries to access the file. And it jsut gives up. It doesn't wait or retry, which means my file never synchs UNLESS I restart the CC application, or reboots, or renames the file.
    Thats silly. Can you change that behaviour please?

    Hi,
    Could you supply me with your log files, you can locate them by looking at..
    Mac:
    /Users/<username>/Library/Application Support/Adobe/CoreSync
    Windows:
    C:\Users\<username>\AppData\Roaming\Adobe\CoreSync
    'Library' on Mac and 'AppData' on Windows are both hidden folders. Please read these pages for help on showing these folders:
    http://helpx.adobe.com/x-productkb/global/show-hidden-files-folders-extensions.html (Win)
    https://helpx.adobe.com/x-productkb/global/access-hidden-user-library-files.html (Mac)
    Please send upload them to Creative Cloud and send me a link at [email protected]

  • Playbar does not wait for sidebar video

    This is the name of a 2008 discussion without a proper solution.
    I have the same issue with Presenter 10, quite a few years later...
    I'm importing mp4 videos in the sidebar video with medium quality option but when playing the presentation the slide starts without waiting the video to fully buffer.
    Control preloading is enabled
    Here is the presentation OGC Indoor GML
    Please help
    Thanks in advance

    Have you tried placing the video on the side bar as an FLV?

  • How can I not wait for a RFC response

    Hi everyone, i want to execute an RFC and not wait for the response, i don´t care, so, is there a way to achieve this ? thanks

    Hello Isaac,
    If you are calling the RFC from WebDynpro then you have to wait for the RFC response. However, there is a way that you can get early response from a RFC.
    Suppose you are using RFC1 in your program and it contains business logic. Now, don't directly call the RFC1, instead, write another RFC2 which calls RFC1 asyncronously. This way, when you call RFC2 it automatically call RFC1 and does not wait for any response for RFC1
    You can call RFC1 from RFC2  asynchronously:
    CALL FUNCTION RFC1 STARTING NEW TASK taskName
    Your WD application will immediately get a response from RFC2 while RFC1 still executing.
    To know more about asynchronous RFC refer [Parallel Processing with Asynchronous RFC  |http://help.sap.com/saphelp_nwpi71/helpdata/en/22/0425c6488911d189490000e829fbbd/content.htm]
    Hope this helps
    Abhinav

  • Process chain Error: This AND process is not waiting for event RSPROCESS

    Hi All,
    I am facing an error in the process chain in PRD.
    Error message: This AND process is not waiting for event RSPROCESS.
    We had a process chain which had two sub chains which run parallel and below of this we had AND process type and below of the AND process we had 4 more jobs.
    Once the two subchains got successfully loaded, the and process should turn to green and further 4 jobs should start.
    It is a daily load , it worked fine from past years,but suddenly the AND processtype is getting failed.The thing is in the two subchains if one got completed, the AND process process is not waiting for 2nd subchain to get completed.The AND process is turning to RED (status: cancelled) . I tried to repeat the AND process once after above 2 subchains loaded, but it didnt worked.
    And i removed the existing AND process and created a new one and placed it in same place and activated and schedules again.but still it is getting failed with same error.
    Thanks in advance,
    Sai Chand.S

    Hi,
    If you did any transports related to that metachain we face similar kind of issues.
    not only the AND process , we need to remove all the process before executing the AND process and create it again.
    It helps you, you said your in production So you should take the proper approvals and do it.
    Regards,
    Yerrabelli.

  • TS4057 I did this and now my videos are not working. They show the pictures aren't there on some and on others it shows they are there, but doesn't show them in the player. When I try to Share anything it just says Waiting for Processing for hours. What d

    I did this and now my videos are not working. They show the pictures aren't there on some and on others it shows they are there, but doesn't show them in the player. When I try to Share anything it just says Waiting for Processing for hours. What do I do?
    I also got Motion and can't figure out how to use it with Final Cut Pro X. Any help woud be great. Thanks

    I have no idea what may have caused your MacBook to stop working, but from your description it kind of sounds like it may have started before you ran Software Update and installed the new Apps. Just the general slow feeling and bugginess is what tips me off. You said that you weren't sure if you had closed all open windows, that doesn't matter if the computer restarts itself. It automatically closes all other open applications when restarting.
    As to your data being retrievable, if when you take it in they do a fresh install of the OS, then no, it will not be unless you want to pay several thousand dollars to a software retrieval company.
    I am glad to hear that you have taken into the Apple Store to get it fixed, and that you have all of your purchased music backed up to your iPod. You should be able to just transfer it all back to iTunes once you get your computer back should it be necessary.
    As a side note, the proper place for this topic would probably in the MacBook forums, not iTunes since there is no evidence that iTunes started the issue.

  • I am on a MAC Application. It has  been rejected by following reason.  This app does not check for the existence of a purchase receipt, which can prevent In-App Purchases from being correctly processed. We recommend implementing receipt validation to reso

    I am on a MAC Application.
    It has  been rejected by following reason.
    This app does not check for the existence of a purchase receipt, which can prevent In-App Purchases from being correctly processed.
    We recommend implementing receipt validation to resolve this issue.
    At a minimum, the app will need to check for the existence of an App Store receipt and exit at launch with a status of 173 if it does not exist.
    Any help ?
    Thanks in Advance.

    I am on a MAC Application.
    It has  been rejected by following reason.
    This app does not check for the existence of a purchase receipt, which can prevent In-App Purchases from being correctly processed.
    We recommend implementing receipt validation to resolve this issue.
    At a minimum, the app will need to check for the existence of an App Store receipt and exit at launch with a status of 173 if it does not exist.
    Any help ?
    Thanks in Advance.

  • When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.

    Problem:
    When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.
    Any help that you can provide in helping my iPhone accurately sync with iPhoto and iTunes will be greatly appreciated.
    Symptoms:
    1)   Sync:  It’s not completing the sync.  Below, I’ve provided all of my settings from the iTunes Summary tab so that you might tell me if I’ve selected any incorrect options.  I prefer to sync the “old school” way – by connecting to the computer – as opposed to syncing over the cloud. Perhaps this is what’s causing the problem? Here is a list of the steps displayed in the iTunes window as the sync progresses:
    waiting for sync to start (step 1 of 7)
    backing up (step 2 of 7)
    preparing to sync (step 3 of 7)
    determining apps to sync (step 4 of 7)
    preparing apps to sync (step 5 of 7)
    importing photos (step 6 of 7)
    waiting for changes to be applied (step 7 of 7)
    syncing apps / copying 1 of 4 (App name) (step 7 of 7)
    canceling sync
    apple icon
    2)   Photos: I've selected only certain of my iPhoto albums to sync to my iPhone.  All of the albums are correct/complete in iPhoto.  All of the albums are listed on my iPhone, both before and after the sync, but the albums are empty (no actual photos) before and after the sync. Perhaps this is tied to the fact that the sync isn’t completing, but because “importing photos” is one of the steps that the incomplete sync displays, I don’t know.
    3)   Apps: When I launch iTunes and click on the Apps folder under the Library listing, then click on the Updates tab, iTunes searches for any Apps needing to be updated and provides a list.  If I click on Update All, the Apps are successfully updated in iTunes.  But, when I plug in my iPhone so that the updates will transfer to the apps on my iPhone, the updates don’t transfer to the apps on my iPhone and those apps still reflect that they need updating on the iPhone.
    Other Potential Pertinent Info:
    The flash memory hard drive on my MacBook Air recently died (perhaps a month or two ago).  Apple had emailed me about a known issue and literally the next day, my MacBook Air crashed.  I installed a new flash memory drive and re-installed everything from a backup off of an external hard drive.  Everything seems to be working fine; it recreated accurately all of my software and data, including iPhoto and iTunes, the pictures and songs (respectively) for which are stored on that hard drive, as opposed to being on the flash memory in the MacBook Air itself.  However, I don’t recall if the start of the sync problem described herein started happening at the same time that I replaced the flash memory drive.  All I know is that the computer is working perfectly in all respects and that even as the sync is failing, it at least says that it’s doing the right things and looking in the right places (e.g., the list of albums on my iPhone matches the list of albums in iTunes, etc.).
    Settings/Status:
    MacBook Air
    OSX v. 10.9
    iPhoto ’11 v. 9.5 (902.7)
    iPhone iOS 7.0.4
    iTunes v. 11.1.3 (8)
    Summary Tab
    Backups (This Computer)
    Options
    Automatically sync when this iPhone is connected
    Sync only checked songs and videos
    Photos Tab
    Sync Photos from iPhoto (429 Photos)
    Selected albums, Events, and Faces, and automatically include (no Events)
    Albums – 9 are selected

    You need to download iTunes on your computer. iOS 6 requires the latest version of iTunes which is 10.7.

  • Ever since my last update I have been unable to add songs from my i tunes library onto my i phone.  The "add to" button does not appear for me when I connect my i phone.  Can anyone shed some light on this for me?

    Ever since my last update I have been unable to add songs from my i tunes library onto my i phone.  The "add to" button does not appear for me when I connect my i phone.  Can anyone shed some light on this for me?

    Thanks for that 'sberman' - because my iPhone is backed-up to my work computer (only at this stage) I have had to call our IT Department in Adleaide. (4 times this morning). The last guy managed to get the phone into 'DFU Mode' - no more recovery mode screen - (kind of 'asleep' perhaps) from my understanding of same. I am awaiting a call again from IT so they can get my computer to actually recognise my iPhone on the C Drive. This also happened to  one of my colleagues in Newman (WA). She got so frustrated with the whole process that she bought another phone the next time she was in 'civilisation.' She hasn't had any problems since. (Cross fingers).
    Thanks again, Sandra2474.

  • Operation does not fetch in process order

    hi PP-Pi gru,
    when i am creating process order from planed order , operation ( master recipe) does not fetch in process order..only take default operation 10, kindly suggest me how all operation will fetch in process order
    another mater is when assign production profile  in  t- code CORU show the error massage  " production scheduling profile for plant ALIV,order type does not exist"...but we have used stander order type PI01..kindly suggest me
    Rogers
    Aqueel

    Hi,
    Check In master Recipe ,in the PI Tab,There must be some PI category is assigned and in that PI Category,this PI Charactiristic has been assigned.
    First goto that Phase of the Master Recipe and then goto PI tab and then find the PI category.
    You need to define production scheduling profile for your plant in OPKP which is assign to order type dependent parameter  COR4 In planning screen. Please check. Also check the work scheduling view of material master.
    Regards,
    R.Brahmankar

Maybe you are looking for

  • İpod touch 3rd gen. OS.4.3.1 Shuts down and opens again while i use applications.

    It is doing that after 2 or 3 months after i bought.For example i open Fifa 11 pick team and start the match when match starts it shuts down and the apple logo appears and open again.It does in İnfinity blade,X2 Football 2010.But not in Battlefield B

  • CC Premiere Pro crashes on start up with "Not Responding"

    CC Premiere Pro crashes on start up with "Not Responding". Tried: 1. Reboot 2. Updating Graphics Drivers. 3. Removing Red Giant Plug-Ins from my current Adobe Common Folder. 4. Running in compatibility mode for Windows 7 5. Running as Admin All Faile

  • Lightroom 3.6 crashes every time I open it.

    I just updated my Lightroom to 3.6.  I am running Windows 7, 64 bit.  Everytime I open Lightroom and try to go to Develop, it crashes.  I am currently unable to use the program at all. Any suggestions?

  • External tables with user defined fuction help

    Can any one help me I have problem with using user defined function while creating the External table. The user defined function Just takes an input empno and returns one number. CREATE TABLE EMPXT_1(empno NUMBER(4) ORGANIZATION EXTERNAL TYPE ORACLE_

  • Message lost after rollback

    I have three queues setup. A Base queue, Backout queue and a Hold queue. A test application reads from Base queue and rollback() the session. After attempting to deliver the message two times, the JMS application sends the message to Backout queue af