Is it possible to halt a process in the middle?

I run an exe file using Runtime() method. Now, i can't do anything unless the process is finished, and i get its exit value 0. I want to call another function while the process is still runing. Tell me if it is possible?

Process process=Runtime.getRuntime().exec(...)
allows you to execute a process asynchonously.
you can use process.waitFor() to wait for the process to end.
In the meantime, you can call other methods

Similar Messages

  • Down Payment Processing on the Basis: Document Condition

    Hi all,
    since Enhancement Pack 2 there is a new possibility of down payment process. The new process is not depending on billing plan instead depending on Document conditions.
    With this you can also have the the final invoice delivery related. In the order you have just a new header condition AZWA (debit down payments).
    Is there also a possibility to create for this new downpayment process a down payment request with financal bookings (similar to billing type FAZ) ?? The documentation doesn't give any information about this in the new downpayment process.?
    Any experience would be nice??
    Regards,
    Norbert
    Documentation for new downpayment process depending on document condition
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/ce/b7790d32554ae2abb5d2c4aa4e45d1/frameset.htm

    Dear All,
    Can anybody write me detailed customizing values for AZWA and AZWB condition types?
    Online help is incomplete (e.g. condition class is missing, etc.) and system didn't add automatically these new condition types after business function activation.
    Thanks.
    Ferenc

  • Ale processes on the same system

    Hi all
    It is possible create a ALE process on the same SAP system? The ALE processes setting (BD64) doesn't permit to use the same logical name for the sender and the receiver system.
    thanks
    Davide

    Hi,
    Please follow the link below:
    [Tutorial 1|http://www.beinsoft.com/articles/sap-tutorial-ale-distribution-model.php]
    [Tutorial 2|http://publib.boulder.ibm.com/infocenter/wtxdoc/v8r2m0/index.jsp?topic=/com.ibm.websphere.dtx.packsapxi.doc/tasks/t_pack_sapxi_Create_a_Destination_Model_BD64.htm]
    [Tutorial 3|http://searchsap.techtarget.com/generic/0,295582,sid21_gci1130337,00.html#]
    Make sure that you have logical system defined for both the clients.
    KR Jaideep,

  • Schedule Dimension processing in the background

    in BPC 7.5 MS version , it is possible to schedule , dimension processing in the background

    Yes you have DM package for all administrative tasks more and less which can be schedule into background.
    Any DM package as you know can be schedule.
    Just check the DM packages from folder: Apshell\PLANNING\DataManager\PackageFiles\Examples.
    Especially AdminTask_Process.dtsx is the one which I think is what you need.
    Regards
    Sorin Radulescu

  • Function module used to restart the process chain in the middle?

    Hi all,
    can anyone pls let me know the function module to restart the process chain in the middle of the process chain?
    I need to run the process chain from the middle which can be done through a function module can anyone pls let me know!!
    Thanks
    pooja

    what exactly your requirement is?
    You can't trigger the process in the middle either it should be trigger by start variant or it's predessor.
    If your chain failed in the middle - you can fix the prob and can do 'Repeat' option or you can also use FM 'RSPC_PROCESS_FINISH . (this FM will work only if the chain fails)

  • The following error text was processed in the system IDS : Access via 'NULL' object reference not possible.

    Hi all ,
    Im getting the below error , actually recently i created my own custom table zstudent, later i wrote select query to fetch data from the same and dump at internal table and then bind this to the table node.
    But im getting below error, even i removed the select query still same error is occuring.
    Error when processing your request
      What has happened?
    The URL http://********00.*****b.com:8000/sap/bc/webdynpro/sap/zdemo_student/ was not called due to an error.
    Note
    The following error text was processed in the system IDS : Access via 'NULL' object reference not possible.
    The error occurred on the application server axsids00_IDS_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: WDDOINIT of program /1BCWDY/YUSM2Q74A826Y0JY1I4V==CP
    Method: IF_WDR_COMPONENT_DELEGATE~WD_DO_INIT of program /1BCWDY/YUSM2Q74A826Y0JY1I4V==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_COMPONENT===CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_COMPONENT==============CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: INIT of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP

    Thanks Rama,
    Acutally i accidentally commented the lo_nd_student = wd_context ....etc
    this line was commented .
    i have one small requirement to fetch data from local customised table and fill the same to internal table and bind that to table node.
    my table node is student having attributes as name , city and number , all are of type strings.
    now i created one custom table zstudent having ID - char of length 10,
    name of type string
    city of type string
    num of type string
    i have inserted records
    but when i use select query to fill data from this zstudent to my internal table of type lt_student type wd_this->elements_student ,
    im getting same above error.

  • Is it possible to create and process PO with the line without value?

    Hi,
    I am wondering whether is it possible to create and process the PO with the lines without the value?
    I was thinking that this process would allow me to better track and understand the pallets which arrive to the site so I have set up the pallet as a material but systems doesn't allow me to order the line (pallet) without value?
    Or maybe there is other way which will allow me to track the pallets within the system?
    Many thanks,
    Sylwia

    Dave,
    Thanks for the reply. Of all the suggestions I've received this seemed to
    be most promising. I gave it a try and the problem is that when I attempt
    to save as optimized a message box pops up and says I have to save my
    document first. Low and behold when I save it, compression occurs. Even
    when I select the options you suggest I'm left with a compressed document.
    I'm using Acrobat Pro X
    Jeff
    From:   Dave Merchant <[email protected]>
    To:     Jeff Ross <[email protected]>
    Date:   01/06/2011 09:35 AM
    Subject:        Is it possible to create and save a .PDF
    without any compression to the resulting .PDF?
    You don't want the UncompressPDF plugin - that's designed to split out the
    COS objects but doesn't remove the Flate encoding (plus if you've never
    compiled a plugin before, it's not really the time to learn).
    Instead, simply save your PDF file using the PDF (Optimized) file type,
    click the Settings button and under "Clean Up" - "Object compression
    options", choose "Remove compression". Turn everything else off if you
    want to retain the PDF content exactly as it was before.
    Your document-level scripts will then be in the file as plain text.

  • Is it possible to deploy a process in "OFF" state?

    Is it possible to deploy a process in "OFF" state?

    Hi Chris,
    Looking through the BPEL client API, I think it might be possible to change the process state via java code. I say might, because the documentation is not that splendid. The IBPELProcessHandle interface has a method updateMetaData which allows you to change the state, among other things. I have not tried this yet so the solution a little theoretical.Sorry for that :-\
    Then, when you have your java class working, you can create an Ant task for it and invoke your Ant task in the build.xml, right after the deployment target.
    Kind regards,
    Harm

  • How can I define the possible entries for "invoicing process" at fkkinv_ma?

    At the transaction code fkkinv_ma, I fill in the fields "Date ID" and "Identification" but I have a problem with the field of "Invoicing Process". When I psh theF4 button, there comes no search help. What should I do? Should I define the possible entries first? If I should, how can I define the possible entries for "invoicing process"? How is the customization done?
    Thanks in advance for the answers.

    You have to define them in the IMG 
    Financial Accounting (new)
    Contract Account Recievable and Payable
    Business Transactions
    Invoicing
    Invoice Types
    You have to set up a number range, decide what type of Financial transactions should not be invoiced -- like  Dunning Charges
    then you have to have a developer create the form and form class of invoice.

  • External insturment: possible to hear just processed sound?

    Is it possible for logic to only play the processed sound of a midi device running through the external audio instrument? For example, I'm trying to use a guitar sound from my VL70-m sound module and run it through guitar amp for processing, and would like to only hear the processed amp sound, not a mixture of processed and original.
    It seems that when using the external audio instrument, the sound of the external midi instrument is routed to the outputs twice, once in the midi section, and once again as an external audio instrument (this can be "seen" by lowering the track volume of the external instrument. The original midi signal is still heard). Is there anyway to have the entire midi signal run through the external plugin only, allowing me to only hear the processed results?
    Thanks in advance for your help. I truly appreciate it!\
    edit: incase it helps, here is my signal flow. I am not using an audio interface, instead am using core audio and directly plugin in my midi sound module into the audio input on my G5. I am then running the output to my speakers. Thus my inclination that this "double" problem originates in Logic.
    Message was edited by: Jonathan Timpe

    Turns out I had a misunderstanding on how the processed sound would sound. All is well in Logic Town.

  • Is it possible to show a processing dialog?

    hi, everyone.
    Is it possible to show a processing dialog when my scripts is executing?
    Because my script will spend some times, this will help the designer to understand that the scripts is working now.
    Thanks very much.

    You may want to use a progressbar - there is an example in the ESTK Samples/javascript folder (see SnpCreateProgressBar.jsx)
    Davide

  • ERM5.3 - Is it possible to make Sub Process & Project/Release non-mandatory

    Hi All.
    I would like to know whether it is possible to make Sub Process & Project/Release in Create Role Definition section non-mandatory fields?
    If so where would I be able to change the config?
    Thank you.
    Mike Hannie

    Dear Mike Hannie,
    It is not possible. Project/Release ID and Subprocess are required fields.
    The Project or Release ID field allows you to track and filter roles by project or release based on your organizationu2018s requirements.
    When you create a role in Enterprise Role Management, the business process you assign to the role is one of the roleu2018s defining attributes and determines which subprocesses you can assign to that role. During the role creation process, the subprocesses available for you to select as role attributes are determined by the business process to which the subprocess is mapped.
    Condition group:
    A condition group is defined from a set of role attributes (such as a business process, subprocess, functional area, role type, or role name) and is based on role values and conditions. After you create a condition group, the system applies it to a role creation process to override the default role creation process when the criteria from the condition group are met. You can apply multiple condition groups in one role creation process, but you cannot associate multiple processes to one condition group.
    Regards,
    Naveen

  • P67A-GD65: Possible to halt post screen?

    On previous motherboards I have used, it has been possible to halt the post screen one way or another using a bios setting "halt on..." (or something similar)
    Which if the parameter was met, it would halt the post screen and require a key press (usually F1) to continue on to Windows.
    Does this option exist somewhere with this board?

    Quote from: Jack on 16-March-11, 05:16:58
    Try the PAUSE key.
    Thanks Jack, I'll try that.  Although I am looking for a static config that will always halt without my input because I am not always within keyboard reach.  Do you know if this option exists in bios, or elsewhere?

  • Is it possible to realize two different processes in the same time with TDMS?

    Hello all,
    we have one TDMS but a lot of workstreams. Is it possible that 2 different workstreams in the same time realize anonymization in TDMS?
    Thanks in advance!!!
    Ilkin Mammadov

    Hello Anita,
    I am sorry.I mean we have a lot of projects (for example Procurement, Finance, Logistics, etc) and each of them wants to anonymize. But it is existing just one TDMS. Can these projects start with anonymization in the same time or they have to wait till one of projects finished anonymization?
    Thanks in advance!
    Best regards,
    Ilkin

  • A critical error has occured. Processing of the service had to be terminate

    When manager wants to approve the employee leave request its giving following error.
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
      Access via NULL object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE   
      Access via NULL object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE:com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Access via NULL object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.xss.hr.lea.form.FcForm.getCustomizing(FcForm.java:1020)
         at com.sap.xss.hr.lea.form.FcForm.onInit(FcForm.java:417)
         at com.sap.xss.hr.lea.form.wdp.InternalFcForm.onInit(InternalFcForm.java:2053)
         at com.sap.xss.hr.lea.form.FcFormInterface.onInit(FcFormInterface.java:184)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface.onInit(InternalFcFormInterface.java:1911)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface$External.onInit(InternalFcFormInterface.java:2007)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)
         at com.sap.xss.hr.lea.worklist.VcWorkList.onInit(VcWorkList.java:267)
         at com.sap.xss.hr.lea.worklist.wdp.InternalVcWorkList.onInit(InternalVcWorkList.java:363)
         at com.sap.xss.hr.lea.worklist.VcWorkListInterface.onInit(VcWorkListInterface.java:164)
         at com.sap.xss.hr.lea.worklist.wdp.InternalVcWorkListInterface.onInit(InternalVcWorkListInterface.java:144)
         at com.sap.xss.hr.lea.worklist.wdp.InternalVcWorkListInterface$External.onInit(InternalVcWorkListInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Access via 'NULL' object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.xss.hr.lea.model.LeaveRequestAdaptiveModel.pt_Arq_Customizing_Get(LeaveRequestAdaptiveModel.java:392)
         at com.sap.xss.hr.lea.model.Pt_Arq_Customizing_Get_Input.doExecute(Pt_Arq_Customizing_Get_Input.java:137)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
         ... 47 more
       kindly help ASAP,

    Hi,
    Did you give enough authorizations to the user at the beack end.
    Just Try giving SAP_ALL authorizations and check.
    Regards,
    Santhosh

Maybe you are looking for

  • ORA-00600: internal error while running procedure in oracle 7.3.4

    I am using Oracle 7.3.4 running on HP-Unix. While running a procedure, I am getting the following error. ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [], [], [], [], [] ORA-06544: PL/SQL: internal er

  • Gmail Not Showing up in Messaging or Universal Mailbox

    All my other apps and e-mails (Corporate Sync, Cox, Facebook, Twitter, Text Messages) all appear in my Messaging shortcut, but my Gmail account does not.  I've looked at seeing if I can add it, but there's no option (that I can see).  I have syncing

  • Edit in CS3

    I'm now testing CS3, and I found a strange problem, when i'm editing directly from Lightroom , and after edition in CS3 a going to save as a TIFF I'm loosing colors. If I exporting from LR as a TIFF and than editing in CS3 no problem. With CS2 there

  • Same Artist Name Displayed Twice In iPod Menu.

    Lately if I put 1 or 2 songs in my itunes by the same artist but it's not bought off itunes the artist name will show up twice on my ipod. I have the latest itunes and everything is spelled correctly. PLEASE HELP!

  • Problem with photomerge exposure

    I am trying out the trial version of PSE 8.  When I try to use photoexposure merge, the program will merge the two photos perfectly, but when I click the Done button, I get a Runtime error box saying the program has to close.  This has happened twice