<?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 MESSAGES in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818514#M350129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;       I am selecting some data from some table.&lt;/P&gt;&lt;P&gt;If data not found i should get the following message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No number range maintained in table &amp;lt;zabc1&amp;gt; for company code &amp;lt;vbrk-bukrs&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how should i write a ERROR MESSAGE for above.&lt;/P&gt;&lt;P&gt;THE TABLE NAME SHOULD BE CONSTANCT AND COMPANY CODE VBRK-BUKRS WILL BE CONSTANT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW SHOULD I DO.&lt;/P&gt;&lt;P&gt;AHMED&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2007 05:27:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-22T05:27:11Z</dc:date>
    <item>
      <title>MESSAGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818514#M350129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;       I am selecting some data from some table.&lt;/P&gt;&lt;P&gt;If data not found i should get the following message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No number range maintained in table &amp;lt;zabc1&amp;gt; for company code &amp;lt;vbrk-bukrs&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how should i write a ERROR MESSAGE for above.&lt;/P&gt;&lt;P&gt;THE TABLE NAME SHOULD BE CONSTANCT AND COMPANY CODE VBRK-BUKRS WILL BE CONSTANT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW SHOULD I DO.&lt;/P&gt;&lt;P&gt;AHMED&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 05:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818514#M350129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T05:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818515#M350130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if itab[] is initial .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;messagee398(00) with 'No number range maintaned in table' &amp;lt;var holding tab name&amp;gt; 'for company code' &amp;lt;var holding bukrs&amp;gt; .&lt;/P&gt;&lt;P&gt;endif .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 05:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818515#M350130</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-01-22T05:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818516#M350131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select vbeln from ztable into table it_vbrk&lt;/P&gt;&lt;P&gt; where bukrs = s_bukrs.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; message e000(0) with 'Maintain data for' s_bukrs 'in table ztable'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 05:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818516#M350131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T05:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818517#M350132</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;try this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MESSAGE s005(zm00) WITH p_table p_cmpany_code.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;s005 -&amp;gt; meesage number

s-&amp;gt;status bar 

zm00 -&amp;gt; message class.&lt;/CODE&gt;&lt;/PRE&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;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 05:34:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818517#M350132</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-01-22T05:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818518#M350133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed,&lt;/P&gt;&lt;P&gt;you can use 1) message id '&amp;lt;message class&amp;gt;' type 'E' number '&amp;lt;message number in message class&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a message class in se91 and give the messages for the particular number and give the number in the above statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) MESSAGE text TYPE 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) MESSAGE e&amp;lt;number&amp;gt;(messageclass) WITH text-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pradeep Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 05:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818518#M350133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T05:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818519#M350134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed,&lt;/P&gt;&lt;P&gt;U can refer this.&lt;/P&gt;&lt;P&gt;For Eg:        Select *  &lt;/P&gt;&lt;P&gt;                            into corresponding fields of itab&lt;/P&gt;&lt;P&gt;                            from mara .&lt;/P&gt;&lt;P&gt;                  If sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;                  message A000.  --&amp;gt; error message.&lt;/P&gt;&lt;P&gt;                  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where u can maintain the A000 as the error message in the message class(se91).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neslin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 05:38:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818519#M350134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T05:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818520#M350135</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;first retrieve the data as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1 field2 from &amp;lt;dbtable&amp;gt; into table itab&lt;/P&gt;&lt;P&gt;where bukrs in s_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;message E001(ZMESSAGE).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the message class ZMESSAGE for the number 001 u should write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  'No number range maintaned in table' &amp;lt;var holding tab name&amp;gt; 'for company code' &amp;lt;var holding bukrs&amp;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;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 05:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818520#M350135</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-01-22T05:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: MESSAGES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818521#M350136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check out the 'MESSAGE' statement in the sap library.&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;Shehryar Dahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 06:50:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/messages/m-p/1818521#M350136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T06:50:57Z</dc:date>
    </item>
  </channel>
</rss>

