<?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 SUBMIT &amp; JOB_SUBMIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772320#M1776583</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;How we can use the function "job_submit" with settings of instruction "submit" :&lt;/P&gt;&lt;P&gt;SUBMIT z_programme USER 'Z_USER' VIA JOB l_jobname NUMBER l_idjob&lt;/P&gt;&lt;P&gt;WITH p_param1 = value1&lt;/P&gt;&lt;P&gt;WITH p_param2 = value2&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 15:47:25 GMT</pubDate>
    <dc:creator>former_member1065874</dc:creator>
    <dc:date>2013-10-07T15:47:25Z</dc:date>
    <item>
      <title>SUBMIT &amp; JOB_SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772320#M1776583</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;How we can use the function "job_submit" with settings of instruction "submit" :&lt;/P&gt;&lt;P&gt;SUBMIT z_programme USER 'Z_USER' VIA JOB l_jobname NUMBER l_idjob&lt;/P&gt;&lt;P&gt;WITH p_param1 = value1&lt;/P&gt;&lt;P&gt;WITH p_param2 = value2&lt;/P&gt;&lt;P&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 15:47:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772320#M1776583</guid>
      <dc:creator>former_member1065874</dc:creator>
      <dc:date>2013-10-07T15:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT &amp; JOB_SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772321#M1776584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at this?&amp;nbsp; It has most of the basic stuff for submitting a job from code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://answers.sap.com/docs/DOC-46614" title="http://scn.sap.com/docs/DOC-46614"&gt;http://scn.sap.com/docs/DOC-46614&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any troubles and I'd be happy to discuss it with you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 15:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772321#M1776584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-07T15:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT &amp; JOB_SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772322#M1776585</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 wanted to know how i could pass the values ​​(value1 and value2) in my program with function job_submit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the solution is to create a variant with abap and then use it, because the values ​​are dynamic, is that possible ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 16:03:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772322#M1776585</guid>
      <dc:creator>former_member1065874</dc:creator>
      <dc:date>2013-10-08T16:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT &amp; JOB_SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772323#M1776586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Given dynamic values, I'd make a variant as you said.&amp;nbsp; But then I'd have the variant read tvarvc for the values.&amp;nbsp; Your job creation program can than change out the values before each job creation.&amp;nbsp; I'm assuming that the jobs are set to run immediate.&amp;nbsp; If not, the values might over write before the first job could obtain it's variables.&amp;nbsp; Further, you'd have to be concerned that just because you schedule a job as immediate, does not mean that it was started immediately.&amp;nbsp; I'd look into setting locks when I created the parameters and unlocks when they were read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 16:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772323#M1776586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-08T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT &amp; JOB_SUBMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772324#M1776587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Neal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I understand correctly, if we have a variant then it is better to use the function job_submit &lt;/P&gt;&lt;P&gt;If we have dynamic parameters which are calculated by the program that appeals to our program, in this case we uses simply submit instruction like :&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;SUBMIT z_programme USER 'Z_USER' VIA JOB l_jobname NUMBER l_idjob&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;WITH p_param1 = value1&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;WITH p_param2 = value2&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;is that right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Your solution that we can use table tvarvc for dynamic values is ok too&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1866/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 23:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-job-submit/m-p/9772324#M1776587</guid>
      <dc:creator>former_member1065874</dc:creator>
      <dc:date>2013-10-08T23:09:50Z</dc:date>
    </item>
  </channel>
</rss>

