<?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: Capturing Errors in BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-errors-in-bdc/m-p/1869358#M366201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;earlier i tried this option also but same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2007 05:41:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-10T05:41:58Z</dc:date>
    <item>
      <title>Capturing Errors in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-errors-in-bdc/m-p/1869356#M366199</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'm getting error while running a BDC with Call Transaction method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'QP02' USING BDCDATA MODE 'N' UPDATE 'S' MESSAGES INTO IST_BDC_DATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the internal table IST_BDC_DATA i'm displaying the error using through FM Format Messages. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is happening is say for example i have 100 records in that 10th, 20th and 30th records have errors. when i run the transaction and when the loop reaches 10th record it throws an error and comes out of the loop. i'm not able to find that there are 2 more records with errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i find out that there are 3 records which as errors and at the same time i want to post all the remaining 97 records... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for ur replies &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-errors-in-bdc/m-p/1869356#M366199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T05:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Errors in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-errors-in-bdc/m-p/1869357#M366200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following bdc call options&lt;/P&gt;&lt;P&gt; l_t_ctu_params = 'NS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            CALL TRANSACTION  'QP02' &lt;/P&gt;&lt;P&gt;                       USING  BDCDATA                                       &lt;/P&gt;&lt;P&gt;                       OPTIONS  FROM  l_t_ctu_params&lt;/P&gt;&lt;P&gt;                                       MESSAGES INTO  g_t_message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-errors-in-bdc/m-p/1869357#M366200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T05:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Errors in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-errors-in-bdc/m-p/1869358#M366201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;earlier i tried this option also but same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-errors-in-bdc/m-p/1869358#M366201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T05:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Errors in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-errors-in-bdc/m-p/1869359#M366202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to the issue you are facing...even though you have 100 records in the file - you are able to process records till you get an error. Is that correct? In the example you mentioned - the processing comes out at the 10th record (error) and rest of the 90 records are not processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try asynchronous update option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be your logic...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT main_data_table.&lt;/P&gt;&lt;P&gt; REFRESH bdcdata&lt;/P&gt;&lt;P&gt; populated bdcdata with data for one transaction&lt;/P&gt;&lt;P&gt; call transaction&lt;/P&gt;&lt;P&gt; check subrc value - if non zero then format messages in messages table&lt;/P&gt;&lt;P&gt; and store them in a table - refresh messages table for next transaction&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once you process all the data you can print out all the collected error messages...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 21:34:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-errors-in-bdc/m-p/1869359#M366202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T21:34:03Z</dc:date>
    </item>
  </channel>
</rss>

