<?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 batch job scheduling problem.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043566#M1611078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm encoutering 2 issues in production while scheduling batch job ,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. the batch job is scheduled to run daily  in production, but once i check it in sm37 its schedule only for 0 secs,which is not true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if I manually schedule the batch job thru program for the first time , the first batch job will run for 0 sec which is not true,, but if i again schedule the batch job for 2nd time,.then its working fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont face this issue in development system..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. suggest the possible soln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2011 03:59:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-05T03:59:08Z</dc:date>
    <item>
      <title>batch job scheduling problem..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043566#M1611078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm encoutering 2 issues in production while scheduling batch job ,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. the batch job is scheduled to run daily  in production, but once i check it in sm37 its schedule only for 0 secs,which is not true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if I manually schedule the batch job thru program for the first time , the first batch job will run for 0 sec which is not true,, but if i again schedule the batch job for 2nd time,.then its working fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont face this issue in development system..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. suggest the possible soln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 03:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043566#M1611078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T03:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: batch job scheduling problem..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043567#M1611079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it works in dev. system and not in prod. there are usually 2 reasons:&lt;/P&gt;&lt;P&gt;1. report variant does not match the data &lt;/P&gt;&lt;P&gt;2. authorisation issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 07:37:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043567#M1611079</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2011-08-05T07:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: batch job scheduling problem..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043568#M1611080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi volker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanka for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is a variant problem..,then it should not be working while scheduling the background job manually also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is working for 2nd time if I schedule the background job manually .. and strange thing is its not working for the firs time..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way to debug the background job??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 07:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043568#M1611080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T07:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: batch job scheduling problem..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043569#M1611081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch job debugging very much possible, if you have that access.&lt;/P&gt;&lt;P&gt;Select it in Scheduled status, type 'JDBG' in the command field and debugging gets started, just press F8 to reach your breakpoint.&lt;/P&gt;&lt;P&gt;Lot of threads relating to debug details if you find any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Diwakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 09:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043569#M1611081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T09:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: batch job scheduling problem..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043570#M1611082</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;To debug background job just follow this procedure .&lt;/P&gt;&lt;P&gt;write below loop in ur program.&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt; clear count.&lt;/P&gt;&lt;P&gt;  If count = 'X'.&lt;/P&gt;&lt;P&gt;   Exit.&lt;/P&gt;&lt;P&gt;  Endif.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;at transaction sm50, you will see the process , select it and go to program / mode - &amp;gt; program -&amp;gt;debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Set a breakpoint in your program&lt;/P&gt;&lt;P&gt;2) select the job in SM37 &lt;/P&gt;&lt;P&gt;3) enter JDBG into the SAP fast path of the SM37 screen and press ENTER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will navigate you into a b/g debug - you can then press the debugger buttons to move to your breakpoint.&lt;/P&gt;&lt;P&gt;TRY IT..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 10:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043570#M1611082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-05T10:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: batch job scheduling problem..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043571#M1611083</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;Am still unable to find out a soln for the  batch job problem  in production client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine in dev.system but its not working in production system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also authorization object is ok the batch job in production system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pos. solns for this strange problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 12:45:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043571#M1611083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-09T12:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: batch job scheduling problem..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043572#M1611084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
1. the batch job is scheduled to run daily in production, but once i check it in sm37 its schedule only for 0 secs,which is not true
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the status when you are seeing the time 0 secs, if it is SCHEDULED/RELEASED status, then 0 secs is OK as it will show any time only when job is FINISHED. It should be same behaviour in DEV as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
2. if I manually schedule the batch job thru program for the first time , the first batch job will run for 0 sec which is not true,, but if i again schedule the batch job for 2nd time,.then its working fine. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the status when you see 0 secs for the First time ? Is it FINISHED ?? Try to run the program in Foreground and note the behaviour. &lt;/P&gt;&lt;P&gt;Is your program setting some parameter or some table value which is actually used in the 2nd run and hence the correct results ??&lt;/P&gt;&lt;P&gt;Better to use SM36 or take basis help to schedule a batch job rather doing it from SE38 Execute background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Diwakar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Diwakar Aggarwal on Aug 10, 2011 10:40 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 02:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043572#M1611084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T02:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: batch job scheduling problem..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043573#M1611085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALL, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for all your replies...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There was a problem in the directory folder in production , so basis guys helped  me to resolve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for all your time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgrds&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 03:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-job-scheduling-problem/m-p/8043573#M1611085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-10T03:40:10Z</dc:date>
    </item>
  </channel>
</rss>

