<?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 F.M.      FORMAT_MESSAGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-m-format-message/m-p/3730052#M897761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)What is the &lt;STRONG&gt;purpose&lt;/STRONG&gt; of F.M&lt;/P&gt;&lt;P&gt;FORMAT_MESSAGE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) How above function module&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is useful in bdc call transaction method.?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please explain with sample code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 May 2008 15:15:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-01T15:15:52Z</dc:date>
    <item>
      <title>F.M.      FORMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-m-format-message/m-p/3730052#M897761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)What is the &lt;STRONG&gt;purpose&lt;/STRONG&gt; of F.M&lt;/P&gt;&lt;P&gt;FORMAT_MESSAGE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) How above function module&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is useful in bdc call transaction method.?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please explain with sample code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 15:15:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-m-format-message/m-p/3730052#M897761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T15:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: F.M.      FORMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-m-format-message/m-p/3730053#M897762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this FM is used to format the message which we receive in bdc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use bdcmsgcoll structure to catch the error message from the call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then pass the values to this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without using this FM, u can take care of the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 15:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-m-format-message/m-p/3730053#M897762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T15:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: F.M.      FORMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-m-format-message/m-p/3730054#M897763</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;Format_Message FM is using to format the message to show the output&lt;/P&gt;&lt;P&gt;as a standard message.  You have to pass this FM all standardard system variables only it will imports a message into a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using that table you can display the messges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 16:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-m-format-message/m-p/3730054#M897763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T16:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: F.M.      FORMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f-m-format-message/m-p/3730055#M897764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ip_bdcmsgcoll is the table that we get from call transaction..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:ip_bdcmsgcoll structure bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  read  table ip_bdcmsgcoll with key msgtyp = 'E' binary search .

  if sy-subrc = 0.
    call function 'FORMAT_MESSAGE'
      exporting
        id        = ip_bdcmsgcoll-msgid
        lang      = '-E'
        no        = ip_bdcmsgcoll-msgnr
        v1        = ip_bdcmsgcoll-msgv1
        v2        = ip_bdcmsgcoll-msgv2
        v3        = ip_bdcmsgcoll-msgv3
        v4        = ip_bdcmsgcoll-msgv4
      importing
        msg       = vl_message
      exceptions
        not_found = 1
        others    = 2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 16:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f-m-format-message/m-p/3730055#M897764</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-05-01T16:26:13Z</dc:date>
    </item>
  </channel>
</rss>

