<?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 error messages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124415#M445746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the following variant of CALL TRANSACTIOn :&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'SM30' MODE &amp;lt;Mode&amp;gt; UPDATE &amp;lt; mode&amp;gt; MESSAGES INTO ITAB.&lt;/P&gt;&lt;P&gt;Here ITAB is an internal table defined of the same structure as BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once u get the data in ITAB, the u can easily separate out the error, warning, success messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2007 06:20:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-10T06:20:17Z</dc:date>
    <item>
      <title>BDC error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124412#M445743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;     how can we trab error messages in BDC . We make use of BDCMSGCOLL .&lt;/P&gt;&lt;P&gt;can anybody expalin me how can we capture them , I have to display the messages after running the BDC. i am running BDC on transaction sm30 .. view name is vusrextid. Add new enties ,type is NT and put external users as asian\hhh&lt;/P&gt;&lt;P&gt;then SAPUSER  then click activate and lastly click save . Waiting for reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 06:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124412#M445743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T06:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124413#M445744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi naval,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Simple (just see f1 help on call transaction)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. data : msg like bdcmsgcoll occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'SM30'&lt;/P&gt;&lt;P&gt;using bdcdata&lt;/P&gt;&lt;P&gt;messages msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. All your messages of all types (w, E,s) etc&lt;/P&gt;&lt;P&gt;  will get populated in the internal table msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 06:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124413#M445744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T06:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124414#M445745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;internal table to handle messages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : IT_MESSAGES LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : V_MESG(50).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'MM01' USING IT_BDCDATA MODE 'N' UPDATE 'S'&lt;/P&gt;&lt;P&gt;                                   MESSAGES INTO IT_MESSAGES.&lt;/P&gt;&lt;P&gt;all messages wiull come into it_messages and display them like:&lt;/P&gt;&lt;P&gt;FORM ERROR_MESSAGES.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;             ID        = SY-MSGID&lt;/P&gt;&lt;P&gt;             LANG      = '-D'&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;             MSG       = V_MESG&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;             NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;             OTHERS    = 2.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_MESSAGES WHERE MSGTYP = 'E'.&lt;/P&gt;&lt;P&gt;    WRITE : / 'Message :'(I06) ,V_MESG.&lt;/P&gt;&lt;P&gt;    CLEAR IT_MESSAGES.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 06:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124414#M445745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T06:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124415#M445746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the following variant of CALL TRANSACTIOn :&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'SM30' MODE &amp;lt;Mode&amp;gt; UPDATE &amp;lt; mode&amp;gt; MESSAGES INTO ITAB.&lt;/P&gt;&lt;P&gt;Here ITAB is an internal table defined of the same structure as BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once u get the data in ITAB, the u can easily separate out the error, warning, success messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 06:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124415#M445746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T06:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124416#M445747</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;     U can use table BDCMSGCOLL for error trace in BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.First u declare internal table(Error_itab) like bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.call trasction 'tcode' using it_bdcdata mode '  ' update '  ' and messages into  Error_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.finally u call function 'Format_message'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.Loop the internal table (error_itab ) and get error messages &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls give reward if it helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 06:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124416#M445747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T06:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: BDC error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124417#M445748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanku very much for support . Closing the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 05:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error-messages/m-p/2124417#M445748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T05:52:45Z</dc:date>
    </item>
  </channel>
</rss>

