<?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: error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4153099#M993027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this way.. using the Format message function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: msgid TYPE sy-msgid,
      msgno TYPE sy-msgno,
      msety TYPE sy-msgty,
      msgv1 TYPE sy-msgv1,
      text(100).

msgid = 'ZZ'.
msgno = '000'.
msgv1 = 'Your Message Goes Here' .
CALL FUNCTION 'FORMAT_MESSAGE'
 EXPORTING
   id              = msgid
   lang            = sy-langu
   no              = msgno
   v1              = msgv1
*   V2              = SY-MSGV2
*   V3              = SY-MSGV3
*   V4              = SY-MSGV4
 IMPORTING
   msg             = text
 EXCEPTIONS
   not_found       = 1
   OTHERS          = 2
          .
IF sy-subrc EQ 0.
  MESSAGE  text TYPE 'W' .
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2008 14:22:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-24T14:22:11Z</dc:date>
    <item>
      <title>error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4153098#M993026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello tout le monde, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone tell me how intruduce dynamic values with this kind of message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message 'Your Message Goes Here' TYPE 'W' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 14:09:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4153098#M993026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T14:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4153099#M993027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this way.. using the Format message function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: msgid TYPE sy-msgid,
      msgno TYPE sy-msgno,
      msety TYPE sy-msgty,
      msgv1 TYPE sy-msgv1,
      text(100).

msgid = 'ZZ'.
msgno = '000'.
msgv1 = 'Your Message Goes Here' .
CALL FUNCTION 'FORMAT_MESSAGE'
 EXPORTING
   id              = msgid
   lang            = sy-langu
   no              = msgno
   v1              = msgv1
*   V2              = SY-MSGV2
*   V3              = SY-MSGV3
*   V4              = SY-MSGV4
 IMPORTING
   msg             = text
 EXCEPTIONS
   not_found       = 1
   OTHERS          = 2
          .
IF sy-subrc EQ 0.
  MESSAGE  text TYPE 'W' .
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 14:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4153099#M993027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T14:22:11Z</dc:date>
    </item>
  </channel>
</rss>

