<?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 Message type E in ALV Grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-alv-grid/m-p/6862980#M1476026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am calling a Function Module, in my HOTSPOT_CLICK Method of the ALV Grid, that triggers a Message Type E, and after the message appears on the screen, at PAI i am thrown out of the Transaction, even /H won't work!! Did anyone have this problem before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 May 2010 06:16:41 GMT</pubDate>
    <dc:creator>former_member205645</dc:creator>
    <dc:date>2010-05-21T06:16:41Z</dc:date>
    <item>
      <title>Message type E in ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-alv-grid/m-p/6862980#M1476026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am calling a Function Module, in my HOTSPOT_CLICK Method of the ALV Grid, that triggers a Message Type E, and after the message appears on the screen, at PAI i am thrown out of the Transaction, even /H won't work!! Did anyone have this problem before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 06:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-alv-grid/m-p/6862980#M1476026</guid>
      <dc:creator>former_member205645</dc:creator>
      <dc:date>2010-05-21T06:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Message type E in ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-alv-grid/m-p/6862981#M1476027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ioan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the F1 help on the statement MESSAGE, it says that the message type E and W are meant for dialog processing (Screen-PAI), where in it permits an error dialog &amp;amp; the user can respond to it. It also says that these message types should not be used in other contexts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, the context is PROCEDURE. So, when you trigger an error message from a procedure i.e. inside the HANDLER method of the event, it results in abnormal termination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, a good idea to display the error message as TYPE 'I' and build the logic in such a way that if the error occurs, no further processing takes place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex:    IF error = true.&lt;/P&gt;&lt;P&gt;                  MESSAGE TYPE 'I'.&lt;/P&gt;&lt;P&gt;              ELSE.&lt;/P&gt;&lt;P&gt;                   processing...&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;The following lines are from the F1 HELP of statement MESSAGE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system behavior after a message of a particular type is sent is context-dependent: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages in dialog processing &lt;/P&gt;&lt;P&gt;Messages in controlprocessing &lt;/P&gt;&lt;P&gt;Messages in batch input &lt;/P&gt;&lt;P&gt;Messages in background processing &lt;/P&gt;&lt;P&gt;Messages in updating &lt;/P&gt;&lt;P&gt;Messages in conversion routines &lt;/P&gt;&lt;P&gt;Messages in procedures &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;Messages are mainly intended for use during dialog processing, and there for the event PAI. Here, messages of type "E" and "W" permit an error dialog. to be used in connection with the statement FIELD of the dynpro structure logic. Therefore, messages of type "E" or "W", in particular, should never be used in other contexts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that was helpful or if you have any question further regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Saurabh Buksh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 May 2010 22:24:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-alv-grid/m-p/6862981#M1476027</guid>
      <dc:creator>former_member776318</dc:creator>
      <dc:date>2010-05-22T22:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Message type E in ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-alv-grid/m-p/6862982#M1476028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for the answer. I did, actually, read the help for the Message command but i overlooked the "during dialog processing" part. I thought that my ALV is i a dialog processing ... anyway, thank you again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ioan Constantin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 05:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-e-in-alv-grid/m-p/6862982#M1476028</guid>
      <dc:creator>former_member205645</dc:creator>
      <dc:date>2010-05-25T05:22:44Z</dc:date>
    </item>
  </channel>
</rss>

