Stopping proces chain throgh the ABBAP Program

Hi All
One of my process chain is running since 2 days and I want to stop that process chain.
Can we know how to stop the process throgh the ABABP Program.
Thanks
Allu

Hi Allu
You can change the status and run the process again by following the below mentioned steps. This will also help set the status.
Right click on the green block, from where the next block is not triggering. Take the variant and instance value.
Goto table RSPCPROCESSLOG and give the variant and instance value as input. Check the state field value. It should be G (i.e. successfully completed) then only next block will be triggered.
If you want to start next block manually, goto function module RSPC_PROCESS_FINISH, give i_logid, i_type, i_variant and i_instance values from RSPCPROCESSLOG table and enter i_state value as G.
After executing the function module, next block of the process chain will automatically start.
Refer to the below mentioned link for more details.
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417400)ID1835673350DB11948512480982233019End?blog=/pub/wlg/3149

Similar Messages

  • Stopping local chain from the meta chain

    Hi ,
    Can any one let me know is there any option to stop a local chain from the meta chain....
    I have a meta chain in which 13 local chains are there.
    In those 13 chains i want to stop one particular chain ,but i dont want to delete that local chain from the meta chain.
    and below this local chain another dependent chain is also there.
    which will start execute after that chain(which i want to delete)irrespective of the status whether the above chain is pass or fail.
    can any one help me in this regards
    Thanks in advance.

    No, you cannot .  The best solution I have is to change the local chain to bypass all activity in the local chain.  This way the meta chain will run but nothing will happen within the local chain and the meta chain will continue to the next local chain.
    Hope this helps.
    PS-  Another idea, change the meta chain and replace the local chain with an ABAP program which will execute the local chain (use FM RSPC_CHAIN_START).  Then you can change the ABAP program to decide whether or not to execute the local chain.
    Edited by: Geo on Apr 2, 2009 10:11 AM
    Actually, you might be able to do something creative using "Decision Between Multiple Alternatives".
    Edited by: Geo on Apr 2, 2009 10:16 AM

  • When I click on any of my movie or TV shows in Itunes I immediately get an error message that says Itunes has stopped working and closes the program. I can sync the movies and shows to my phone okay but I can't watch on Itunes. Can anyone help?

    When I click on any of my movie or TV shows in Itunes I immediately get an error message that says Itunes has stopped working and closes the program. I can sync the movies and shows to my phone okay but I can't watch on Itunes. Can anyone help?

    Let's try the following user tip with that one:
    iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows

  • I have reloaded Icloud on my Windows 7 PC and it just says it stopped working and closes the program after I enter my apple password, what can I do?

    I am unable to use Icloud on my Dell PC. I have uninstalled it twice and reloaded it. When I enter my Apple password, it tells me that it has stopped working and closes the program. What can I do to correct this.

    Hi MamaTabs,
    If you are having issues signing in to iCloud on your Windows machine, you may find some of the troubleshooting in the following article helpful:
    iCloud: Account troubleshooting
    http://support.apple.com/kb/ts3988
    Also, you may want to make sure that you are running the most recent version of iCloud Control Panel for Windows:
    Apple: iCloud Control Panel 3.1 for Windows
    http://support.apple.com/kb/dl1455
    Regards,
    - Brenden

  • I found the solution to a Mavericks bug on the Mail program. How can I share it? Several of my mail boxes stopped functioning properly when I updated to Mavericks. After long hours, I discovered that if I change the name of the mailbox, the content works.

    I found the solution to a Mavericks bug on the Mail program. How can I share it? Several of my mail boxes stopped functioning properly when I updated to Mavericks. The title of the mails stored in the mailbox appear, but the content was unavailable.
    After 4 long hours at the phone with the Apple staff unable to help me, I discovered that if I change the name of the mailbox, the contents of the mails stored there become available.
    Please, make this solution available to other people!

    You have found the the way to share it.   Include your problem and its solution in a forum post in the Mavericks forums.   Then mark you own post with a green solved star.
    Note.  You won't get any points for that; points are only awarded where you mark someone else's post as either helpful or solved.

  • I recently started to get an error message "MobileMe Services" have stopped working.  I use Vista.  If I remove the MobileMe program, will it affect syncing with my iPhone or with Google Calendar?

    I recently started to get an error message "MobileMe Services have stopped working".  I use Vista.  If I remove the MobileMe program, will it affect syncing with my iPhone or with Google Calendar?

    No, just uninstall the MobileMe control panel. All Mobileme services have been discontinued, so the control panel is not doing you any good being in there at present.

  • When I open iTunes, I get a message that "iTunes has stopped working".  I've tried reinstalling itunes, creating a new user file, changing the startup programs, and am having no success in getting iTunes to stay open. Any "fixes" for this problem?

    When I open ITunes, I get a message that "iTunes has stopped working".  I have tried reinstalling iTunes, creating a new user file, changing the startup programs in accordance with articles in iTunes troubleshooting, but am having no success in getting iTunes to stay open.  Any fixes for this problem?

     

  • Just got a new macbook air I added 2 google email accounts to the mail program.  The mail downloaded thousands of emails and now on the top right hand corner I get bombarded by notification of these emails from 3-4 years ago and it is non stop.

    When I added 2 gmail accounts to my new macbook air.  The email program download thousands of emails and now I am getting notifications non stop on the top right hand corner from years ago it is non stop notification for the emails from like 2007 really old emails.  I am not sure why it is notifying me of old emails I know it is new just downloaded in the program but it should only notify me of recent emails shouldn't it?

    If your email client (Mail) it set to never delete emails from the server,  they stay there waiting. The server doesn't track what you've already downloaded, so a new setup of Mail just grabs whatever it finds on the server. You can change this in Settings, but for now, you have all your old emails to sort.

  • ABAP program to add in the process chain before the attribute change run

    Hi
    I need a ABAP program to add in the process chain before the attribute change run(process) to avoid the locks, can any one send me the program
    Regards,
    Satish

    I am not sure of any standard program .... but you can write your own... should be a small one..
    you can check if the table RSDMDENQ has entry for your InfoObject... if yes, then its locked.. if not.. its not locked

  • How to stop a process chain after the current running process

    Hi experts,
    I try to stop a running process chain, but only at the end of the current process load.
    I try to unscheduled process chain : the job of the current process is killed and the process stop
    I try to execute the programm rspc_process_finsh : same result.
    Actually, I aim at waiting of the current process completion and stop the chain.
    Thanks and regards,
    Bobby

    Hi all,
    Thanks for answer.
    If I resume the situation :
    - Click on Unschedule process chain stop the current process. We have to change the status of the process in Yellow to Red.
    - Go to sm37 to kill the job change the statut in red.
    So there is no way to stop the running of a process chain only after the good or bad end of the last runnning process ?
    Example :
    My chain is running. The process which is running is a DTP loading process. There are 50 packages to load. I decide to click on Unschedule process chain when the package 18 is running.
    If I do that, the loading of package 19 will not start right ?
    So is there a way to wait that the 50 packages are loaded before that the system stop the chain ?
    Thanks in advance,
    Bobby.

  • Repeat the execution of one pl. sequence for different filters (proc. chain

    Hello experts
    we have a planing sequence which is designed to handle one value of the characteristic "plan" in the filter.
    In one special case we have to execute the sequence for all values of the characterisitc "plan".
    In this special case we start the sequence via process chain.
    What is the best way to start the sequence multiple times with different filter values?
    (To adjust the sequence to handle multple plans is not an option at the moment)
    The gerneral idea is to embed a ABAP program in the process chain. This program should determine for which plans the sequence has to be started. In a loop over the plans the program starts
    a) An other process chain which contains the sequence
    b) the sequence directly via program "RSPLS_PLSEQ_EXECUTE"
    each of both alternatives has several problems
    a) the program can just start the next execution of the chain if the first execution in finished. How can I handle this in the program.
    When starting the chain, it must be provided with the actual value of the plan. How to handle this? Maybe I will use one variant with a exit varialbe wich selects the value out of an ABAP dictionary table. The program has to write the value in the table before calling the porcess chain. Any better ideas?
    b) The ABAP program should not be finished before all planing sequences are finished. How can I find out if the planing sequences are finished. How many planing sequences can be started paraellel with the same user (ALREMOTE)? The problem with providing the actual filter value is the same than in A).
    Which alternetive would you choose?
    Do you see any more problems?
    Any help or opinion is appreciated?
    Thanks in advance
    Johannes

    Hi Johannes,
    how about "scheduling planning sequences in process chains"
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/946677f8fb0cf2e10000000a114a6b/frameset.htm
    Here you can specify "process in packages" and "Configured packaging" based on "plan" in your filter.
    You need to specify a variant which contains all "plan" values.
    Could you please check this?
    Regards Matthias

  • How to stop running ant and the program

    Hi all,
    I have a java system which using ant to start execute external programs (.exe), by calling project.executeTargets(targets);
    the exe will take a while to finish, sometimes user want to stop it, but still keep main system running, and fire another project.executeTargets(targets), therefore I can't use system.exit()
    Now how can I stop this ant "project", and make sure the exe program also been terminated? By calling project.fireBuildFinished()?
    Since the project.executeTargets(targets) will catch RuntimeException, maybe somewhere i can call process.destroy()?
    Thanks for help

    Double tap the home button and swipe upwards on the preview of the App (not the App Icon).

  • How do I pause a subvi from a mager program without stopping the mager program

    Hello to you all
    I am having a problem and i hope that you can help me, i am traying to make a sub vi to be paused (after it had started to run) at any time that the mager program neads to pause the sub vi. what i mean is that the mager program is running and she activates (runs) the sub vi during her run, and the mager program neads to pause that sub vi at some point ( in order to activate a diffrent sub vi) and let it continue to run only after the diffrent sub vi had finised.
    I didnt found an icon for "pause" like there is for "stop", and the idears that i have are good for pausing the sub vi only at the start of its run and thats it (and thats not what i nead).
    waiting for your replays
    SKI FARM

    Ski Farm,
    I hope you are doing well today! The suggestion provided by altenbach is really good. Alternatively, you can also use a global variable and an event or case structure, to pause the execution of a VI. I have attached an example of a subVI, called by the mainVI, which displays the current iterative count of a while loop. Please let us know if you have any other questions. Have a great day!
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies
    Attachments:
    subVI_false.JPG ‏14 KB
    mainVI.JPG ‏26 KB
    subVI_true.JPG ‏15 KB

  • Get name of Chain in the embedded ABAP program

    Dear all,
    Following situation:
    There is in a process chain a step with ABAP (which is executing a report).
    Is it possible for the ABAP program to resolve the name of the process chain, by which the program was started?
    (Without inserting in the variant a hard input parameter.)
    Best regards,
    Alex

    search in table RSPCVARIANT for your program as follows
    - field TYPE  = "ABAP"
    - field FNAM = "PROGRAM"
    - field LOW   = <program name>
    take the value of field VARIANTE and use this in table RSPCPROCESSLOG (enter a date selection for BATCHDATE as well)
    take the most recent entry (should be the one you're actually running at that moment)
    via field LOG_ID, retrieve CHAIN_ID (technical name of your process chain) in table RSPCLOGCHAIN

  • ITunes has stopped working: (Aproblem caused the program to stop...

    After I installed the the 64 bit I-Tune for widows 8, iTunes is crashing and I am getting the following message: iTunes has stopped working: (Aproblem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available). Please advise on how to solve this problem.

    Hi CCGoldwing,
    Thanks for using Apple Support Communities.  This article has steps you can take if iTunes is unexpectedly quitting:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Cheers,
    - Ari

Maybe you are looking for