Define a Job

Hello all,
I have to create a JOB but I never worked with JOBs before. Please, help. This is urgent.
I need to create a JOB that will contain 4 existing Jobs (4 steps). The 4 existing Jobs and the Job sequence are:
Step 1:
Job = Z_Delivery
Program/Comand = ksh    and    ZLO_SD_BI_0009
Parameters/Variant = interfaces/ opLO1/bin/oplft_delivery/ICP-SAP dlvry ED    and    USERAB
Step 2:
Job = Z_Inbound_Issue
Program/Comand = ksh    and    ZVI_0016_BAPI        
Parameters/Variant = /interfaces/ opLO1/bin/ oplft_in_issue/ICP-SAP inissue ER1    and    USERAB
Step 3:
Job = Z_Warehose_Mov
Program/Comand = ksh    and    ZLO_MM_IN_0002       
Parameters/Variant = /interfaces/opLO1/bin/oplft_moviments/ICP-SAP mov ER4    and    MOVIMENTS
Step 4:
Job = Z_Tracking
Program/Comand = ksh    and    ZLO_SD_BI_0010     
Parameters/Variant = /interfaces/opLO1/bin/oplft_tracking/ICP-SAP track ET and    TRACKING
<i>NOTE: Gather all Jobs in one Job. The cancellation of one Job will NOT cancel the other steps.</i>
Help me out!!!!!
Thks & Rgds,
Amanda

it's very simple:
Tcode SM36
define the job name and create the steps by pressing the 'step' pushbutton.
set the program name and variant, check and save.
repeat for all steps.
then press button 'start condition' to define when the job starts and if it is repeteable.
pls. reward points for this help
Roberto

