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

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

  • 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

  • Delete Background JOB permanently.

    Dear All,
    How can i delete schedule background Job which is defined in SAP Systems,
    when i check through sm37 i found that there is one job schedule on hourly period & showing status Cancel,.,
    JOB Name is SAPOSCOL
    also please find details of this Job,
    Massage Text
    JOB Started,
    Login of User basis in Client 800 failed when starting a step.
    How can i delete this job permanently.
    Regards,
    Jiitendra.

    Hi,
    The job is getting cancelled because the login BASIS with which the job is scheduled is failing to start it and this might because the ID is locked or password expired. Kindly check that to resolve the issue. But, if you want to delete the job then do it as said above by selecting the job with scheduled or released status.
    Regards,
    Sharath

  • Error when defining successor of node in workflows

    Hi Experts,
    I am receiving an error which says "error when defining successor of node XYZ". However in my workflow template, this particular XYZ node does not exists.
    Also I found one entry in SWP_SUSPEN table for the main workflow. I tried to execute the report manually RSWWERRE. Still it did not work out.
    I also tried to use transaction SWF_ADM_SUSPEND. However my workitem is not showing in the list.
    Kindly help me in this issue.
    Thanks
    Gopal

    Hi,
    This problem occurs because the nodes system table with respect to workflow is not updated properly. I hope you might have deleted or changed the workflow design after this you need to update the index of the workflow template too.
    Follow the below steps
    1. Execute PFTC choose task type as Workflow template and open in change mode.
    2. On menu goto Addtional Data ---> Agent Assignment ---> Maintain
    3. Choose the workflow template ID and click on the icon on the application tool bar with Red and white colur (Football ) i am not sure I think you can try with CTRL + F11 but you hvae to update the index.
    After doing this Execute SWUD txn Check for the consistencies of the workflow template. if you do not find any error refresh the buffer and org environment.
    Even after doing all this stuff you still face the issue then generate a version  just simply insert a dummy step in the workflow activate and then delete the dummy step activate and refresh the buffer and org environment and try to execute.
    This error ususally occurs (upto my knowledge) if the nodes table of the workflow is not updated properly, So the above mentioned  ways are to deal with it.
    Regards
    Pavan

  • How to terminate BCK ground jobs permanently

    Hi all,
    I have 2 jobs which are triggering every 3 mins as a background job and i have no clue about what these jobs are, it so happens that sometimes they take very long time to complete, and because of which the server acts slow during the DAILY TRACTION TIME line (main business hours).
    The follwoing are the background jobs....
    <i><b>POS_CHG_PTR_OB_20 and POS_CHG_PTR_OB_10</b></i>
    FYI our landscpe is 2 system (DEV(sid: RT1) and PRD(sid:RT2)) and we also have <i><b>XI DEV and XI PRD servers</b></i> as this is a retail project.
    I assume that these 2 bckgrd jobs send in data to the XI system from our R/3 PRD server, but no sure.
    Now my point is can i DELETE THESE jobs permanently or not, if YES then how to cancel them.
    <b>ECC 6.0, Oracle 10G and AIX (DEV and PRD servers)
    ECC 6.0, Oracle 10G and Win 2003 (XI DEV and XI PRD)</b>
    I highly appreciate if anyone can feed in some help and info on this..
    I request you all to treat this urgent..
    Reward points for sure ..
    Thanks a million in advance
    Regards
    Hunky

    Hi
    go to SM37 --> enter the job name POS_CHG_PTR_OB_* --> check Released check box --> Execute
    You will be seeing jobs in release status . Select the job and from Menu -->      Job -->  " Released --> Scheduled " , do the same for second job . Now the job status is changed to scheduled so it wont start every 3 mins. After detail analysis if you see this job isn’t required you can delete it. Get the required approval if necessary
    thanks
    Prince Jose

  • Error when defining successor for node 0000000198

    Hello ,
    We are using leave request service on ESS portal.
    From last few days we are getting error like " Error when defining successor for node 0000000198   "
    All agents are assigned properly and also v have checked PFTC setting for Workflow.
    the method which are using is Synchrounous.
    this error is nt coming perticulary for one employee but it is coming for sick leave workflow.
    Please help
    thanks

    Hi,
    This is a binding issue between the workflow container and the task 
    container because we can see the text in the workflow container but 
    it is empty in the task container.
    Our proposed solution is to go into the Dev or QAS environment and 
    regenerate the binding between the workflow and this particular task. 
    We will test and if this works, this will resolve issue.

  • Error when defining successor for node

    Experts,
    We are having a problem with one of our workflows that keeps erroring whenever we try to complete it.  The error message states "Error when defining successor for node 0000000159".  This error does not occur in 4.6c environment and the workflow is working fine.  However, our team is in the process of upgrading to ECC 6.0 and the workflow is not working properly in that environment.  The workflow is designed for BO BUS2038 and the error occurs when we try to close all tasks and complete the workflow.  Can someone direct us to something that we can check, we've pretty much exhausted all our options?  Thanks.

    Hi Teferi,
    This problem occurs in ECC 6 when a step with Synchronous Task/Method does not have the Step executed outcome activated (this is allowed in 4.6C for synch task with terminating events). Check if your Task/method is synchronous.
    Cheers,
    Ramki Maley.

  • E-Mailing Background Job Log from SM36

    Friends,
    Is there a way that you can set up automatic emailing of the log from a periodic background job set in SM36? I want this log to be sent to few external E-mail IDs.
    Let me know.
    Thanks
    Jagadish

    Dear Jagadish,
    In my previous project we have achieved the same requirement,like sending the mail to particular User Id's
    for a background run job.
    Check with these steps,
    Go to T code S023 > create>enter some name and Title->Folder ->private or shared one>Save->
    back button->select name & change then recipient name mail address-->recipient type --->internet
    address and then save.
    In SM36 before scheduling the job click on spool list recipient and assign the one which you have
    created,then you schedule the job ,give some job name and then save.
    Before doing the above steps ask your BASIS consultant whether sending mails is active,the same can be
    checked in T code SCOT.
    Check and revert back whether you are successfful or not.
    Regards
    Mangalraj.S

  • How to edit job scheduled in SM36

    Dear All,
    I have defined some background job (run weekly) by SM36, everything run fine except later I found that I forgot to change the output device to follow user's output device.
    I can't find edit button in SM36 when I go back to my scheduled job, is that possible to edit the background job ? How to do that ?
    Thank You.

    Once your Job is finished than it wound not be possible.
    But yes once your job is scheduled and for change your print parameters than follow this steps:
    SM37>Job name>execute>select the job>From menu path JOB>change(Ctrl+F11)>Steps>From menu STEP>Change>pop up will prompt press Print specifications(F5)>Change printer from here.
    PS:Again this would only possible once your job is only scheduled but not finished.

  • 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

  • Issues while sending automatic email from job scheduled via sm36

    Dear basis guys,
    We are on Netweaver 2004s, ERP 6 .
    I am scheduling (in SM36) a standard report output as background job, send its output to a pdf device and send this pdf automatically to email address. Everything is working fine except that I am not able to do the following:
    1. Cannot change the email title (APR****-spool request no.) and body from "The Mail Attachment Contains the Print File Created by User..."
    2. I need to send the email to several people.  Cannot use the distribution list with the pdf device. IF I use in sm36 "spool list recipients"  instead,  the attachment sent as pdf will result truncated. Not all report lines will show.
    Could someone help on any of the above?
    Thank you in advance for any input.

    Dear basis guys,
    We are on Netweaver 2004s, ERP 6 .
    I am scheduling (in SM36) a standard report output as background job, send its output to a pdf device and send this pdf automatically to email address. Everything is working fine except that I am not able to do the following:
    1. Cannot change the email title (APR****-spool request no.) and body from "The Mail Attachment Contains the Print File Created by User..."
    2. I need to send the email to several people.  Cannot use the distribution list with the pdf device. IF I use in sm36 "spool list recipients"  instead,  the attachment sent as pdf will result truncated. Not all report lines will show.
    Could someone help on any of the above?
    Thank you in advance for any input.

  • Urgent..How to delete background job permanently....!

    Guru's!
    How do i track that background job... that is running for every 5 mins,
    In sm37 i know the job name , it is executing for every 5 mins, and that is interrupting , and causing  me huge prblm.
    my basis person suspended the job , but that is started executing again from yesday.
    I found that job name in sm37 like below
    BI_WRITE_PROT_TO_APPLLOG,
    more than that m not getting  any additional info abt it..
    I can say this is the job that is interrupting R3 transaction
    Guys pls advise me How do i get related info abt taht job...
    n pls provide me sol'n to delete it permanently..........
    Thanks
    Srujan

    HI,
    Report - RSBATCH_WRITE_PROT_TO_APPLLOG is shceduled in BW every particular minutes to write an application log ,this report is having job name BI_WRITE_PROT_TO_APPLLOG .
    This report must neither be descheduled nor deleted, as long as BW is working live, because otherwise any error messages that appear are not written to the application log.
    This log files can grow large (intensive read on table
    TBTCO and TBTCB ),especially logs from Job BI_WRITE_PROT_TO_APPLLOG and might impact some of the performances like system slow down.
    Check unused Job logs with Report RSBTCDEL2 and clean out if
    and see this posts,
    Re: Issue regarding BI_WRITE_PROT_TO_APPLLOG
    notes:769414
    if it is useful assign points
    Regards,
    Senthil

  • Job Scheduling -- About SM36

    Hi,
           can any tell me ..how to run the bdc thru job scheduling ( SM36 ). In my BDC I have Used GUI_UPLOAD function.So I want to Upload the data thru scheduling.
    Thx & Regards,
    Sunder.

    report zmiro
           no standard page heading line-size 255.
    include bdcrecx1.
    selection-screen begin of block blk3 with frame title text-019.
    parameters : pa_fname type localfile.
    selection-screen end of block blk3.
    data : lv_fname type string.
    data: begin of record occurs 2,
            bldat_003(010),
            xblnr_004(016),
            ebeln_008(010),
            zfbdt_021(010),
            xmwst_030(001),
            mwskz_031(002),
            wrbtr_050(016),
          end of record.
    at selection-screen on value-request for pa_fname.
      call function 'F4_FILENAME'
        exporting
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = 'PA_FNAME'
        importing
          file_name     = pa_fname.
    start-of-selection.
    lv_fname = pa_fname.
    perform open_group.
    call function 'GUI_UPLOAD'
      exporting
        filename                      = lv_fname
        filetype                      = 'ASC'
        has_field_separator           = 'X'
      tables
        data_tab                      = record
    loop at record.
    if sy-subrc <> 0. exit. endif.
    perform bdc_dynpro      using 'SAPLMR1M' '6000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'INVFO-BLDAT'
                                  record-bldat_003.
    perform bdc_field       using 'INVFO-XBLNR'
                                  record-xblnr_004.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM08M-EBELN'.
    perform bdc_field       using 'RM08M-EBELN'
                                  record-ebeln_008.
    perform bdc_dynpro      using 'SAPLMR1M' '6000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=HEADER_PAY'.
    perform bdc_dynpro      using 'SAPLMR1M' '6000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=HEADER_TOTAL'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'INVFO-ZFBDT'.
    perform bdc_field       using 'INVFO-ZFBDT'
                                  record-zfbdt_021.
    perform bdc_dynpro      using 'SAPLMR1M' '6000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=DUMMY'.
    perform bdc_field       using 'INVFO-XMWST'
                                  record-xmwst_030.
    perform bdc_field       using 'INVFO-MWSKZ'
                                  record-mwskz_031.
    perform bdc_dynpro      using 'SAPLMR1M' '6000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=DUMMY'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'INVFO-MWSKZ'.
    perform bdc_dynpro      using 'SAPLMR1M' '6000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'INVFO-WRBTR'.
    perform bdc_field       using 'INVFO-WRBTR'
                                  record-wrbtr_050.
    perform bdc_dynpro      using 'SAPLMR1M' '6000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=PB'.
    perform bdc_dynpro      using 'SAPLMR1M' '6250'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM08R-SUMME_SOLL'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BU'.
    perform bdc_transaction using 'MIRO'.
    endloop.
    perform close_group.
    Hi the above is my program ..thru this program i want to upload thru scheduling how can i do ..kindly modify and give me the procedure for sm36...i dont any thing..about this..
    thx& Regards,
    sunder

  • 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

