<?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 in Status Bar while using ALV Objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-in-status-bar-while-using-alv-objects/m-p/4288464#M1022995</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;Yes, it is possible.  You can do it using the ALV Object Model (ALV OO methods) within an event handler method.  For example, the event "added_function of cl_salv_events" can be used and you can add code similar to the following code within the event handler method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CASE e_salv_function.
  WHEN 'XYZ'.
  ...
    MESSAGE w001(00) WITH 'Message text goes here...'.
  ...
ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The warning message will either show up as a popup or in the status bar depending on your user settings.  Of course, you can also use other message types (e.g. I, E, S) or other message techniques besides the message statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2008 14:58:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-05T14:58:46Z</dc:date>
    <item>
      <title>Message in Status Bar while using ALV Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-in-status-bar-while-using-alv-objects/m-p/4288463#M1022994</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;If we use ALV in objects (Build in class and methods for ALV),is it possible to display a error message using Message statement in Status bar.&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>Tue, 05 Aug 2008 10:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-in-status-bar-while-using-alv-objects/m-p/4288463#M1022994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-05T10:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Message in Status Bar while using ALV Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-in-status-bar-while-using-alv-objects/m-p/4288464#M1022995</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;Yes, it is possible.  You can do it using the ALV Object Model (ALV OO methods) within an event handler method.  For example, the event "added_function of cl_salv_events" can be used and you can add code similar to the following code within the event handler method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CASE e_salv_function.
  WHEN 'XYZ'.
  ...
    MESSAGE w001(00) WITH 'Message text goes here...'.
  ...
ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The warning message will either show up as a popup or in the status bar depending on your user settings.  Of course, you can also use other message types (e.g. I, E, S) or other message techniques besides the message statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 14:58:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-in-status-bar-while-using-alv-objects/m-p/4288464#M1022995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-05T14:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Message in Status Bar while using ALV Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-in-status-bar-while-using-alv-objects/m-p/4288465#M1022996</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;yes you can do that. message command will work with ALV OOPS as well.&lt;/P&gt;&lt;P&gt;for displaying message in status bar you need to throw either 'E' or 'S' message type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve you query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kamesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 15:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-in-status-bar-while-using-alv-objects/m-p/4288465#M1022996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-05T15:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Message in Status Bar while using ALV Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-in-status-bar-while-using-alv-objects/m-p/4288466#M1022997</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;A very simple way of sending a message is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MESSAGE '&amp;lt;text of message&amp;gt;' TYPE 'S'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 20:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-in-status-bar-while-using-alv-objects/m-p/4288466#M1022997</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-08-05T20:52:38Z</dc:date>
    </item>
  </channel>
</rss>

