<?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: bdcmsgcoll in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879465#M676211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL TRANSACTION 'CRMD_ORDER' USING IT_BDCDATA MODE 'N'&lt;/P&gt;&lt;P&gt;   messages into messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; READ TABLE MESSTAB WITH KEY MSGTYP = 'S'.&lt;/P&gt;&lt;P&gt; IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    ID              = MESSTAB-MSGID&lt;/P&gt;&lt;P&gt;    LANG            = MESSTAB-MSGSPRA&lt;/P&gt;&lt;P&gt;    NO              = MESSTAB-MSGNR&lt;/P&gt;&lt;P&gt;    V1              = MESSTAB-MSGV1&lt;/P&gt;&lt;P&gt;    V2              = MESSTAB-MSGV2&lt;/P&gt;&lt;P&gt;    V3              = MESSTAB-MSGV3&lt;/P&gt;&lt;P&gt;    V4              = MESSTAB-MSGV4&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    MSG             = L_MSTRING&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;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Sep 2007 06:09:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-29T06:09:38Z</dc:date>
    <item>
      <title>bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879460#M676206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am updating single record thro crmd_order transaction ...&lt;/P&gt;&lt;P&gt;service ticket is generated by system ...&lt;/P&gt;&lt;P&gt;i need to get the service ticket number as information message ..&lt;/P&gt;&lt;P&gt;help  me pls with lil code n logic ... u 'll b highly rewarded..&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 04:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879460#M676206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-29T04:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879461#M676207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you are using CALL TRANSACTION to update data. In this you must be getting all messages to an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read last record of internal table and format the same using fm FORMAT_MESSAGE. If message type is 'S', then display associated message as information message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 04:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879461#M676207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-29T04:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879462#M676208</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;Try this Logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Perform Mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call transaction '&amp;lt;tcode&amp;gt;'&lt;/P&gt;&lt;P&gt;using it_bdcdata&lt;/P&gt;&lt;P&gt;mode 'N'&lt;/P&gt;&lt;P&gt;Message into it_bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  Describe table it_bdcmsgcoll.&lt;/P&gt;&lt;P&gt;  Read table it_bdcmsgcoll into wa_bdcmsgcoll index sy-tfill.  "Last record&lt;/P&gt;&lt;P&gt;   MESSAGE ID wa_bdcmsgcoll-MSGID&lt;/P&gt;&lt;P&gt;                    TYPE 'I'&lt;/P&gt;&lt;P&gt;                    NUMBER wa_bdcmsgcoll-MSGNR&lt;/P&gt;&lt;P&gt;                    WITH wa_bdcmsgcoll-MSGV1&lt;/P&gt;&lt;P&gt;                             wa_bdcmsgcoll-MSGV2 &lt;/P&gt;&lt;P&gt;                             wa_bdcmsgcoll-MSGV3 &lt;/P&gt;&lt;P&gt;                             wa_bdcmsgcoll-MSGV4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful.&lt;/P&gt;&lt;P&gt;Refresh it_bdcmsgcoll .&lt;/P&gt;&lt;P&gt;Refresh it_bdcdata .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 05:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879462#M676208</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-29T05:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879463#M676209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the responce guys ...&lt;/P&gt;&lt;P&gt;But the problem is whn i try to debug the it_bdcmsgcoll i am not getting any data ..&lt;/P&gt;&lt;P&gt;any suggestions plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 05:20:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879463#M676209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-29T05:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879464#M676210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you paste your CALL TRANSACTION code here. Also let us know how are you doing error handling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 05:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879464#M676210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-29T05:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879465#M676211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL TRANSACTION 'CRMD_ORDER' USING IT_BDCDATA MODE 'N'&lt;/P&gt;&lt;P&gt;   messages into messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; READ TABLE MESSTAB WITH KEY MSGTYP = 'S'.&lt;/P&gt;&lt;P&gt; IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    ID              = MESSTAB-MSGID&lt;/P&gt;&lt;P&gt;    LANG            = MESSTAB-MSGSPRA&lt;/P&gt;&lt;P&gt;    NO              = MESSTAB-MSGNR&lt;/P&gt;&lt;P&gt;    V1              = MESSTAB-MSGV1&lt;/P&gt;&lt;P&gt;    V2              = MESSTAB-MSGV2&lt;/P&gt;&lt;P&gt;    V3              = MESSTAB-MSGV3&lt;/P&gt;&lt;P&gt;    V4              = MESSTAB-MSGV4&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    MSG             = L_MSTRING&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;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 06:09:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879465#M676211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-29T06:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879466#M676212</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;Note : After call transaction it will always the Store the messages in thos table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this way .. using break-points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'CRMD_ORDER' USING IT_BDCDATA MODE 'N'&lt;/P&gt;&lt;P&gt;messages into messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt; BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE MESSTAB WITH KEY MSGTYP = 'S'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;ID = MESSTAB-MSGID&lt;/P&gt;&lt;P&gt;LANG = MESSTAB-MSGSPRA&lt;/P&gt;&lt;P&gt;NO = MESSTAB-MSGNR&lt;/P&gt;&lt;P&gt;V1 = MESSTAB-MSGV1&lt;/P&gt;&lt;P&gt;V2 = MESSTAB-MSGV2&lt;/P&gt;&lt;P&gt;V3 = MESSTAB-MSGV3&lt;/P&gt;&lt;P&gt;V4 = MESSTAB-MSGV4&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;MSG = L_MSTRING&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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF HELPFUL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 06:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879466#M676212</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-29T06:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879467#M676213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEY I 'M NOT GETTIN THE SERVICE TICK NUM ..&lt;/P&gt;&lt;P&gt;IN MSGV1 I 'M GETTING SOME FIELD NAME...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 07:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/2879467#M676213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-29T07:04:17Z</dc:date>
    </item>
  </channel>
</rss>