Similar Messages

  • What are the selections when defining a job triggered by an event?

    I use SM36 by defining a job triggered by an event. I click "Start conditions" button, then click "After event" button and place the event name.  I wonder if I would have to continue to click the button "Immediate" button and save it?  or just save it without clicking the "Immediate" button?
    Thanks and this question is urgent!

    Hi!
    No you only save and after define the step!
    If you click Immediate, your job start immediatelly and not after event.
    Max

  • Defining Successor Job permanently in SM36/37 ????

    hi,
    i have created a job in SM37.
    I have created a second job, which should run directly AFTER the first job (when succesfull).
    i have defined to run this jobs EVERY day.
    So far, so good. at the FIRST day the succesor job was okay. job 1 was running, and directly after
    that Job 2 was running.
    On the second day ONLY Job 1 was running. The connection to the other job is not there anymore.
    any ideas ?
    reg, Martin

    Hi,
    You must use "predecessor" functionality (be careful: you must create job A as scheduled (no start condition), then create/release job B with A as predecessor, then define start condition for job A).
    check the following link -
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/096db5543b11d1898e0000e8322d00/frameset.htm
    Regards,
    NaPPy

  • Redwood CPS - how to define dependant jobs?

    Hi
    I am trying to schedule a job to run only after another job has ran successfully using Redwood CPS. I understand that the best way to do this is as follows:
    1) Define an new event - e.g. JOB_COMPLETION
    2) Define a new Job Chain, and assign a Step and a the first job to run to this. Set the 'Raise Events' tab to JOB_COMPLETION and the drop down box 'Status To Raise On' to 'Completed'
    3) Define another new Job Chain with a Step and the next job you want to run after completion of the first job. Set the 'Wait Events' tab to JOB_COMPLETION and Auto Submit to 'Always' and tick the 'clears event' tick box
    4) Right click on the first Job Chain and Submit - set a time for the job to run.
    What happens: the first job chain/step runs okay. Looking at the event JOB_COMPLETION it says both the Raise Event and Wait Event were both executed - and cleared afterwards - yet the second Job Chain was never ran? In the job status, it says 'Never'.... any idea how I get this to run on completion of the first job?
    Thanks
    Ross

    Answered in the CPS forum:
    Hi Ross,
    I think the best way to do it is to just use the jobchain object. You can do as follow:
    - Create a jobchain with 2 steps
    - First script in the first step, second script in the second step
    By default, script 2 does not run if script 1 failed.
    Regards,
    Yi Jiang

  • Defining a job

    Hi,
    I have defined a periodic job for a prgram"BBP_LOCATIONS_GET_ALL". when I checked the job status intially, it is released, then it is changing to Cancelled.
    It is not getting the status finished.
    Thanks for the help!
    Eswar

    Hello, you should maintain a backend system in order to run this report, please maintein them in spro->SRM(is it an SRM system?)->SRM Server->Technical settings.
    Regards, Luciano.

  • How define background job, after a job,  daily

    Hi Gurus!
    i need to create several Jobs, one after another. i'm working with R/3 enterprise.
    I can create a Job after another, but I can't put it daily.
    anyone knows how I can define job, after a specific job, daily???
    THANKS!!!!

    Hi Oscar,
    If you want to execute the Background jobs one by one(sequence order),
    Goto <b>SM36</b> and create a Background job, then create another job then press <b>Start condition</b>, in this one there is  a tab after JOB, here give the job name, os the will be run after this job complets
    another way is there, if you want to run the jobs in a sequence, there is a <b>TAB called STEP</b>, create a Job name then press the tab STEP, here give the first job name then press the create button then create the second job name.. like this you can give N number of background Programs one by one
    hope you got the answer
    Thanks
    Sudheer

  • How to create an EVENT when defining a JOB

    Hi,
    I would like to run an abap program in background after a process order has been saved (transactions COR1-COR2).
    In the save exit (EXIT_SAPLCOZV_001) of the process order, I create the job that will run the abap program. after the process order is saved
    I created an event with SM62 but I do not know how to set it up.
    Or may be there is another solution.
    Thanks for your help.

    You can use the function module BP_EVENT_RAISE to raise the event. This can be called inside your user exit.
    First create an event in SM62.
    Now go to SM36 and create the job and give the ABAP program name you want to execute. Under START DATE select option AFTER EVENT. Then enter your SAP event name. After entering other information save the job.
    Please see this site for more info.
    http://www.sapfans.com/sapfans/sapfaq/robert.htm
    Events are mainly used to trigger from outside SAP.
    Thanks
    Vinod
    Message was edited by: Vinod C

  • Define background job

    hi all
    I have CI and AP.
    I want to process batch job only on AP.
    as you know,  I can assign exec.target field to AP
    But!! I want to set exec.target field to AP automatically on initial screen  when I execute SM37.
    Plz ~~
    Edited by: Lee Jun Seok on Jun 13, 2008 8:02 AM

    Hi Juan,
    I agree but that is why my initial question was why is this needed in the first place? I mean why can't load balancing be used.
    Also there is one issue with this step. This step is all fine if you are creating the job through SM36. If however it is done via SE38 then you cannot schedule any job immediately. You will have to give a future time. The go to Sm36 modify the job and give execution server and then release it immediately. Well in this scenario we have couple of extra steps that end users might find inconvenient at times.
    With regards.
    Ruchit.

  • Defining Job with multiple steps

    This is a general question on SM36.
    I have 4 programs that need to run as part of a job. I do not want this as a periodic job because these 4 steps needs to be done by the user when needed.
    I defined a job and created 4 steps and saved. system showed the job is scheduled and then I released it. All the 4 steps ran successfully.
    Now if I want to run again the same job, system is prompting me to create the steps again. I do not want to do that every time i want to run the job. how can I save this 4 steps under a job and just call the job name to schedule immediately on demand/when needed?

    Swathi,
    Create the job, leave the job with a status of  'scheduled' (no start conditions).
    When the user wishes to run the job:  SM37 > select your job; then Job > repeat scheduling. The user will have to determine the trigger; presumably it will be 'Immediate'; however, any of the normal selections are possible.
    This activity will start a copy of your scheduled job.  Your job remains with a status of scheduled.
    Since it is so easy for a user to make a mistake and inadvertently release your job, you might want to create a backup copy.  SM37 > select your job; then Job > copy.  This will give you a screen where you can create a copy of your job, but with a new name, such as <yourjobname>_BAK.
    Best Regards,
    DB49

  • How to define job with different username

    Friends,
    How can I define a job with another username . Or how can I change a job running with a user name to another username. Please advise.
    Thanks.

    You can change the ID of the user than is used to run each step of the job, but not the user that created the job. In SM37 go into the job of interest (the next scheduled job) choose Job -> Change. From here choose the steps and go into each job step by choosing Change, the first field in the pop-up holds the user ID that will be used to run that step when the job is executed.
    The user ID that created the job will still show in the SE37 job overview, it it nolonger plays an active part in the job.
    ~As found in forum

  • Defining jobs in EM10g

    hey guys i need your help badly. i will defining around 10, 000 jobs in EM. Is there a faster way to define jobs a lot faster than what i am doin right now which is defining the jobs one by one. For example, could i just insert these jobs and their details in the repository?? Pls help..

    There is an emcli call that you can make to submit_job. You can write a script that calls that interface 10,000 times, given that your task is automateable.

  • Defining job BBP_LOCATIONS_GET_ALL using SA38

    I have defined a job using SA38  and th eprogram is "BBP_LOCATIONS_GET_ALL". the job status is Released and then changing to Cancelled. It is never taking the status Finished.
    Any help is appriciated.
    Thanks,
    Eswar

    Hi,
       Maintain an entry in <b>SPRO>SRM server>technical basic settings-->Define backend systems</b> for your R/3 system.
    BR,
    Disha.
    Pls reward points for useful answers.

  • How to define front-ground job

    Hi
    I know to use SM36 to define background job. but there is some formal problem if we run ABAP rerport in background. So, I want define a job in front-ground at night.
    anybody can tell me that how to define a job in front-ground at night!
    Thanks
    Henryr

    It sounds as if you need to change the print format settings so the report will fit on the page, or remove columns from the report.
    You can change the print specifications in SM37 via the "Print specifications" push-button in the job step creation dialog. In the "Background print parameters" pop-up, select your printer and then the "Properties" push-button. That leads to a pop-up where you can change the print format i.e. the number of columns printed on the page.
    best wishes
    Ed

  • Need to run the JOB without Ineractive Screen

    Dear All,
    We have written a new ABAP program for executing the Macro background Job and used JOB_OPEN,JOB_SUBMIT and JOB_CLOSE Function Modules to run the JOB from ABAP Program.  We are able to run the JOB successfully for Any other ABAP Programs through the custom program, but when I tried with the same approach to run the Macro job through my new ABAP Program the JOB is throwing an error.
    Error Message is like below
    Job started
    Step 001 started (program /SAPAPO/TS_BATCH_JOB, variant TEST, user ID GKMN3511
    Specify a start time
    Job cancelled after system exception ERROR_MESSAGE
    Point of doubts:
    -- Can we really execute the Macro job through the ABAP program with out any dialogue screen (because when I use the "/SAPAPO/MC8G - Schedule Demand Planning in the Backgroundu201D program in my custom program it pop-ups a interactive screen which I don't want in my ABAP program while scheduling the macro job)
    Regards,
    Raju

    In transaction /sapapo/mc8t --> define the activity that looks at the macro in question
    In transaction /sapapo/ mc8d --> define the job that looks at that activity and a selection iD/aggregation level
    In transaction /sapapo/ts_batch_run --> save a variant pointing to the job defined in mc8d
    you can then run the /sapapo/ts_batch_run job with that variant

  • Error while scheduling the Email Alert JOB chain

    Hi All,
    I have defined a job chain in CPS and when i am going to schedule it then it is giving me error message.We have taken the trial version.
    Please find the log attached below.
    11:18:31 PM:
    JCS-111004: Queue ETD.sapetd00_Queue has no ProcessServer with the required JobDefinitionType/Service/Resource for Job 932 (submitted from ETD.Z_MONI_BATCH_DP copy from 2009/12/30 18:22:23,113 Australia/Sydney) (submitted from Job Definition ETD.Z_MONI_BATCH_DP (Copy from 2009/12/30 18:22:23,113 Australia/Sydney)): Job Definition Type CSH/Service PlatformAgentService/"Empty"
    JCS-102064: Job 934 (submitted from System_Mail_Send copy from 2009/12/29 17:54:16,608 Australia/Sydney) is global but refers (via Job) to an object in an isolation group
    JCS-102064: Job 934 (submitted from System_Mail_Send copy from 2009/12/29 17:54:16,608 Australia/Sydney) is global but refers (via Chain Step) to an object in an isolation group
    JCS-102064: Job 934 (submitted from System_Mail_Send copy from 2009/12/29 17:54:16,608 Australia/Sydney) is global but refers (via Parent Job) to an object in an isolation group Show error details
    Thanks
    Rishi Abrol

    Hi
    Are you logged into the correct isolation group ?
    Ensure the process server is also assigned to the queue.
    Regards

Maybe you are looking for

  • How to import images with path embedded in XML tag

    I have a website that has blogs with embedded images. I need to design an XML that can be imported in Indesign. I am able to import XML and lay it out in Indesign if I have only text. But I am not able to include or show the intermittent, embedded im

  • Numbering External Mask

    Hello. We have a CUCM 9.1.2.11900-12. When we make an external call, receiver can't see our number (it appears as unknown). I've tried to add the number into "External Phone Number Mask" field (into "Line Configuration" from device), with no luck. I'

  • IPad syncing stays on step 5 of 5 "waiting for items to copy" but does not copy anything...  should I restore the iPad?

    iPad syncing stays on step 5 of 5 "waiting for items to copy" but does not copy anything...  should I restore the iPad?

  • Movie doesnt start at the right place.

    Using idvd 7.0.3 I created a DVD project. Ive made many w/o a problem. Each has two movies. Each movie on the second screen shows 2 menus "play movie" and "scene selections" (the chapters). Problem: When I click "Play movie" the movie instead of star

  • Set up Oracle11.2 on Solaris10

    I setup Oracle11.2 on Solaris10,and reference http://download.oracle.com/docs/cd/E11882_01/install.112/e10848/pre_install.htm#BABFDGHJ The need patch had patched; When setup run to 68%(Link RMAN Programe),It isn't run,wait a long time,but yet respons