<?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 Background job in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550223#M1074495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i executed a job in background got the error message as "ABAP/4 processor: BCD_ZERODIVIDE".This error is occured for only one of the given selection criteria,for other cases its getting executed.How to correct it.?What ar the reasons for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2008 06:36:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-29T06:36:38Z</dc:date>
    <item>
      <title>Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550223#M1074495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i executed a job in background got the error message as "ABAP/4 processor: BCD_ZERODIVIDE".This error is occured for only one of the given selection criteria,for other cases its getting executed.How to correct it.?What ar the reasons for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 06:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550223#M1074495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T06:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550224#M1074496</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;Your dividing component is zero. because of that BCD_ZERODIVIDE error is occured. make sure your dividing component is not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer this link.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/Helpdata/EN/cf/f2bbce142c11d3b93a0000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/Helpdata/EN/cf/f2bbce142c11d3b93a0000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 06:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550224#M1074496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T06:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550225#M1074497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When ever your dividing, pls make sure the dividing component is not zero.&lt;/P&gt;&lt;P&gt;When you try to divide by zero, you will get the error.&lt;/P&gt;&lt;P&gt;Pls change the program accordingly&lt;/P&gt;&lt;P&gt;Regads&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 06:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550225#M1074497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T06:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550226#M1074498</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;Given your selection criteria, at some point you should be getting a situation where some value is divided by zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try debugging it online if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value which is becoming 0 for division, put a catchable exception there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 07:02:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550226#M1074498</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2008-09-29T07:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550227#M1074499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1) check the steps in your job using sm37&lt;/P&gt;&lt;P&gt; 2) one of your step may be throwing this error which has come across the statement dividing by zero for your specified selection criteria.&lt;/P&gt;&lt;P&gt;3) debug that step i.e program which is added as a step by specifying your selection criteria&lt;/P&gt;&lt;P&gt;3) modify the program by adding try and catch blocks to handle run time exceptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the link below which explains you how to handle run time exceptions&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/cf/f2bbce142c11d3b93a0000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/cf/f2bbce142c11d3b93a0000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 07:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550227#M1074499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T07:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550228#M1074500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to put a catachable exception..Can you tell one sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 07:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550228#M1074500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T07:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550229#M1074501</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;Example Program....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT demo_catch_endcatch.

DATA: result TYPE p DECIMALS 3,
      number TYPE i VALUE 11.

CATCH SYSTEM-EXCEPTIONS arithmetic_errors = 5.
  DO.
    number = number - 1.
    result = 1 / number.
    WRITE: / number, result.
  ENDDO.
ENDCATCH.

SKIP.

IF sy-subrc = 5.
  WRITE / 'Division by zero!'.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program calculates the quotients tens time from 1 and number until the runtime error BCD_ZERODIVIDE occurs. This belongs to the exception group ARITHMETIC_ERRORS, and is caught in the example using this class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-job/m-p/4550229#M1074501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:35:49Z</dc:date>
    </item>
  </channel>
</rss>

