<?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: Creating Message class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985138#M402362</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 create in 2 ways..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in report..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z_PROGRAM&lt;/P&gt;&lt;P&gt;   LINE-COUNT 65(2)&lt;/P&gt;&lt;P&gt;   LINE-SIZE 255&lt;/P&gt;&lt;P&gt;   NO STANDARD PAGE HEADING&lt;/P&gt;&lt;P&gt;   Message-id ZMSGID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on ZMSGID and create it and provide messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other way is t-code SE91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create new ID and provide messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Feb 2007 20:33:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-19T20:33:44Z</dc:date>
    <item>
      <title>Creating Message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985136#M402360</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;Can anybody tell me how to create a message class and how to use it in the program.&lt;/P&gt;&lt;P&gt;please provide me a sample program if passible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;KP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 20:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985136#M402360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T20:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985137#M402361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi message class is created using SE91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About using it in a program while ur declaring the report u need to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zfi0042h&lt;/P&gt;&lt;P&gt;   no standard page heading&lt;/P&gt;&lt;P&gt;   message-id zclass&lt;/P&gt;&lt;P&gt;   line-size 132&lt;/P&gt;&lt;P&gt;   line-count 65.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here in this message i want to club a variable and a text together so i define message 000 in zclass with '&amp;amp;&amp;amp;&amp;amp;' that is we are going to club 3 different variables(it can be fixed values) into a message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&amp;amp;' symbol is used to populate variables into it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e000(zclass) with "This" variable "not valid".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want a standard fixed message then you define a message say 001 with "Please type something"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program u can say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e001(zclass).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if found helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 20:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985137#M402361</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2007-02-19T20:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985138#M402362</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 create in 2 ways..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in report..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z_PROGRAM&lt;/P&gt;&lt;P&gt;   LINE-COUNT 65(2)&lt;/P&gt;&lt;P&gt;   LINE-SIZE 255&lt;/P&gt;&lt;P&gt;   NO STANDARD PAGE HEADING&lt;/P&gt;&lt;P&gt;   Message-id ZMSGID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on ZMSGID and create it and provide messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other way is t-code SE91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create new ID and provide messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 20:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985138#M402362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T20:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985139#M402363</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 create and edit Message Class using Transaction SE91. Once you have created a message, you can use it in the MESSAGE statement in a program.&lt;/P&gt;&lt;P&gt;All messages are stored in table T100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating Message Classes&lt;/P&gt;&lt;P&gt;To create a new message class from the ABAP Editor:&lt;/P&gt;&lt;P&gt;1. In the initial statement (for example, REPORT) or directly in the statement MESSAGE ID &amp;lt;id&amp;gt; enter a parameter value of up to 20 characters as a message ID, for example:&lt;/P&gt;&lt;P&gt;REPORT &amp;lt;name&amp;gt; MESSAGE-ID &amp;lt;message class&amp;gt;.&lt;/P&gt;&lt;P&gt;Messages are stored system-wide. The chosen message ID (message class) must not already exist in the system.&lt;/P&gt;&lt;P&gt;2. Double-click the message ID.&lt;/P&gt;&lt;P&gt;If you enter an ID that already exists in the system, the system calls up Message maintenance. In this case, enter a different ID. Once you have done this, the system asks you whether you want to create a new message class.&lt;/P&gt;&lt;P&gt;3. Choose Yes.&lt;/P&gt;&lt;P&gt;The system calls up Message maintenance.&lt;/P&gt;&lt;P&gt;4. Enter a brief description of the class in Short text.&lt;/P&gt;&lt;P&gt;5. Choose Save. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, please check this link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801b3e454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801b3e454211d189710000e8322d00/frameset.htm&lt;/A&gt;&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>Mon, 19 Feb 2007 20:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985139#M402363</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-02-19T20:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985140#M402364</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;REPORT KP NO STANDARD PAGE HEADING MESSAGEID ZKP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now double click on ZKP.It will take you to SE91 transaction where you can create the customised messages as per you requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 03:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985140#M402364</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-02-20T03:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985141#M402365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Message classes are created from the transaction SE91 . &lt;/P&gt;&lt;P&gt;The usage of the message class in the program is as follows :&lt;/P&gt;&lt;P&gt;MESSAGE E001(&amp;lt;message class&amp;gt;)&lt;/P&gt;&lt;P&gt;Where E stands for the type of the error that you want to throw which can be either Error Message ( E ) or Information message ( I ) or a Warning Message ( W ) or an Abend Message ( A ) which is followed by the message number defined in the message class .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sowmya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 03:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985141#M402365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T03:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985142#M402366</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;Message classes can be in defined in many forms like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; message innn(mmm) &lt;/P&gt;&lt;P&gt;where mmm is the message class and the nnn is the message&lt;/P&gt;&lt;P&gt;for example :&lt;/P&gt;&lt;P&gt;message i002(001)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;gt; message id mmm type x number nnn&lt;/P&gt;&lt;P&gt;where x may be 'I' or 'E' -- type of message&lt;/P&gt;&lt;P&gt;for example :&lt;/P&gt;&lt;P&gt;message id '001' type 'I' number '002'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3&amp;gt; message innn.&lt;/P&gt;&lt;P&gt;for example :&lt;/P&gt;&lt;P&gt;message i001.&lt;/P&gt;&lt;P&gt;In the above case the message id is tot be specified in the message statement.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;REPORT ZRULE111 message-id 001. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try out this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 03:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985142#M402366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T03:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985143#M402367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  go to the Transaction se91. Give the message class name and create.&lt;/P&gt;&lt;P&gt;Message class will be created . then create the appropriate messages in that created class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the created message class in the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report xyz message-id messageclass name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or without specifying in the report header also we can use the message class as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message messagetype(message number)(created message class name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more information refer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801b3e454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801b3e454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 04:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-message-class/m-p/1985143#M402367</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-02-20T04:01:59Z</dc:date>
    </item>
  </channel>
</rss>

