<?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: BDC related issue while error handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-related-issue-while-error-handling/m-p/7352501#M1540829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use BDCRETURN structure which will collect all msgs from bdc call..&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;yes u can process same session again bt if there is primary key or unique key record then again it will give error for that so I ll sujest remove first 2 records from file and then process it....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2010 11:09:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-22T11:09:40Z</dc:date>
    <item>
      <title>BDC related issue while error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-related-issue-while-error-handling/m-p/7352500#M1540828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have doubt related to BDC . I have excel file wherein there are 5 records. I have certain tcode for which i am running BDC  using CALL TRANSACTION and SESSION method.&lt;/P&gt;&lt;P&gt;My doubt is suppose there is correct execution of 2 records and there is incorrect data in 3 record.&lt;/P&gt;&lt;P&gt;Now my question is if i am running this BDC in both way what will happen? &lt;/P&gt;&lt;P&gt;Query is&lt;/P&gt;&lt;P&gt;1. Remaining 4th and 5th record will get executed?&lt;/P&gt;&lt;P&gt;2. How to handle error is 3rd record?&lt;/P&gt;&lt;P&gt;3. and if i am using session method one session is created with error in that session Can i re-process the same session &lt;/P&gt;&lt;P&gt;instead of creating new one ?&lt;/P&gt;&lt;P&gt;4. and i want to display those error messages on screen output in both method How i can do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Parag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 11:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-related-issue-while-error-handling/m-p/7352500#M1540828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T11:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC related issue while error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-related-issue-while-error-handling/m-p/7352501#M1540829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use BDCRETURN structure which will collect all msgs from bdc call..&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;yes u can process same session again bt if there is primary key or unique key record then again it will give error for that so I ll sujest remove first 2 records from file and then process it....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 11:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-related-issue-while-error-handling/m-p/7352501#M1540829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T11:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: BDC related issue while error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-related-issue-while-error-handling/m-p/7352502#M1540830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parag,&lt;/P&gt;&lt;P&gt;Please see the below points :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Remaining 4th and 5th record will get executed : Yes, 4th and 5th record will definitely get executed even if previous records went into error. &lt;/P&gt;&lt;P&gt;a. In case of BDC session method : You can see the error log in SM35 for the records which have gone into error.&lt;/P&gt;&lt;P&gt;b. In call transaction method : You can catch the errored out records in Internal table of type BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  How to handle error is 3rd record : To handle the error in any of the records you can analyze the BDC session log and after correcting the error you can re run the errored out session in foreground/background. Similar is the case in BDCMSGCOLL where you can display the error reason by displaying the contents of internal table of type BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Yes you can reprocess the errored out session once again in SM35 instead of creating a new one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. For this query you can refer the above points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Come up with queries if any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 07:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-related-issue-while-error-handling/m-p/7352502#M1540830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-25T07:24:18Z</dc:date>
    </item>
  </channel>
</rss>

