<?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 ID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053099#M423481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.  This extension of the REPORT statement is used to define the default message id in your report.  For example, say you have some validation in your report and you need to issue a message.  You must know that all messages are stored in message classes.  So if you use the MESSAGE ID in the REPORT statement , you do not have to mention the messgae class in the MESSAGE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Message E001 with 'This is the message'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you do not have a message id in the REPORT statement,you must tell the program which message class that the message belongs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Message E001(00) with 'This is the message'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here 00 is the messgae class which is the value that you would specify in the MESSAGE ID  in the REPORT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2007 19:23:02 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-03-20T19:23:02Z</dc:date>
    <item>
      <title>Message ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053096#M423478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Could anyone give me the functionality of  "MESSAGE-ID mid " addition  in Report  with a small example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with Regards,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 19:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053096#M423478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T19:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Message ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053097#M423479</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;Example&lt;/P&gt;&lt;P&gt;REPORT RSTEST00 LINE-SIZE 132&lt;/P&gt;&lt;P&gt;                LINE-COUNT 65&lt;/P&gt;&lt;P&gt;                MESSAGE-ID SU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID id TYPE mtype NUMBER n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID message class&lt;/P&gt;&lt;P&gt;TYPE message type&lt;/P&gt;&lt;P&gt;NUMBER message number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. MESSAGE ID 'SU' TYPE 'E' NUMBER '004' WITH 'Hello'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example displays message 004 from message class SU as an error message, and its first placeholder is&lt;/P&gt;&lt;P&gt;replaced with 'Hello'.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 19:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053097#M423479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T19:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Message ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053098#M423480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will call the message ID mid as created in SE91 to your report.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/cd/5892c9b06311d2957b00a0c94260a5/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/cd/5892c9b06311d2957b00a0c94260a5/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 19:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053098#M423480</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-03-20T19:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Message ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053099#M423481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.  This extension of the REPORT statement is used to define the default message id in your report.  For example, say you have some validation in your report and you need to issue a message.  You must know that all messages are stored in message classes.  So if you use the MESSAGE ID in the REPORT statement , you do not have to mention the messgae class in the MESSAGE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Message E001 with 'This is the message'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you do not have a message id in the REPORT statement,you must tell the program which message class that the message belongs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Message E001(00) with 'This is the message'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here 00 is the messgae class which is the value that you would specify in the MESSAGE ID  in the REPORT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 19:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053099#M423481</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-20T19:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Message ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053100#M423482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi satya,&lt;/P&gt;&lt;P&gt;   Message id in the report is used to include that message class in to the report. so that v can use the message ids in ur report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before declaring the message id in the report, v have to create that one using t/d se91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report zarun message-id zzmsg no standard page heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;AT selection-screen.&lt;/P&gt;&lt;P&gt;select single * into itab from mara where matnr = mat.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;message I001.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can straight away use in the message stmt without using it in the report addition, like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message I001(zzmsg) with 'no data exist'.&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;Arun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 19:27:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-id/m-p/2053100#M423482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T19:27:55Z</dc:date>
    </item>
  </channel>
</rss>

