<?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: regarding messages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805963#M1125109</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;I think the problem is not with your message statement I think in your case &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if var ca 'a'&lt;/STRONG&gt; might not be working as desired .&lt;/P&gt;&lt;P&gt;Check if you can replace this with some other alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Nov 2008 07:14:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-30T07:14:25Z</dc:date>
    <item>
      <title>regarding messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805959#M1125105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following is the code , when executed the write statement is not getting  executed, since i have framed a warning message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;along with the warning message ,write statement should be executed.  is it possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data  : var type char3.&lt;/P&gt;&lt;P&gt;        var = 'sap'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if var ca 'a'.&lt;/P&gt;&lt;P&gt;  MESSAGE W001(id-001) WITH 'a PRESENT'.&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;   MESSAGE S001(ID-002) WITH ' a NOT PRESENT'.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'report executed'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Nov 2008 06:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805959#M1125105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-30T06:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: regarding messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805960#M1125106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai create a message class for your program &lt;/P&gt;&lt;P&gt;message class t-code se91 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT reportname  MESSAGE-ID messageclass name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : var type char3.&lt;/P&gt;&lt;P&gt;var = 'sap'.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;if var ca 'a'.&lt;/P&gt;&lt;P&gt;  MESSAGE I001."'a' present&lt;/P&gt;&lt;P&gt;  write :/'report executed'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  message I002."'a' not present &lt;/P&gt;&lt;P&gt;  write :/'report executed'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I001 &amp;amp; i002 will contain your message.&lt;/P&gt;&lt;P&gt;try this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt; chinni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Nov 2008 06:36:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805960#M1125106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-30T06:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: regarding messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805961#M1125107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chinni,&lt;/P&gt;&lt;P&gt;the message should be a warning message ie of type W&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rae z on Nov 30, 2008 7:40 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rae z on Nov 30, 2008 7:41 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Nov 2008 06:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805961#M1125107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-30T06:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: regarding messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805962#M1125108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai there 5 types of messages &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A-abort &lt;/P&gt;&lt;P&gt; E-error &lt;/P&gt;&lt;P&gt; I-information &lt;/P&gt;&lt;P&gt;s-&lt;/P&gt;&lt;P&gt; W-warning  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just replace the letters in the message no.&lt;/P&gt;&lt;P&gt;ex :&lt;/P&gt;&lt;P&gt;MESSAGE W001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOU WILL GET THE WARNING ICON .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Nov 2008 06:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805962#M1125108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-30T06:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: regarding messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805963#M1125109</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;I think the problem is not with your message statement I think in your case &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if var ca 'a'&lt;/STRONG&gt; might not be working as desired .&lt;/P&gt;&lt;P&gt;Check if you can replace this with some other alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Nov 2008 07:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805963#M1125109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-30T07:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: regarding messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805964#M1125110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use information message instead of warning.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZAMIT.

data : var type char3.
var = 'sap'.

start-of-selection.

if var ca 'a'.
MESSAGE 'a PRESENT'TYPE 'I'."Information message instead of warning
*BREAK-POINT.
ELSE.
MESSAGE 'a NOT PRESENT' TYPE 'W'.
ENDIF.

write :/ 'report executed'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Nov 2008 07:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805964#M1125110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-30T07:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: regarding messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805965#M1125111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Nov 2008 08:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-messages/m-p/4805965#M1125111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-30T08:08:06Z</dc:date>
    </item>
  </channel>
</rss>

