<?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 class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638228#M876226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;report name message-id zred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click zred will bring the message class screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There create a message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message I010(zred) with wa_xxxx-yyyy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_xxxx- work area name&lt;/P&gt;&lt;P&gt;yyyy- vendor document number variable.&lt;/P&gt;&lt;P&gt;zred - message class&lt;/P&gt;&lt;P&gt;I010- Information message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the message class zred &lt;/P&gt;&lt;P&gt;010 'Give your text message along with  &amp;amp;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; will replace the value of the variable used in the message statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2008 10:13:11 GMT</pubDate>
    <dc:creator>UmaArjunan</dc:creator>
    <dc:date>2008-04-04T10:13:11Z</dc:date>
    <item>
      <title>message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638224#M876222</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;&lt;/P&gt;&lt;P&gt;i have a problem i.e., where as in the internal table there is some data regarding vendor and document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if in the internal table gt_itab , suppose for particular vendor eg 1234 has no document no 3031456.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then a message has to display saying for the vendor 1234 there no document no 3031456.&lt;/P&gt;&lt;P&gt;how to get this message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to write in message class, do we need to give &amp;amp;  or internal table.&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 09:58:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638224#M876222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T09:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638225#M876223</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;Give &amp;amp; in definition of message in se91(to create message class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;--Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 10:05:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638225#M876223</guid>
      <dc:creator>pradeep_nellore</dc:creator>
      <dc:date>2008-04-04T10:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638226#M876224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Follow the steps bellow,i hope it will solve your problem.&lt;/P&gt;&lt;P&gt;1.Select the data into internal table.&lt;/P&gt;&lt;P&gt;2.Read the internal table data by using READ statement.&lt;/P&gt;&lt;P&gt;3.Check if document number is initial then write code as&lt;/P&gt;&lt;P&gt;   MESSAGE W001(ZMSG).&lt;/P&gt;&lt;P&gt;4.Double click on ZMSG then it will go to message class to&lt;/P&gt;&lt;P&gt;   create it.&lt;/P&gt;&lt;P&gt;5.Save the message class and come back to your original code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward,if useful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 10:08:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638226#M876224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T10:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638227#M876225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : msg_text type string,&lt;/P&gt;&lt;P&gt;IF itfinal[] IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE 'No Values exist for the Selection.' TYPE 'S'.&lt;/P&gt;&lt;P&gt;STOP.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;describe table itfinal lines number.&lt;/P&gt;&lt;P&gt;concatenate 'Total no of vendors' number into msg_text SEPARATED BY '-'.&lt;/P&gt;&lt;P&gt;message msg_text type 'S'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the above one as template to get the desried result.The above one gets the total no of records in the internal table and displays as a success message one the report gets executed.In the same way you can check &lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;if itab-docno is initial&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&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>Fri, 04 Apr 2008 10:10:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638227#M876225</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2008-04-04T10:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638228#M876226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;report name message-id zred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click zred will bring the message class screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There create a message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message I010(zred) with wa_xxxx-yyyy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_xxxx- work area name&lt;/P&gt;&lt;P&gt;yyyy- vendor document number variable.&lt;/P&gt;&lt;P&gt;zred - message class&lt;/P&gt;&lt;P&gt;I010- Information message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the message class zred &lt;/P&gt;&lt;P&gt;010 'Give your text message along with  &amp;amp;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; will replace the value of the variable used in the message statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 10:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-class/m-p/3638228#M876226</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2008-04-04T10:13:11Z</dc:date>
    </item>
  </channel>
</rss>

