<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Job Steps in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752902#M326414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mounika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes this possible. If u are scheduling the job through SM36 u can set this up in START condition as After JOB. Enter ur previous job number and this new job will execute only when the previous job finishes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u r using ABAP program for this u can have alook at the following code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Program: Wait for Predecessor Job with JOB_CLOSE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start at successful completion of predecessor job. In this&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;example, the user selects the predecessor job from a list of&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;jobs. The jobs are selected with BP_JOB_SELECT and displayed&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for selection to the user with BP_JOBLIST_PROCESSOR. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Important: If you specify a predecessor job directly in your &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;program (not interactively chosen), then be sure that the &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;predecessor job has the status Scheduled or Released when &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;you schedule the successor job. Otherwise, the successor &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;scheduling will fail. That is, a job that is active or &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;already completed cannot be specified as a predecessor job. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Data declarations: BP_JOB_SELECT and BP_JOBLIST_PROCESSOR &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA JSELECT LIKE BTCSELECT.&lt;/P&gt;&lt;P&gt;DATA SEL_JOBLIST LIKE TBTCJOB OCCURS 100 WITH HEADER LINE. &lt;/P&gt;&lt;P&gt;DATA SELECTED_JOB LIKE TBTCJOB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Generate list of jobs as with the background processing&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;management transaction (SM37).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sample selection criteria &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;JSELECT-JOBNAME = 'NAME OF JOB'. &lt;/P&gt;&lt;P&gt;JSELECT-JOBCOUNT = '&amp;lt;Job count&amp;gt;'. &lt;/P&gt;&lt;P&gt;JSELECT-USERNAME = SY-UNAME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BP_JOB_SELECT' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;JOBSELECT_DIALOG = BTC_YES " Display list to user&lt;/P&gt;&lt;P&gt;JOBSEL_PARAM_IN = JSELECT " default job selection &lt;/P&gt;&lt;P&gt;" criteria&lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;JOBSEL_PARAM_OUT = JSELECT " User&amp;#146;s job selection&lt;/P&gt;&lt;P&gt;" criteria &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;JOBSELECT_JOBLIST = SEL_JOBLIST &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;INVALID_DIALOG_TYPE = 1 &lt;/P&gt;&lt;P&gt;JOBNAME_MISSING = 2 &lt;/P&gt;&lt;P&gt;NO_JOBS_FOUND = 3 &lt;/P&gt;&lt;P&gt;SELECTION_CANCELED = 4 &lt;/P&gt;&lt;P&gt;USERNAME_MISSING = 5 &lt;/P&gt;&lt;P&gt;OTHERS = 99. &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Ask the user to pick a job from the list. The selected job is &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the predecessor job.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'BP_JOBLIST_PROCESSOR' &lt;/P&gt;&lt;P&gt;exporting &lt;/P&gt;&lt;P&gt;joblist_opcode = btc_joblist_select &lt;/P&gt;&lt;P&gt;" Starts processor in mode which &lt;/P&gt;&lt;P&gt;" allows user to pick a job from &lt;/P&gt;&lt;P&gt;" list. Selected job is returned &lt;/P&gt;&lt;P&gt;" in the joblist_sel_job parameter. &lt;/P&gt;&lt;P&gt;joblist_refr_param = jselect &lt;/P&gt;&lt;P&gt;" User's job selection parameters &lt;/P&gt;&lt;P&gt;" for Refresh function &lt;/P&gt;&lt;P&gt;importing &lt;/P&gt;&lt;P&gt;joblist_sel_job = selected_job &lt;/P&gt;&lt;P&gt;" Returns the job selected from the &lt;/P&gt;&lt;P&gt;" job list by the user. &lt;/P&gt;&lt;P&gt;tables &lt;/P&gt;&lt;P&gt;joblist = sel_joblist &lt;/P&gt;&lt;P&gt;" Input from BP_JOBLIST_SELECT &lt;/P&gt;&lt;P&gt;exceptions &lt;/P&gt;&lt;P&gt;invalid_opcode = 1 &lt;/P&gt;&lt;P&gt;joblist_is_empty = 2 &lt;/P&gt;&lt;P&gt;joblist_processor_canceled = 3 &lt;/P&gt;&lt;P&gt;others = 4. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Schedule job using the predecessor picked by the user.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'JOB_CLOSE' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;JOBCOUNT = SELECTED_JOB-JOBCOUNT &lt;/P&gt;&lt;P&gt;" Job ID from BP_JOBLIST_PROCESSOR &lt;/P&gt;&lt;P&gt;JOBNAME = SELECTED_JOB-JOBNAME &lt;/P&gt;&lt;P&gt;" Job ID from BP_JOBLIST_PROCESSOR &lt;/P&gt;&lt;P&gt;PREDJOB_CHECKSTAT = 'X' " Start job only if &lt;/P&gt;&lt;P&gt;" predecessor job was &lt;/P&gt;&lt;P&gt;" successfully completed. &lt;/P&gt;&lt;P&gt;PRED_JOBCOUNT = SEL_JOBLIST-JOBCOUNT &lt;/P&gt;&lt;P&gt;" ID of predecessor job, &lt;/P&gt;&lt;P&gt;" from BP_JOB_SELECT. &lt;/P&gt;&lt;P&gt;PRED_JOBNAME = SEL_JOBLIST-JOBNAME &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;JOB_WAS_RELEASED = JOB_RELEASED&lt;/P&gt;&lt;P&gt;" Check: was job released? &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;CANT_START_IMMEDIATE = 1 &lt;/P&gt;&lt;P&gt;INVALID_STARTDATE = 2 &lt;/P&gt;&lt;P&gt;JOBNAME_MISSING = 3 &lt;/P&gt;&lt;P&gt;JOB_CLOSE_FAILED = 4 &lt;/P&gt;&lt;P&gt;JOB_NOSTEPS = 5&lt;/P&gt;&lt;P&gt;JOB_NOTEX = 6 &lt;/P&gt;&lt;P&gt;LOCK_FAILED = 7 &lt;/P&gt;&lt;P&gt;OTHERS = 99.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2006 11:08:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-21T11:08:39Z</dc:date>
    <item>
      <title>Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752898#M326410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every body,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two steps in my background job. Now I want that if the first step executes successfully then only my second step should start, other wise not.&lt;/P&gt;&lt;P&gt;Can that be possible? if so please let me know how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mounika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752898#M326410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752899#M326411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go to sm37 and there u will find a option - Extended job selection,click on tht..&lt;/P&gt;&lt;P&gt;there u have options like Start Condition,steps n all..&lt;/P&gt;&lt;P&gt;i think there u can set the condition to check the if first step finished successfully or not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752899#M326411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752900#M326412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mounika,&lt;/P&gt;&lt;P&gt; When you Define the background job in SM36, there is a button called "Start Condition". If you click that, then you get a pop up. You can click on the AFTER JOB button.&lt;/P&gt;&lt;P&gt;Give the name of the predecessor job.&lt;/P&gt;&lt;P&gt;and save.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752900#M326412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752901#M326413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can this achieved with sm36 &amp;amp; sm37? if so please let me know the procedure?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;mounika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752901#M326413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752902#M326414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mounika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes this possible. If u are scheduling the job through SM36 u can set this up in START condition as After JOB. Enter ur previous job number and this new job will execute only when the previous job finishes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u r using ABAP program for this u can have alook at the following code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Program: Wait for Predecessor Job with JOB_CLOSE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start at successful completion of predecessor job. In this&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;example, the user selects the predecessor job from a list of&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;jobs. The jobs are selected with BP_JOB_SELECT and displayed&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for selection to the user with BP_JOBLIST_PROCESSOR. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Important: If you specify a predecessor job directly in your &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;program (not interactively chosen), then be sure that the &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;predecessor job has the status Scheduled or Released when &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;you schedule the successor job. Otherwise, the successor &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;scheduling will fail. That is, a job that is active or &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;already completed cannot be specified as a predecessor job. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Data declarations: BP_JOB_SELECT and BP_JOBLIST_PROCESSOR &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA JSELECT LIKE BTCSELECT.&lt;/P&gt;&lt;P&gt;DATA SEL_JOBLIST LIKE TBTCJOB OCCURS 100 WITH HEADER LINE. &lt;/P&gt;&lt;P&gt;DATA SELECTED_JOB LIKE TBTCJOB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Generate list of jobs as with the background processing&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;management transaction (SM37).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sample selection criteria &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;JSELECT-JOBNAME = 'NAME OF JOB'. &lt;/P&gt;&lt;P&gt;JSELECT-JOBCOUNT = '&amp;lt;Job count&amp;gt;'. &lt;/P&gt;&lt;P&gt;JSELECT-USERNAME = SY-UNAME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BP_JOB_SELECT' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;JOBSELECT_DIALOG = BTC_YES " Display list to user&lt;/P&gt;&lt;P&gt;JOBSEL_PARAM_IN = JSELECT " default job selection &lt;/P&gt;&lt;P&gt;" criteria&lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;JOBSEL_PARAM_OUT = JSELECT " User&amp;#146;s job selection&lt;/P&gt;&lt;P&gt;" criteria &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;JOBSELECT_JOBLIST = SEL_JOBLIST &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;INVALID_DIALOG_TYPE = 1 &lt;/P&gt;&lt;P&gt;JOBNAME_MISSING = 2 &lt;/P&gt;&lt;P&gt;NO_JOBS_FOUND = 3 &lt;/P&gt;&lt;P&gt;SELECTION_CANCELED = 4 &lt;/P&gt;&lt;P&gt;USERNAME_MISSING = 5 &lt;/P&gt;&lt;P&gt;OTHERS = 99. &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Ask the user to pick a job from the list. The selected job is &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the predecessor job.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'BP_JOBLIST_PROCESSOR' &lt;/P&gt;&lt;P&gt;exporting &lt;/P&gt;&lt;P&gt;joblist_opcode = btc_joblist_select &lt;/P&gt;&lt;P&gt;" Starts processor in mode which &lt;/P&gt;&lt;P&gt;" allows user to pick a job from &lt;/P&gt;&lt;P&gt;" list. Selected job is returned &lt;/P&gt;&lt;P&gt;" in the joblist_sel_job parameter. &lt;/P&gt;&lt;P&gt;joblist_refr_param = jselect &lt;/P&gt;&lt;P&gt;" User's job selection parameters &lt;/P&gt;&lt;P&gt;" for Refresh function &lt;/P&gt;&lt;P&gt;importing &lt;/P&gt;&lt;P&gt;joblist_sel_job = selected_job &lt;/P&gt;&lt;P&gt;" Returns the job selected from the &lt;/P&gt;&lt;P&gt;" job list by the user. &lt;/P&gt;&lt;P&gt;tables &lt;/P&gt;&lt;P&gt;joblist = sel_joblist &lt;/P&gt;&lt;P&gt;" Input from BP_JOBLIST_SELECT &lt;/P&gt;&lt;P&gt;exceptions &lt;/P&gt;&lt;P&gt;invalid_opcode = 1 &lt;/P&gt;&lt;P&gt;joblist_is_empty = 2 &lt;/P&gt;&lt;P&gt;joblist_processor_canceled = 3 &lt;/P&gt;&lt;P&gt;others = 4. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Schedule job using the predecessor picked by the user.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'JOB_CLOSE' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;JOBCOUNT = SELECTED_JOB-JOBCOUNT &lt;/P&gt;&lt;P&gt;" Job ID from BP_JOBLIST_PROCESSOR &lt;/P&gt;&lt;P&gt;JOBNAME = SELECTED_JOB-JOBNAME &lt;/P&gt;&lt;P&gt;" Job ID from BP_JOBLIST_PROCESSOR &lt;/P&gt;&lt;P&gt;PREDJOB_CHECKSTAT = 'X' " Start job only if &lt;/P&gt;&lt;P&gt;" predecessor job was &lt;/P&gt;&lt;P&gt;" successfully completed. &lt;/P&gt;&lt;P&gt;PRED_JOBCOUNT = SEL_JOBLIST-JOBCOUNT &lt;/P&gt;&lt;P&gt;" ID of predecessor job, &lt;/P&gt;&lt;P&gt;" from BP_JOB_SELECT. &lt;/P&gt;&lt;P&gt;PRED_JOBNAME = SEL_JOBLIST-JOBNAME &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;JOB_WAS_RELEASED = JOB_RELEASED&lt;/P&gt;&lt;P&gt;" Check: was job released? &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;CANT_START_IMMEDIATE = 1 &lt;/P&gt;&lt;P&gt;INVALID_STARTDATE = 2 &lt;/P&gt;&lt;P&gt;JOBNAME_MISSING = 3 &lt;/P&gt;&lt;P&gt;JOB_CLOSE_FAILED = 4 &lt;/P&gt;&lt;P&gt;JOB_NOSTEPS = 5&lt;/P&gt;&lt;P&gt;JOB_NOTEX = 6 &lt;/P&gt;&lt;P&gt;LOCK_FAILED = 7 &lt;/P&gt;&lt;P&gt;OTHERS = 99.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752902#M326414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752903#M326415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yep it is possible ..pls go ahead&lt;/P&gt;&lt;P&gt;and then reward points to us..:-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752903#M326415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752904#M326416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply but what u r saying is for job to job(i.e, if other job completes then start this job) but i want step to step with in a job(i.e if one step completes then start next step and both steps are from same job).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mounika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752904#M326416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752905#M326417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IN &amp;lt;b&amp;gt;SM36&amp;lt;/b&amp;gt; when you Define the background job, there is a button called "Start Condition". Click on this &amp;amp; you will get a pop up. Then click on the AFTER JOB button.&lt;/P&gt;&lt;P&gt;&amp;amp; specify the name of the predecessor job and save.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752905#M326417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752906#M326418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think u will find soem useful stuff in the SAP help in section Basis programming interface.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752906#M326418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752907#M326419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can create 2 jobs having one step each instead of having 2 steps in one job..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752907#M326419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Job Steps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752908#M326420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to schedule a successor jobs. I have created JOB1 and then JOB2, in JOB2  I have set the "After job" condition i.e. after JOB1 is completed JOB2 should run. and also I have scheduled the JOB1 as hourly. but only the first time both the jobs are completing successfully..after 1 hr only the first job is completing but not the successor job and it is not at all showing the JOB2 as successor job for JOB1.&lt;/P&gt;&lt;P&gt;Can you help me out in this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 04:17:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/job-steps/m-p/1752908#M326420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T04:17:27Z</dc:date>
    </item>
  </channel>
</rss>

