<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2382391#M528970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one give a small example using  "BDCMSGCOLL" &amp;amp; "FORMAT_MESSAGES" IN CALL TRANSACTION method.&lt;/P&gt;&lt;P&gt;How to get error records in CALL TRANSACTION method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Jun 2007 10:58:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-10T10:58:08Z</dc:date>
    <item>
      <title>BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2382391#M528970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one give a small example using  "BDCMSGCOLL" &amp;amp; "FORMAT_MESSAGES" IN CALL TRANSACTION method.&lt;/P&gt;&lt;P&gt;How to get error records in CALL TRANSACTION method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2007 10:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2382391#M528970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-10T10:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2382392#M528971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;to capture messages, &lt;/P&gt;&lt;P&gt;u need  to declare table of type BDCMSGCOL structure.&lt;/P&gt;&lt;P&gt;thenin the call trans statement, i.e,&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;data: msgtab type table of bdcmsgcol.&lt;/P&gt;&lt;P&gt;call transcation MM01 using bdctab mode N  update 'A' messages into msgtab.&lt;/P&gt;&lt;P&gt;If sy-subrc &amp;lt;&amp;gt; 0. (i.e no successful update)&lt;/P&gt;&lt;P&gt;call function 'FORMAT_MESSAGE'.&lt;/P&gt;&lt;P&gt;exp&lt;/P&gt;&lt;P&gt; pass the paremeters which are available in msgtab.&lt;/P&gt;&lt;P&gt;imp&lt;/P&gt;&lt;P&gt;import into a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if any issues,&lt;/P&gt;&lt;P&gt;Reward with points if u find helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2007 11:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2382392#M528971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-10T11:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2382393#M528972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swapna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare a table type bdcmsgcoll..&lt;/P&gt;&lt;P&gt;data: it_msg type standard table of bdcmsgcoll with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you call the transaction you can get all the mesages into the table it_msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION &amp;lt;tcode&amp;gt; using it_bdc messages into it_msg.&lt;/P&gt;&lt;P&gt;the message format will not be in the readable format.. so we use FORMAT_MESSAGES...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report the error messages to the user..&lt;/P&gt;&lt;P&gt;loop at it_msg where msgtyp = 'E'.&lt;/P&gt;&lt;P&gt;call FORMAT_MESSAGES (pass it_msgnr as the expoting parameter and get the message into a variable of type string.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2007 13:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2382393#M528972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-10T13:55:01Z</dc:date>
    </item>
  </channel>
</rss>

