<?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: Message handling in  ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436404#M825243</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;check 4th one.&lt;/P&gt;&lt;P&gt; .&lt;/P&gt;&lt;P&gt;1.REPORT rep MESSAGE-ID sabapdocu. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;MESSAGE i014. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.REPORT ... &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;MESSAGE i014(sabapdocu).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.DATA: mid  TYPE sy-msgid VALUE 'SABAPDOCU', &lt;/P&gt;&lt;P&gt;      mtype TYPE sy-msgty VALUE 'I', &lt;/P&gt;&lt;P&gt;      num  TYPE sy-msgno VALUE '014'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID mid TYPE mtype NUMBER num. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.   MESSAGE 'Message in a Method' TYPE 'I'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 14, 2008 12:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2008 11:38:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-14T11:38:36Z</dc:date>
    <item>
      <title>Message handling in  ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436401#M825240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do invoke a message in  ABAP program without defending the message-id in the report header?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 11:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436401#M825240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T11:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Message handling in  ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436402#M825241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dudette,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only system messages are issued without the inclusion of &lt;/P&gt;&lt;P&gt;Message-Class addition to the Report statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For issuing your own messages you shoud definitely &lt;/P&gt;&lt;P&gt;specify the message-class containing the messages you use &lt;/P&gt;&lt;P&gt;in that report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshmanan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 14, 2008 12:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 11:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436402#M825241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T11:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Message handling in  ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436403#M825242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chitra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer program DEMO_MESSAGES on how to provide message without Message-ID in report header.&lt;/P&gt;&lt;P&gt;e.g.    MESSAGE i888(sabapdocu)&lt;/P&gt;&lt;P&gt;                WITH 'No exception raised in function module'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 11:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436403#M825242</guid>
      <dc:creator>Lakshmant1</dc:creator>
      <dc:date>2008-02-14T11:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Message handling in  ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436404#M825243</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;check 4th one.&lt;/P&gt;&lt;P&gt; .&lt;/P&gt;&lt;P&gt;1.REPORT rep MESSAGE-ID sabapdocu. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;MESSAGE i014. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.REPORT ... &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;MESSAGE i014(sabapdocu).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.DATA: mid  TYPE sy-msgid VALUE 'SABAPDOCU', &lt;/P&gt;&lt;P&gt;      mtype TYPE sy-msgty VALUE 'I', &lt;/P&gt;&lt;P&gt;      num  TYPE sy-msgno VALUE '014'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID mid TYPE mtype NUMBER num. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.   MESSAGE 'Message in a Method' TYPE 'I'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 14, 2008 12:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 11:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436404#M825243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T11:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Message handling in  ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436405#M825244</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;you can do by following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE s418(ztest).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where "ztest" is message class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 11:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436405#M825244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T11:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Message handling in  ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436406#M825245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MESSAGE  ext TYPE mtype ... . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This variant sends a character string contained in text as a message of the message type specified in mtype. You can enter a character-type data object text, which will be used as a short text for the message. Only the first 300 characters in text are taken into account. No long text can be defined for a message of this type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For mtype, a character-type data object is expected, which must contain the message type in capital letters. Invalid message types generate an untreatable exception. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;: In this variant, the additions WITH and INTO are not allowed in message_options. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If field symbols or formal parameters of the type any or data are specified for text, these must be of character type when the statement is executed. The syntactically identical variant MESSAGE oref cannot be executed with generically typed field symbols or formal parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the system fields sy-msgid and sy-msgno are filled unspecifically when a character string is entered, this variant should only be used on rare occasions if the content of the system fields is not required for identification of the message. Otherwise, in all cases in which messages are transferred (for example, from function modules) or logged (for example, in batch input) using these system fields, language-independent access to the message text would be lost. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;: Output of an exception text as an information message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: oref TYPE REF TO cx_sy_arithmetic_error, &lt;/P&gt;&lt;P&gt;      text TYPE string. &lt;/P&gt;&lt;P&gt;TRY. &lt;/P&gt;&lt;P&gt;  ... &lt;/P&gt;&lt;P&gt;  CATCH cx_sy_arithmetic_error INTO oref. &lt;/P&gt;&lt;P&gt;    text = oref-&amp;gt;get_text( ). &lt;/P&gt;&lt;P&gt;    MESSAGE text TYPE 'I'. &lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 11:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-handling-in-abap-program/m-p/3436406#M825245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T11:47:45Z</dc:date>
    </item>
  </channel>
</rss>

