<?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 (ABAP Statement) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986835#M1493384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ,&lt;/P&gt;&lt;P&gt;the error it is giving is correct ,&lt;/P&gt;&lt;P&gt;You need to call the Message statement as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE { msg | txt } [message_options]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A three digit number along with type of error needs to be specified in this command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg&lt;/P&gt;&lt;P&gt;MESSAGE i014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE i014(MESSAGE CLASS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 014 is a message number where you have written your actual message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do a f1 on Message and can see its various syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uma Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2010 05:48:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-22T05:48:08Z</dc:date>
    <item>
      <title>Message (ABAP Statement)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986833#M1493382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I gave the following code in ECC 6 BOR ABAP editor and it works perfect.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;IF text[] IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE 'Can not exit without entering text.' TYPE 'S'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I use the same in 4.6c BOR ABAP Editor(as I have the same requirement), it gives me the following error.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Three-digit error number XXX required in the "MESSAGE EXXX..." statement&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 05:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986833#M1493382</guid>
      <dc:creator>former_member184495</dc:creator>
      <dc:date>2010-06-22T05:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Message (ABAP Statement)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986834#M1493383</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;Its asking for the message class number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want replicate same thing in 4.6  give the message in the message class and then use like below statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e300(zm) .&lt;/P&gt;&lt;P&gt;Here zm is the message class and 300  is the message (Can not exit with out entries) and the message type 'Error' &lt;/P&gt;&lt;P&gt;if you want 'S' give 'S' instead of 'E'.&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;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 05:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986834#M1493383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T05:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Message (ABAP Statement)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986835#M1493384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ,&lt;/P&gt;&lt;P&gt;the error it is giving is correct ,&lt;/P&gt;&lt;P&gt;You need to call the Message statement as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE { msg | txt } [message_options]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A three digit number along with type of error needs to be specified in this command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg&lt;/P&gt;&lt;P&gt;MESSAGE i014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE i014(MESSAGE CLASS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 014 is a message number where you have written your actual message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do a f1 on Message and can see its various syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uma Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 05:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986835#M1493384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T05:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Message (ABAP Statement)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986836#M1493385</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;It will be work in 4.6&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MESSAGE ID 'SD' TYPE 'S' NUMBER '775' WITH 'Can not exit without entering text.'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 05:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986836#M1493385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T05:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Message (ABAP Statement)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986837#M1493386</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;my problem is that am not using normal ABAP Editor(SE38), am using SWO1 (BOR ABAP Editor), so before I do any changes in the code I need to verify if Message class options which you gave would work.&lt;/P&gt;&lt;P&gt;Now as said earlier, if I use my code (which I have posted) it works perfect in ECC (BOR ABAP Editor), so why not with 4.6C?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S Dzed M, your code is working fine, could you tell me what your code means&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MESSAGE ID 'SD' TYPE 'S' NUMBER '775'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aditya Varrier on Jun 22, 2010 11:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 06:15:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986837#M1493386</guid>
      <dc:creator>former_member184495</dc:creator>
      <dc:date>2010-06-22T06:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Message (ABAP Statement)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986838#M1493387</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;It is because syntax for keyword &lt;STRONG&gt;Message&lt;/STRONG&gt; is different in 4.6 and ECC.&lt;/P&gt;&lt;P&gt;This does not depend on editor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 06:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986838#M1493387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T06:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Message (ABAP Statement)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986839#M1493388</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;SD - it is message class&lt;/P&gt;&lt;P&gt;775 - it is message number in this class.&lt;/P&gt;&lt;P&gt;In this instance message 775 - it is empty message for free text.&lt;/P&gt;&lt;P&gt;You may to find it yourself in table T100 or in t-code SE91&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 06:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986839#M1493388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T06:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Message (ABAP Statement)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986840#M1493389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Dzed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 08:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-abap-statement/m-p/6986840#M1493389</guid>
      <dc:creator>former_member184495</dc:creator>
      <dc:date>2010-06-22T08:35:25Z</dc:date>
    </item>
  </channel>
</rss>

