<?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 statement in Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-statement-in-function-module/m-p/5293500#M1220975</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;When a message statement is placed in the FM along with RAISING exception, is there any way to read the message in the calling program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: In FM, there is a statement as &lt;/P&gt;&lt;P&gt;MESSAGE ID 'GR'  TYPE 'S'  NUMBER '100' &lt;/P&gt;&lt;P&gt;      WITH v_name&lt;/P&gt;&lt;P&gt;       RAISING name_found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program, i am calling this FM. Is there anyway to read the message 100 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2009 01:22:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-18T01:22:42Z</dc:date>
    <item>
      <title>Message statement in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-statement-in-function-module/m-p/5293500#M1220975</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;When a message statement is placed in the FM along with RAISING exception, is there any way to read the message in the calling program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: In FM, there is a statement as &lt;/P&gt;&lt;P&gt;MESSAGE ID 'GR'  TYPE 'S'  NUMBER '100' &lt;/P&gt;&lt;P&gt;      WITH v_name&lt;/P&gt;&lt;P&gt;       RAISING name_found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program, i am calling this FM. Is there anyway to read the message 100 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 01:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-statement-in-function-module/m-p/5293500#M1220975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T01:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Message statement in Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-statement-in-function-module/m-p/5293501#M1220976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, check fields system structure SY with fields like  SY-MSGV[1-4], SY-MSGID and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 01:32:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-statement-in-function-module/m-p/5293501#M1220976</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2009-03-18T01:32:56Z</dc:date>
    </item>
  </channel>
</rss>

