<?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: regarding BDCMSGCOLL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218239#M475873</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; You can use the following code :&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; DATA: BEGIN OF MESSTAB OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;DATA: END OF MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ID        = SY-MSGID&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        LANG      = '-D'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             NO        = SY-MSGNO&lt;/P&gt;&lt;P&gt;             V1        = SY-MSGV1&lt;/P&gt;&lt;P&gt;             V2        = SY-MSGV2&lt;/P&gt;&lt;P&gt;             V3        = SY-MSGV3&lt;/P&gt;&lt;P&gt;             V4        = SY-MSGV4&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;             MSG       = V_MSG&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;              .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT MESSTAB.&lt;/P&gt;&lt;P&gt;    IF P_RESULT = 'E'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     if messtab-msgtyp = 'E'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CONCATENATE MESSTAB-MSGTYP':' V_MSG INTO V_MSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE : / V_MSG.&lt;/P&gt;&lt;P&gt;      SKIP.&lt;/P&gt;&lt;P&gt;      CLEAR : V_MSG.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ELSEIF P_RESULT = 'S'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     if messtab-msgtyp = 'S'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CONCATENATE MESSTAB-MSGTYP':' V_MSG INTO V_MSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE : / V_MSG.&lt;/P&gt;&lt;P&gt;      SKIP.&lt;/P&gt;&lt;P&gt;      CLEAR : V_MSG.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;USR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2007 06:45:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-30T06:45:21Z</dc:date>
    <item>
      <title>regarding BDCMSGCOLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218234#M475868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have captured the error in an internal table and downloaded to a flat file.The thing is i am getting a message number . How to know the description of that message number.... gor example i got a message number 055..... what does it mean? please help me in analysing the error file.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 17:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218234#M475868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T17:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: regarding BDCMSGCOLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218235#M475869</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;You can use the function module FORMAT MESSAGE to get the message text for the corresponding message ID and message number..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 17:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218235#M475869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T17:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: regarding BDCMSGCOLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218236#M475870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the function module MESSAGE_PREPARE to format the message before writing it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 17:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218236#M475870</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-27T17:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: regarding BDCMSGCOLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218237#M475871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass the message ID and message number to T100 and get the description.&lt;/P&gt;&lt;P&gt;Or check in SE91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 17:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218237#M475871</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-04-27T17:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: regarding BDCMSGCOLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218238#M475872</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 this coding&lt;/P&gt;&lt;P&gt;READ TABLE BDCMSG WITH KEY MSGTYP = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   ID              = BDCMSG-MSGID&lt;/P&gt;&lt;P&gt;   LANG            = SY-LANGU&lt;/P&gt;&lt;P&gt;   NO              = BDCMSG-MSGNR&lt;/P&gt;&lt;P&gt;   V1              = BDCMSG-MSGV1&lt;/P&gt;&lt;P&gt;   V2              = BDCMSG-MSGV2&lt;/P&gt;&lt;P&gt;   V3              = BDCMSG-MSGV3&lt;/P&gt;&lt;P&gt;   V4              = BDCMSG-MSGV4&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   MSG             = BDCMSG-MSGV1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_FOUND       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS          = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;WRITE : / BDCMSG-MSGV1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;or else use&lt;/P&gt;&lt;P&gt;LOOP AT bdcmsg.&lt;/P&gt;&lt;P&gt;WRITE: bdcmsg-DYNAME,&lt;/P&gt;&lt;P&gt;       bdcmsg-DYNUMB,&lt;/P&gt;&lt;P&gt;       bdcmsg-MSGTYP,&lt;/P&gt;&lt;P&gt;       bdcmsg-MSGSPRA,&lt;/P&gt;&lt;P&gt;       bdcmsg-MSGID,&lt;/P&gt;&lt;P&gt;       bdcmsg-MSGNR,&lt;/P&gt;&lt;P&gt;       bdcmsg-MSGV1,&lt;/P&gt;&lt;P&gt;       bdcmsg-MSGV2,&lt;/P&gt;&lt;P&gt;       bdcmsg-MSGV3,&lt;/P&gt;&lt;P&gt;       bdcmsg-MSGV4.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218238#M475872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: regarding BDCMSGCOLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218239#M475873</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; You can use the following code :&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; DATA: BEGIN OF MESSTAB OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;DATA: END OF MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ID        = SY-MSGID&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        LANG      = '-D'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             NO        = SY-MSGNO&lt;/P&gt;&lt;P&gt;             V1        = SY-MSGV1&lt;/P&gt;&lt;P&gt;             V2        = SY-MSGV2&lt;/P&gt;&lt;P&gt;             V3        = SY-MSGV3&lt;/P&gt;&lt;P&gt;             V4        = SY-MSGV4&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;             MSG       = V_MSG&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;              .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT MESSTAB.&lt;/P&gt;&lt;P&gt;    IF P_RESULT = 'E'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     if messtab-msgtyp = 'E'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CONCATENATE MESSTAB-MSGTYP':' V_MSG INTO V_MSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE : / V_MSG.&lt;/P&gt;&lt;P&gt;      SKIP.&lt;/P&gt;&lt;P&gt;      CLEAR : V_MSG.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ELSEIF P_RESULT = 'S'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     if messtab-msgtyp = 'S'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CONCATENATE MESSTAB-MSGTYP':' V_MSG INTO V_MSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE : / V_MSG.&lt;/P&gt;&lt;P&gt;      SKIP.&lt;/P&gt;&lt;P&gt;      CLEAR : V_MSG.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;USR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218239#M475873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: regarding BDCMSGCOLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218240#M475874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     you can use the fm &amp;lt;b&amp;gt;MESSAGE_TEXT_BUILD&amp;lt;/b&amp;gt;,and if u want to know the message number go to T.code se91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 06:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdcmsgcoll/m-p/2218240#M475874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T06:45:26Z</dc:date>
    </item>
  </channel>
</rss>