Maybe you are looking for

  • HELP-Incoming messages not seen in Inbox

    It seems after installing 10.6.3 a snet.net (now AT&T) mail account (POP3) stopped displaying new messages. No messages are displayed after April 2 at 10:26am. If I select "Get Mail" it tells me those messages are coming in through incoming mail but

  • Restrict changes to BOM in PO

    Hi everyone, I have an item in a Purchase Order with item category L. Now when i go into the component button I want to put a restriction on it so that no one should be able to change any data in the BOM.I am working on version 4.6C. Pls suggest a so

  • X-Fi Xtreme Gamer Mic Driver Is

    Ok, I've just recently downloaded the newest driver for my sound card. I instantly had a problem with it. It gave me a rolling blue screen of death upon reboot and kept rolling into reboots. I fixed this by going into safe mode and uninstalling and t

  • Archive sent mail - Where did it go?

    Using IMAP. My mail server has a low mail quota, so I need to Archive frequently, but I use multiple devices so leave what I can on the server. My archive settings are :- Copies and folders: message archives: Keep message archives in: other: inbox 'm

  • Custom Table View

    Hi, I want to provide more than three component in the table view. Two images/Icons (Left Side), Text with Subtitle, Text (Date and Time at right-hand side)and Detail Disclosure button. How can i create this with the custom table view?