<?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: FOMAT_MESSAGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595046#M594331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be some type mismatch error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the import and export parameters u r passing to FM if those have the same type as required..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what I found that.. in this FM... u can pass variable of any type..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So there may be some parameter missing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all import parameters are optional.. but u have to MSGID and MSGNR to get some msg..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u provide with ur code segment u r using for this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2007 15:01:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-26T15:01:43Z</dc:date>
    <item>
      <title>FOMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595044#M594329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts &lt;/P&gt;&lt;P&gt;In BDC call transaction method i used format_message function module to trap the error. But there was some problem with the parameter which i have passed through that function module so that it shows sme dump error.&lt;/P&gt;&lt;P&gt;any body can tell me wht are the parametrs that i have to pass through the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 11:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595044#M594329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T11:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: FOMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595045#M594330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      Try with the following fm also,previously i have handled in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA :it_messtab    TYPE TABLE OF bdcmsgcoll.&lt;/P&gt;&lt;P&gt;DATA: wa_messtab    TYPE bdcmsgcoll.&lt;/P&gt;&lt;P&gt;       wa_textout    TYPE t100-text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT it_messtab INTO wa_messtab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'MESSAGE_TEXT_BUILD'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          msgid               = wa_messtab-msgid&lt;/P&gt;&lt;P&gt;          msgnr               = wa_messtab-msgnr&lt;/P&gt;&lt;P&gt;          msgv1               = wa_messtab-msgv1&lt;/P&gt;&lt;P&gt;          msgv2               = wa_messtab-msgv2&lt;/P&gt;&lt;P&gt;          msgv3               = wa_messtab-msgv3&lt;/P&gt;&lt;P&gt;          msgv4               = wa_messtab-msgv4&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          message_text_output = wa_textout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MESSAGE  wa_textout TYPE wa_messtab-msgtyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 11:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595045#M594330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T11:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: FOMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595046#M594331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be some type mismatch error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the import and export parameters u r passing to FM if those have the same type as required..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what I found that.. in this FM... u can pass variable of any type..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So there may be some parameter missing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all import parameters are optional.. but u have to MSGID and MSGNR to get some msg..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u provide with ur code segment u r using for this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 15:01:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595046#M594331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T15:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: FOMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595047#M594332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Hi Pratik,

 try this

 DATA : L_ERR_MSG(500).

ALL FUNCTION 'TB_MESSAGE_BUILD_TEXT'
       EXPORTING
            LANGU = SY-LANGU
            MSGID = SY_MSGID
            MSGNO = SY_MSGNO
            MSGV1 = SY_MSGV1
            MSGV2 = SY_MSGV2
            MSGV3 = SY_MSGV3
            MSGV4 = SY_MSGV4
       IMPORTING
            TEXT  = L_ERR_MSG.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 15:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595047#M594332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T15:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: FOMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595048#M594333</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;u can use this as well&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;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BALW_BAPIRETURN_GET2'          " to catch any error msg&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;        type   = sy-msgty&lt;/P&gt;&lt;P&gt;        cl     = sy-msgid&lt;/P&gt;&lt;P&gt;        number = sy-msgno&lt;/P&gt;&lt;P&gt;        par1   = sy-msgv1&lt;/P&gt;&lt;P&gt;        par2   = sy-msgv2&lt;/P&gt;&lt;P&gt;        par3   = sy-msgv3&lt;/P&gt;&lt;P&gt;        par4   = sy-msgv4&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   return           = pex_return&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 15:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595048#M594333</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2007-07-27T15:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: FOMAT_MESSAGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595049#M594334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;some time message type not decleared properly.&lt;/P&gt;&lt;P&gt;dump comes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so decleared message class properly.&lt;/P&gt;&lt;P&gt;please refer a funcation modules format message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import parameters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2007 02:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fomat-message/m-p/2595049#M594334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-28T02:43:59Z</dc:date>
    </item>
  </channel>
</rss>

