<?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 Problem when scheduled in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738268#M320982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i run a report thru a job which will update a z-table with the current time/date/pgm name/werks..&lt;/P&gt;&lt;P&gt;table is updated as below.&lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-rdate = sy-datum. &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-rtime = sy-uzeit. &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-repid = sy-cprog. &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-werks = c_zero.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last night we scheduled 4jobs. 3 jobs ran successfully and the last failed (dumped)with the following error arrow pointing at the modify stmt.key field of the table are REPID AND WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program "ZBA0R_MRS_EXTRACT" was started as a background job.              &lt;/P&gt;&lt;P&gt;Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in  the procedure "UPDATE_BATCH_CNGF" "(FORM)" but was not handled locally, not declared in the RAISING clause of the procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my question is when the first 3jobs are success y shud the 4th fail.and i dont understand that error given there.&lt;/P&gt;&lt;P&gt;any clues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2006 07:23:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-29T07:23:36Z</dc:date>
    <item>
      <title>Problem when scheduled in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738268#M320982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i run a report thru a job which will update a z-table with the current time/date/pgm name/werks..&lt;/P&gt;&lt;P&gt;table is updated as below.&lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-rdate = sy-datum. &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-rtime = sy-uzeit. &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-repid = sy-cprog. &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-werks = c_zero.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last night we scheduled 4jobs. 3 jobs ran successfully and the last failed (dumped)with the following error arrow pointing at the modify stmt.key field of the table are REPID AND WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program "ZBA0R_MRS_EXTRACT" was started as a background job.              &lt;/P&gt;&lt;P&gt;Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in  the procedure "UPDATE_BATCH_CNGF" "(FORM)" but was not handled locally, not declared in the RAISING clause of the procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my question is when the first 3jobs are success y shud the 4th fail.and i dont understand that error given there.&lt;/P&gt;&lt;P&gt;any clues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 07:23:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738268#M320982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T07:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when scheduled in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738269#M320983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran , &lt;/P&gt;&lt;P&gt;     Were all these 4 jobs running at the same time???...what i mean to say here is there might be a case that when one job is trying to update the database table the other job also tried to update the custom table which might have resulted in this dump. So inorder to avoid these you can use locks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swaroop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 07:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738269#M320983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T07:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when scheduled in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738270#M320984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swarup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4 jobs are scheduled at different time with a span of 3hrs difference bt each job.&lt;/P&gt;&lt;P&gt;any more clues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 07:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738270#M320984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T07:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when scheduled in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738271#M320985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-rdate = sy-datum. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;get time.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-rtime = sy-uzeit. &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-repid = sy-cprog. &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-werks = c_zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and can you show the modify statement which you are using to modify the ZTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 08:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738271#M320985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T08:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when scheduled in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738272#M320986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vijay..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;those sy-variables worked fine 4 the 1st 4jobs.&lt;/P&gt;&lt;P&gt;and its a simple modify stmt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-rdate = sy-datum.   &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-rtime = sy-uzeit.   &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-repid = sy-cprog.   &lt;/P&gt;&lt;P&gt;zsa0_batch_cnfg-werks = c_zero.     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify zsa0_batch_cnfg.&lt;/P&gt;&lt;P&gt;any more info u req?&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 08:10:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-scheduled-in-background/m-p/1738272#M320986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T08:10:14Z</dc:date>
    </item>
  </channel>
</rss>

