<?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 Format_message function module in call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967838#M947840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using 'FORMAT_MESSAGE' you will get the exact message in English.&lt;/P&gt;&lt;P&gt;In the importing parameter you will receive the message into variable 'msg', which you can write in the report output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME21' USING bdcdata MODE 'N' UPDATE 'S' MESSAGES INTO it_message.&lt;/P&gt;&lt;P&gt;LOOP AT it_message.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        id        = it_message-msgid&lt;/P&gt;&lt;P&gt;        lang      = it_message-msgspra&lt;/P&gt;&lt;P&gt;        no        = it_message-msgnr&lt;/P&gt;&lt;P&gt;        v1        = it_message-msgv1&lt;/P&gt;&lt;P&gt;        v2        = it_message-msgv2&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;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2008 07:25:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-13T07:25:24Z</dc:date>
    <item>
      <title>Regarding Format_message function module in call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967832#M947834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Call tranasction error handling if sy-subrc ne 0 we will move&lt;/P&gt;&lt;P&gt;into one internal table and we can download it to presentaion server using WS_download so why do we use FORMAT_MESSAGE wht is the use of that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jagadeeshwar.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 15:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967832#M947834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T15:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Format_message function module in call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967833#M947835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FORMAT_MESSAGE  will give you actual message based on the message id, message no, and message variables.&lt;/P&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>Thu, 12 Jun 2008 15:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967833#M947835</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-06-12T15:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Format_message function module in call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967834#M947836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The messages returned by the call transaction BDCMSGCOLL Internal table will not make any sense to the business user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If youuse FORMAT_MESSAGE fm you wil get a proper english text for the message .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 15:16:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967834#M947836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T15:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Format_message function module in call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967835#M947837</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;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=12785275&amp;amp;messageID=4901280" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=12785275&amp;amp;messageID=4901280&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 15:17:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967835#M947837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T15:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Format_message function module in call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967836#M947838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nimesh for quick response, so format_message gives predifined system mesages. then how does the user identify which is the error record based on format_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or does format_message gives any idea of the record that has been errored out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jagadeesh B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 15:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967836#M947838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T15:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Format_message function module in call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967837#M947839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi Kanth, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer, with using format_message function module how would be the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jagadeeswar.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 07:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967837#M947839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T07:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Format_message function module in call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967838#M947840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using 'FORMAT_MESSAGE' you will get the exact message in English.&lt;/P&gt;&lt;P&gt;In the importing parameter you will receive the message into variable 'msg', which you can write in the report output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ME21' USING bdcdata MODE 'N' UPDATE 'S' MESSAGES INTO it_message.&lt;/P&gt;&lt;P&gt;LOOP AT it_message.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        id        = it_message-msgid&lt;/P&gt;&lt;P&gt;        lang      = it_message-msgspra&lt;/P&gt;&lt;P&gt;        no        = it_message-msgnr&lt;/P&gt;&lt;P&gt;        v1        = it_message-msgv1&lt;/P&gt;&lt;P&gt;        v2        = it_message-msgv2&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;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 07:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967838#M947840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T07:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Format_message function module in call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967839#M947841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  jagadeesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION tcode USING lt_bdcdata&lt;/P&gt;&lt;P&gt;                             MODE 'E' MESSAGES INTO itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now itab contains only message no and message Id and not the actual message.&lt;/P&gt;&lt;P&gt;So to get the actual message we use 'Format_message' .In format_message we pass message id, message number and language .so based on these we get the exact message from T100 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin M M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 07:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-format-message-function-module-in-call-transaction/m-p/3967839#M947841</guid>
      <dc:creator>sachin_mathapati</dc:creator>
      <dc:date>2008-06-13T07:32:48Z</dc:date>
    </item>
  </channel>
</rss>

