<?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: transcation code for error messages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176953#M124577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sey Ni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;what is the transaction code for getting the system error messages?&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code :- St22  &lt;/P&gt;&lt;P&gt;For Short dumps and system errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;And how can I create my own error messages?&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code :- Se91&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check ny Existing 1 :- &lt;/P&gt;&lt;P&gt;Message class - XS  &lt;/P&gt;&lt;P&gt;Message Number - 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create ur Own&lt;/P&gt;&lt;P&gt;Create a Message Class ex:- Zmsg , click on Message tab&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;here u can give message in front of number assigned say 001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the following link:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801b3e454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801b3e454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can call this message in ur ABAP program as under:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;MESSAGE &amp;lt;b&amp;gt;E&amp;lt;/b&amp;gt;001(&amp;lt;b&amp;gt;zmsg&amp;lt;/b&amp;gt;)." &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E - Error message.  I - Information message.   S - Sucess message...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;001 - Msg. Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zmsg - Message Class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press F1 for more help on message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;Sachin Dhingra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2006 05:35:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-16T05:35:00Z</dc:date>
    <item>
      <title>transcation code for error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176948#M124572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;what is the transaction code for getting the system error messages?And how can I create my own error messages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg: in a program, i want to show an error message to the user when the data is not showing up properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2006 22:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176948#M124572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-15T22:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: transcation code for error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176949#M124573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to transaction SE91. You can create message classes and messages there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2006 22:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176949#M124573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-15T22:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: transcation code for error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176950#M124574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use T/code SE91 and create an error message in a message class. Then use the message in your program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Program : Added Lines Underlined .&lt;/P&gt;&lt;P&gt;ZINDEX --&amp;gt; Message Class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Zprogram INE-SIZE 132&lt;/P&gt;&lt;P&gt;        LINE-COUNT 65&lt;/P&gt;&lt;P&gt;        &amp;lt;u&amp;gt;MESSAGE-ID ZINDEX&amp;lt;/u&amp;gt;        NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- use error message in your program&lt;/P&gt;&lt;P&gt;MESSAGE E001 WITH TEXT-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT-002 : will be maintaine via T/code SE91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Lanka Murthy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2006 22:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176950#M124574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-15T22:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: transcation code for error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176951#M124575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SE91 is the "Message Maintenance" transaction.  Here you can search for existing messages and create new messages for use in the MESSAGE statement within your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;James Gaddis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2006 22:28:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176951#M124575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-15T22:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: transcation code for error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176952#M124576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sey,&lt;/P&gt;&lt;P&gt;I am not clear about your question.&lt;/P&gt;&lt;P&gt;But anyways here is my point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.If you want to see the Errors/Warning Messages while running a Transaction in No Screen Mode(N), you have to declare an internal table in the program and that internal table will be populated  with the Errors/Warning Messages occured while running the transaction. You have to display them after the Transaction is over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.If you want to display a Error/Warning Message in the Status Bar in your program when some specific condition is triggered, you have to create all your messages in the SE91. Then call your message by clicking the PATTERN button and entering yor message details and the Message Category as E.&lt;/P&gt;&lt;P&gt;If you want to show the Message in a pop-up, enter the Message Category as I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the Code Extract:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER: P_NUMBER TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P_NUMBER IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE I000(ZVAI).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  This is an error Message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vaitheeswaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 04:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176952#M124576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T04:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: transcation code for error messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176953#M124577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sey Ni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;what is the transaction code for getting the system error messages?&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code :- St22  &lt;/P&gt;&lt;P&gt;For Short dumps and system errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;And how can I create my own error messages?&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code :- Se91&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check ny Existing 1 :- &lt;/P&gt;&lt;P&gt;Message class - XS  &lt;/P&gt;&lt;P&gt;Message Number - 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create ur Own&lt;/P&gt;&lt;P&gt;Create a Message Class ex:- Zmsg , click on Message tab&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;here u can give message in front of number assigned say 001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the following link:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801b3e454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801b3e454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can call this message in ur ABAP program as under:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;MESSAGE &amp;lt;b&amp;gt;E&amp;lt;/b&amp;gt;001(&amp;lt;b&amp;gt;zmsg&amp;lt;/b&amp;gt;)." &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E - Error message.  I - Information message.   S - Sucess message...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;001 - Msg. Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zmsg - Message Class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press F1 for more help on message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;Sachin Dhingra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 05:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transcation-code-for-error-messages/m-p/1176953#M124577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T05:35:00Z</dc:date>
    </item>
  </channel>
</rss>

