<?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 BDC errors in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-errors/m-p/1520104#M238950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing BDC for MM01,using call transactions.How do i handle errors in it? i need to select the error files and give an email to the users that these were the material number that failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then those errors along with the other new materials to be created should be processed the nextday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me an idea to proceed with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Rinky.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2006 19:04:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-28T19:04:41Z</dc:date>
    <item>
      <title>BDC errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-errors/m-p/1520104#M238950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing BDC for MM01,using call transactions.How do i handle errors in it? i need to select the error files and give an email to the users that these were the material number that failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then those errors along with the other new materials to be created should be processed the nextday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me an idea to proceed with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Rinky.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 19:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-errors/m-p/1520104#M238950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T19:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: BDC errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-errors/m-p/1520105#M238951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming you are reading your current file into an internal table, then loop at it, prepare BDC and call transaction. You can implement a logic like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at file_recs.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;prepare bdc data.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;call transacton ... messages into bdcmsgcoll_tab.&lt;/P&gt;&lt;P&gt;read table bdcmsgcoll_tab with key msgty = 'E'.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;*-- error occured&lt;/P&gt;&lt;P&gt;move file_recs to error_recs.&lt;/P&gt;&lt;P&gt;if first_error_rec = 'Y'.&lt;/P&gt;&lt;P&gt;open dataset errorfile....&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;transfer error_recs to errorfile.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 19:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-errors/m-p/1520105#M238951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T19:18:52Z</dc:date>
    </item>
  </channel>
</rss>

