<?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/3057610#M724208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bdc data is a strecture to make validations before passing data from internal table to &lt;/P&gt;&lt;P&gt;application server in sap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In call transaction method there is no defalut log file for data transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so we do use bdcmsgcoll for messages in this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link for some useful information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.abapprogramming.blogspot.com" target="test_blank"&gt;http://www.abapprogramming.blogspot.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can also try this specific links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%201" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%201&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%202" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%202&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%203" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%203&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%204" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%204&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%205" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%205&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%206" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%206&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%207" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%207&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%208" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%208&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%209" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%209&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%2010" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%2010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Nov 2007 17:04:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-24T17:04:30Z</dc:date>
    <item>
      <title>bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057609#M724207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;explain me about bdcmsgcoll structure and messtab in call transaction method&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2007 14:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057609#M724207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-24T14:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057610#M724208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bdc data is a strecture to make validations before passing data from internal table to &lt;/P&gt;&lt;P&gt;application server in sap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In call transaction method there is no defalut log file for data transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so we do use bdcmsgcoll for messages in this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link for some useful information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.abapprogramming.blogspot.com" target="test_blank"&gt;http://www.abapprogramming.blogspot.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can also try this specific links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%201" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%201&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%202" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%202&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%203" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%203&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%204" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%204&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%205" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%205&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%206" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%206&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%207" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%207&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%208" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%208&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%209" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%209&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/search/label/BDC%2010" target="test_blank"&gt;http://abapprogramming.blogspot.com/search/label/BDC%2010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2007 17:04:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057610#M724208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-24T17:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057611#M724209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get all the messages back form the CALL TRANSACTION in to the table whit the structure BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data begin of ctumsg occurs 10.        "messages call trans.using "yht09
        include structure bdcmsgcoll.                       "yht09
data end of ctumsg.                                         "yht09

  if not ctumsg[] is initial.
*  Handle your error messages
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2007 18:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057611#M724209</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-24T18:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057612#M724210</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;Structure of  BDCMSGCOLL&lt;/P&gt;&lt;P&gt;MSGID          Message ID&lt;/P&gt;&lt;P&gt;MSGTYP      MessageType&lt;/P&gt;&lt;P&gt;MSGNR        Message Number&lt;/P&gt;&lt;P&gt;MSGV1         1st placeholder&lt;/P&gt;&lt;P&gt;MSGV2         2nd Place Holder&lt;/P&gt;&lt;P&gt;NSGV3         3rd Placce Holder&lt;/P&gt;&lt;P&gt;MSGV4         4th Place Holder    &lt;/P&gt;&lt;P&gt;To see all the messages stored by the system in the BDCMSGCOLS table we can use LOOP AT .ENDLOOP command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id50.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id50.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2007 05:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057612#M724210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-25T05:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: bdcmsgcoll</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057613#M724211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call transaction method doesn't handle error, So we should handle the error explicitly using BDCMSGCOLL structure .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure Contains following fields,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TCODE   -&amp;gt; BDC Transaction code&lt;/P&gt;&lt;P&gt;DYNAME -&amp;gt; Batch input module name&lt;/P&gt;&lt;P&gt;DYNUMB -&amp;gt; Batch input screen number&lt;/P&gt;&lt;P&gt;MSGTYP -&amp;gt;Batch input message type&lt;/P&gt;&lt;P&gt;MSGSPRA -&amp;gt; Language ID of a message&lt;/P&gt;&lt;P&gt;MSGID -&amp;gt; Batch input message ID&lt;/P&gt;&lt;P&gt;MSGNR -&amp;gt; Batch input message number&lt;/P&gt;&lt;P&gt;MSGV1 -&amp;gt; Variable part of a message&lt;/P&gt;&lt;P&gt;MSGV2 -&amp;gt; Variable part of a message&lt;/P&gt;&lt;P&gt;MSGV3 -&amp;gt; Variable part of a message&lt;/P&gt;&lt;P&gt;MSGV4 -&amp;gt; Variable part of a message&lt;/P&gt;&lt;P&gt;FLDNAME -&amp;gt; Field name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BDCMSGCOLL TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;       BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'MM01' USING BDCDATA MODE N UPDATE S MESSAGES INTO BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  PERFORM ERR.&lt;/P&gt;&lt;P&gt;  CLEAR I_MSG.&lt;/P&gt;&lt;P&gt;  REFRESH I_MSG.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  ERR&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form ERR .&lt;/P&gt;&lt;P&gt;DATA V_MSG(255) TYPE C.&lt;/P&gt;&lt;P&gt;READ TABLE I_MSG WITH KEY MSGTYP = 'E'.&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              = I_MSG-MSGID&lt;/P&gt;&lt;P&gt;     LANG            = 'E'&lt;/P&gt;&lt;P&gt;     NO              = I_MSG-MSGNR&lt;/P&gt;&lt;P&gt;     V1              = I_MSG-MSGV1&lt;/P&gt;&lt;P&gt;     V2              = I_MSG-MSGV2&lt;/P&gt;&lt;P&gt;     V3              = I_MSG-MSGV3&lt;/P&gt;&lt;P&gt;     V4              = I_MSG-MSGV4&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     MSG             = V_MSG&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;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;  WRITE V_MSG. " Error Message Displayed Here.&lt;/P&gt;&lt;P&gt;  CLEAR V_MSG.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endform.                    " ERR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 05:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdcmsgcoll/m-p/3057613#M724211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T05:16:11Z</dc:date>
    </item>
  </channel>
</rss>

