<?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: Return error ocurring during bdc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637241#M1571822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using 'messages into' option you can get the returned error messages. These messages can be returned&lt;/P&gt;&lt;P&gt;by the RFC also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aravind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2011 13:57:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-07T13:57:50Z</dc:date>
    <item>
      <title>Return error ocurring during bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637239#M1571820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a abaper and i got a project to in which there is a requirement that we have to do the bdc by remote function call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to do bdc through it but my main concern is the error which come while doing bdc.&lt;/P&gt;&lt;P&gt;I mean we can see the screen which in which there is error. I want to capture that error and that error should be return to the function. &lt;/P&gt;&lt;P&gt;Suppose we are doing bdc which the help of .net application. We want to retrun the error which is occuring during the bdc and return the error to the .net application. so can you tell me how can we return the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 12:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637239#M1571820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-07T12:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Return error ocurring during bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637240#M1571821</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; Implement RFC or any interface to communicate with non-SAP system. And have one table parameter with two fields..one with flag and other field is for message text. Then your table parameter output will be like following:&lt;/P&gt;&lt;P&gt;E: Process not occurred&lt;/P&gt;&lt;P&gt;S: Table updated updated successfully&lt;/P&gt;&lt;P&gt;etc.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As we know, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;bdcmsgcoll type bdcmsgcoll occurs 0 with header line,
.....
......    
call transaction 'TCODE' using bdcdata mode 'N' update 'S' messages into bdcmsgcoll.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this syntax will helps you capture the messages with BDC processing. And then pass this message ID and types etc to 'FORMAT_MESSAGE' or some other function module whcih can gives you message text. And finally populate ABOVE internal table with those details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen Inuganti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 13:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637240#M1571821</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2011-03-07T13:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Return error ocurring during bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637241#M1571822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using 'messages into' option you can get the returned error messages. These messages can be returned&lt;/P&gt;&lt;P&gt;by the RFC also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aravind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 13:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637241#M1571822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-07T13:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Return error ocurring during bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637242#M1571823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to reinvent  FM ABAP4_CALL_TRANSACTION (RFC enabled) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 14:18:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637242#M1571823</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-03-07T14:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Return error ocurring during bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637243#M1571824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can populate the BDC error messages in 'bdcmsgcoll' table. Next call 'ECOP_MESSAGE_READ' FM, pass the message id and message number obtained from 'bdcmsgcoll' table to get the proper message text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can handle messages in your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 15:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-error-ocurring-during-bdc/m-p/7637243#M1571824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-07T15:34:02Z</dc:date>
    </item>
  </channel>
</rss>

