How to start a new job after a finished job?

Hello,everyone,
     I hava 8 background jobs, the jobs must submit in orders. This means that if I want to submit job2 ,I have to wait job1 finished, and if I want to start job3, the job2 must finished......and so on....
     I only know that submit one job in background, can you help formulate the job start in order automated in ABAP program.Can you give me demo?
Best wishes!
Thinks a lot.

Hi Darren,
You can create and monitor background jobs by choosing the menu path System - Services - Jobs.
You can use:
JOB_OPEN: For opening a job in the background
JOB_SUBMIT: For submitting the job -> Here you can put the several jobs in the order you want them to execute.
JOB_CLOSE: For closing the job.
Scheduling background job by triggering an event. When job 1 is completed, an event is raised and the job 2 starts, and so on.
Refer to the link below to do this:
Scheduling background job by triggering an event - ABAP Development - SCN Wiki
You can also use the parameters PREDJOB_CHECKSTAT in the function JOB_CLOSE
PREDJOB_CHECKSTAT makes a job(job 2) start only if the previous one(job1) ends without error.
Regards,
Ashvin

Similar Messages

  • Cancelling WIP Job after completing the job

    Hello Everybody,
    There is an issue as to 'Cancelling WIP Job after completing the job'
    Please let me know how to resolve this or the workarounds.
    Provide me the navigation please.
    Thanks

    Hi abdul;
    Please check this and also Note:WIP Purge FAQ [ID 605621.1]
    Hope it helps
    Regard
    Helios

  • HT201304 Visa has changed for the purchase of Apple products, i did not know how I put the new MasterCard number to finish the process of buying products Thank you

    Visa has changed for the purchase of Apple products, i did not know how I put the new MasterCard number to finish the process of buying products Thank you
    i have ibad mini
    and iphone4
    laptop sony
    can you sent for me the anser

    Changing Account Information  >  http://support.apple.com/kb/HT1918

  • How to Start with new Iphone 4 Factory Unlock ???

    I am getting new factory unlock Iphone 4 day after tommorow and I currently have Jailbreak Iphone 3G...Plz tell what should i do to get started ??? I dont want to to jailbreak iphone 4 right now as the un-teathered jb is not available..So how to start ...Any advice plz...

    When you get your new phone, connect it to iTunes to activate. Do not restore from the backup of your jailbroken phone when given the option of setting up as new or restoring from backup. Select setup as a "new" phone. You must also have an activated sim in the phone.

  • How to start a new career in SAP - SD as a Fresher?

    Dear All,
    I am on the way to enter in the new world - SAP as a fresher.
    Seems to be positive and hopes on own capabilities.
    Willing to learn and go for Sales & Distribution (SD) Module as per my experience and domain knowledge.
    Please input your expert comments and opinion as per your master knowledge.
    How to start Online Training for 3 months?
    How much time to give Theoretical and Practical knowledge?
    Where & Which department need some personal attention
    How to go for Certification and prior practices?
    How to crack the Interview?
    How to find placement for SD on our own shoulder?
    Is there any opportunity for fresher at abroad? Where?
    As fresher what would be the CTC?
    Dear All,
    Waiting for your expert comments..
    Thanks & Regards,
    Tulsidas Ankam

    Hi,
    Here's an SCN tip for you: if you post multiple questions on the same topic and get detailed answers, then you should mark the questions answered and award some points (where merited).
    Otherwise - eventually - no one will respond!
    Anyway, onto your question. I personally think the best avenue of attack is to:
    - join an organization that is already running SAP, even if it is in some junior position
    - make it clear that you are very interested in SAP SD and are willing to do all the training etc yourself
    - grab every opportunity you can to learn SAP SD on-the-job
    There is little point getting certified if you have no experience. I don't think it improves your chances of getting a job (and it can be quite expensive).
    Anyway, just my opinion! Good luck.
    cheers
    Paul

  • How to start a new line in BBM Blackberry Z 10?

    I'm wondering how can i press (enter) to start a new line when a BBMing in my Blackberry Z10? the same when I want to type a new Text Message!! 
    As when I press enter it send the message, and what i want is to add a new line to start a new sentence before sending it !!!
    http://forums.crackberry.com/blackberry-z10-f254/how-start-new-line-bbm-blackberry-z-10-a-769097/

    You can't currently do this in BBM or SMS. Maybe this will be added in a future update.
    As a workaround, you could type what you need in Docs To Go, and then copy and paste it into BBM or SMS.
    Rad Systems apps on BlackBerry World
    Follow on Twitter, Facebook or BBM Channel: C0006BB16
    Tips to improve your BlackBerry 10 battery life (and avoid overheating)

  • I did one spreadsheet and figure out how to start a new one

    Start a new spreadsheet on ipad

    Are you asking how to create a new spreadsheet using Numbers?  On an iOS device, tap Spreadsheets, then tap the "+" sign.
    For Numbers on a Mac, see http://help.apple.com/numbers/mac/3.1/#/tan753033f43.
    For Numbers on an iOS device, see http://help.apple.com/numbers/ipad/1.7/#tan7271aff3.

  • How to Start a News Letter

    Hi, I'm looking to start a news letter on my site. I have the
    email addresses of the users that want to receive the news letters
    however, I need to figure out how to program a page that would send
    the same email to all the email addresses saved in my database.
    Thanks in advance for all the help.

    As always, there are several solutions to the problem. A
    simple one is:
    1. Create a table with the newsletter texts (so that the
    users can add new newsletters and send them out)
    2. Make a query with the users to receive the newsletter
    3. Make a query with the text you want to send out
    4. Use CFMAIL with a query attribute to loop through the
    query with the users
    5. Within the body of the CFMAIL tag display the content of
    the newsletter text to be added to the email
    I'm sure there other and better practices out there - but
    that's one that will work well for a smaller scale project. Don't
    forget error catching as cfmail will fail if the email address is
    in an invalid format (i.e. thisHasA [email protected]).

  • How to start a new process in BPM

    There are many ways to start a new process in BPM.However I was wondering whether there is any specific way to kick off an instance in the process with the help of PAPI from external systems.I would be thankful if someone could advise.

    Check the PAPI Javadoc & Samples in the [enterprise_install_dir]/client/papi/ directory.
    Basically, you must:
    a) create a Process Service object
    service = ProcessService.create(properties);
    b) create a PAPI session with a participant
    session = service.createSession(user, pass, "localhost");
    c) create an instance:
    instance = session.createProcessInstance("/Orders", "BeginIn", arguments);
    d) destroy the session
    session.close();
    Hope this helps!
    Fernando

  • How to insert the new row after current row in RowIterator - Steve Muench

    Hi,
    Our client wants the new row to be added after current row on the front end instead of before current row.
    we were using "new JUActionBinding(this,iterBinding,JUActionBinding.ACTION_CREATE_INSERT_ROW);" this code inserts the new row after current row.
    I tried a lot to insert the new row after current row. Used new JUActionBinding(this,iterBinding,JUActionBinding.ACTION_LAST to move the cursor to last row in rowiterator and the used .ACTION_CREATE_INSERT_ROW but this thing inserts the new row as the second last row.
    Could somebody plesae help ?
    Message was edited by:
    user556161

    I am using JDeveloper 9.0.4.2.0 (Build 1459)

  • How do you stop the "alignment" after every print job?

    We got this printer because at first received great reviews, it had a fax, copier and printer.  However, as discussed in another forum, we are wasting color ink when we print in black/white.  I just installed a magenta and already it has lost 1/4 of the ink for "aligning".   Is it set up in the programming to align after print job?  I"m so over this!  I have to hit cancel then wait 4 min for it to cancel.  I have algined and everything is ok, not sure why after each print job.  I followed "HPs guidelines" on the program but there is nothing there to address this issue.  Any help or thought would be greatly appreciated!
    Thanks!

    hi there,
    could you provide the community with a little more information to help narrow troubleshooting? Things like your printer model and your operating system help out a lot.
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How to start up macbook pro after shutting down because of overheating??

    My macbook pro always overheat because i live in a tropical country and my mac temp (from istatpro) averange is 60 in the top hole and 35-40 on the body. But this can go up even higher until 80 . I only have this mac for 2 month and my very first ,it makes me worried.
    How to start it up?? Its been 1 hour since it shutting down while im typing this.

    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Best.

  • How to set auto shut down after download finishes?

    How to set notebook to auto shut down after Firefox finishes download?

    Firefox 4 Auto Shutdown has been updated for Firefox 4 and has been featured here - [http://www.techiechips.com/auto-shutdown-after-download-firefox-4/ Auto Shutdown after Download for Firefox 4]

  • Comp. hard drive crash-How to start using new comp. w/o losing ipod data

    I had a hard drive crash on my old laptop. Unfortunately, I didn't have any backup of any of my iPod data. I had purchased 2 videos and 3 songs. Not a huge loss there, but I also had imported about 150 CDs that I don't care to burn again.
    Ideally, I'd like to get my new laptop loaded with all the data from my iPod, but I've heard I can't do that. At a minimum, I'd like to get my iPod synching with my iTunes library on the new laptop without losing all the data I've already placed on it.
    Each time I try and switch back to automatic, it tells me that it will replace all the data on my laptop.
    Any advice on how to proceed, and any way to get the data back on my laptop's iTunes library from my iPod?
    5th gen iPod using iTunes 6.0.1.3 on Windows 2000
    Thanks.

    Gordon,
    There's a solution to your problem but first it's time for a little lecture. (If it makes you feel any better, I don't like this any more than you do.)
    I hope you take this as an opportunity to learn a very important lesson: Back up your iTunes library as soon as you can after resolving this situation because right now you are only one glitch of your iPod away from losing your music entirely.
    Many people come to the Discussions having lost their music in just such situations and, believe me, it's not a happy time for anyone.
    If you place any importance on your playlists and the data they depend on, you will want to include your iTunes Library files in your back-up regimen as well.
    Anyways, that's the lecture. The answer to your problem should be found in this post:
    http://discussions.apple.com/message.jspa?messageID=797432#797432
    Good Luck! But once your music is back on your computer, remember:
    Your music is valuable - please back it up!

  • Firefox claims that it is already running and will not let me start a new session after closing out

    I've been having this problem intermittently on both my Dell XPS 8000 and my HP nx7400 laptop. The Dell is running the latest version of Windows 7 Pro and the HP is running XP Pro (fully updated). After closing out of a Firefox session and running other apps, Firefox will not let me initiate another session, saying that "Firefox is already running... Please close the session..." That's not an exact quote, but you get the idea. CTRL-ALT-DEL and all other conventional means don't work and I am forced to reboot the system. This is a royal pain.. and I need some pain relief! Any suggestions? I may revert to an earlier version of Firefox until I see a solution... can't hurt, but I really like 4.0 and I don't look at going backwards as "progress."
    Thanks.
    Tom

    Sounds like it is hanging when you exit and later try to restart Firefox.
    * How to stop the running Firefox process
    ** In Task Manager, does firefox.exe show in the '''<u>Processes</u>''' tab?
    ** See: http://kb.mozillazine.org/Kill_application
    **Windows 7 users: http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576
    * What may cause Firefox to hang at exit
    **Windows 7 Task Manager: http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576
    ** http://support.mozilla.com/en-US/kb/Firefox+hangs
    ** http://kb.mozillazine.org/Firefox_hangs
    ** https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding
    * You may need to try Firefox Safe Mode
    ** You may need to use '''Safe Mode''' to locate the problem:
    ***See: http://kb.mozillazine.org/Safe_Mode
    ***Firefox 4 users, hold the Shift key while clicking the Firefox 4 desktop icon to enter Safe Mode.
    ***Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox.
    ****In Firefox 4, Safe Mode also disables Plugins and Hardware Acceleration.
    ****If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes '''<u>before</u>''' starting Safe Mode (In Firefox 4, Tools > Add-ons > Appearance). See: http://support.mozilla.com/en-US/kb/Using%20themes%20with%20Firefox#w_managing-themes-and-personas
    ****When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode".
    ****Test to see if the problem you are experiencing is corrected.
    *** If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it
    ***#by enabling '''<u>one at a time</u>''' until the problem reappears.
    ***#You can also enable a few at a time (3-5), keeping track of what you just re-enabled to see if the problem re-occurs; this will help narrow down the possibilities if you have a large number of add-ons.
    ***#'''<u>You MUST close and restart Firefox after EACH change</u>''' via File > Restart Firefox (on Mac: Firefox > Quit).
    ***#You can use "Disable all add-ons" on the Safe Mode start window.
    **See the following for more information
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+plugins
    *** http://support.mozilla.com/en-US/kb/Basic+Troubleshooting
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

Maybe you are looking for

  • Can anyone help me - when I open itunes for some reason TV shows does not appear anymore?

    Can anyone help me - when I open itunes for some reason TV shows no longer appears?

  • Please help, should I dispute?

    Hello - Need a bit of advice regarding a discrepancy on a charged off BoA credit card tradeline which I'm confused about. Basically, they charged off my account on 2/2014 after reporting 6 months of lates. However, I called the last day of January an

  • Call Dynamic Form Wizard via a POST data

    Is it possible to call a Dynamic Form Wizard form via POST from another form? I can get my form to work for an Update and Delete transaction, but I can't get it to work with an Insert - I can't prime fields. Conversely, I can get it to work with an I

  • Query via linked server to DB2/NT gives different results

    I have a DB2 9.7 database I need to query. I'm testing from four separate SQL Servers. ServerA - SQL 2012 SP2 ServerB - SQL 2012 SP1 ServerC - SQL 2012 SP1 CU1 ServerD - SQL 2012 SP1 I set up a linked server from ServerA. I run QueryA, and am happy w

  • Client Settings non modifiable for  ob52, ob58 etc

    Certain objects in the IMG need to be modifiable in all our clients, specifically transaction OB58 (maintain financial statement version). Currently, any updates to the standard financial statement (for example, when a new G/L account is created and