<?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: Problem With Background Job in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-background-job/m-p/7754699#M1583001</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;Please check my reply to the post [JOB IN BACKGROUND - HELP |&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1937484"&gt;&lt;/A&gt;; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2011 07:56:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-04-20T07:56:50Z</dc:date>
    <item>
      <title>Problem With Background Job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-background-job/m-p/7754696#M1582998</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 am facing problem with background scheduling a program . i have program ZTEST and in that i am submitting another program ZTEST1 for background..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'JOB_OPEN'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      JOBNAME          = NAME_JOB&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      JOBCOUNT         = NUMBER&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      CANT_CREATE_JOB  = 1&lt;/P&gt;&lt;P&gt;      INVALID_JOB_DATA = 2&lt;/P&gt;&lt;P&gt;      JOBNAME_MISSING  = 3&lt;/P&gt;&lt;P&gt;      OTHERS           = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SUBMIT ZTEST1 TO SAP-SPOOL "DESTINATION l_dest&lt;/P&gt;&lt;P&gt;                                "LINE-SIZE l_linsz&lt;/P&gt;&lt;P&gt;                                "IMMEDIATELY 'X'&lt;/P&gt;&lt;P&gt;                                "KEEP IN SPOOL 'X'&lt;/P&gt;&lt;P&gt;                                SPOOL PARAMETERS PRINPAR&lt;/P&gt;&lt;P&gt;                                "WITHOUT SPOOL DYNPRO&lt;/P&gt;&lt;P&gt;                                WITH scheme1 = scheme1&lt;/P&gt;&lt;P&gt;                                WITH descript = descript&lt;/P&gt;&lt;P&gt;                                WITH p_bukrs = p_bukrs&lt;/P&gt;&lt;P&gt;                                WITH r1 = r1&lt;/P&gt;&lt;P&gt;                                WITH offline = OFFLINE&lt;/P&gt;&lt;P&gt;                                WITH ex      = EX&lt;/P&gt;&lt;P&gt;                                WITH py      = PY&lt;/P&gt;&lt;P&gt;                                WITH bj      = BJ&lt;/P&gt;&lt;P&gt;                                WITH IM      = IM&lt;/P&gt;&lt;P&gt;                                WITH schno   = schno&lt;/P&gt;&lt;P&gt;                                WITH spart1  = spart1&lt;/P&gt;&lt;P&gt;                                WITH spart   = spart&lt;/P&gt;&lt;P&gt;                                WITH date1   = date1&lt;/P&gt;&lt;P&gt;                                VIA JOB NAME_JOB NUMBER NUMBER AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job is getting scheduled but the problem is no spool number is geneated for this job .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover , if run ZTEST1  normally it is running perfectly fine and updating the database , but if i run it through SUBMIT command&lt;/P&gt;&lt;P&gt;it is not working fine and not updating the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 06:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-background-job/m-p/7754696#M1582998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-15T06:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Background Job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-background-job/m-p/7754697#M1582999</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;it may be because of the paramters which you are passing to ZTEST1 druing submit is different than when you are executing in forgound. check the parametrs. also use function module JOB_CLOSE to close the job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 06:51:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-background-job/m-p/7754697#M1582999</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2011-04-15T06:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Background Job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-background-job/m-p/7754698#M1583000</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;if you pass SELECT-OPTIONS, do not pass them with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WITH ... = ...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WITH ... IN ...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have matching PARAMETERS and SELECT-OPTIONS, use "=" for PARAMETERS and "IN" for SELECT-OPTIONS!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Klaus Babl on Apr 15, 2011 8:56 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 06:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-background-job/m-p/7754698#M1583000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-15T06:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Background Job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-background-job/m-p/7754699#M1583001</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;Please check my reply to the post [JOB IN BACKGROUND - HELP |&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1937484"&gt;&lt;/A&gt;; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 07:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-background-job/m-p/7754699#M1583001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-20T07:56:50Z</dc:date>
    </item>
  </channel>
</rss>

