<?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: RAISE EXCEPTION dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054592#M969236</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;U just maintain in ur FM like below instead of RAISE ERROR_OPEN_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID 'FES' TYPE 'E' NUMBER '000' RAISING FILE_OPEN_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then sy-subrc set to ur wish and all the variables will be set accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2008 13:18:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-07T13:18:38Z</dc:date>
    <item>
      <title>RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054582#M969226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a function and i'm using RAISE EE_FILE_NOT_FOUND if the selection was failed, and no records found in the dba. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the function there is an automatic check when I'm calling my own function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This check is giving a dump and says that the type cannot be " ". It should be A, E, I, W, S or X .&lt;/P&gt;&lt;P&gt;How can I correct this error? Why is it that the message type is not handled in my case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054582#M969226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054583#M969227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maintain this exception EE_FILE_NOT_FOUND in &lt;STRONG&gt;Exceptions&lt;/STRONG&gt; tab of the FM. Only then u can avoid the dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054583#M969227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054584#M969228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you only &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RAISE ERROR_CODE&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; then there is no error message explicitly sent to caller. (fields SY-MSGxx are initial)  If you want to get a message you have to sent it before using &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MESSAGE E001 RAISING ERROR_CODE. " with every options&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or if you don't want to change the FM, then send the message in the caller&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE sy-subrc.
  WHEN 0.
  WHEN 1.
    MESSAGE e000(xx).
  WHEN 2.
    MESSAGE e001(xx).
ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054584#M969228</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-07-07T13:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054585#M969229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi White,&lt;/P&gt;&lt;P&gt; Define your own exception message &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF sy-subrc 0.
  RAISE ERROR. 
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054585#M969229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054586#M969230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Instead of,&lt;/P&gt;&lt;P&gt;IF sy-subrc 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use your own message.&lt;/P&gt;&lt;P&gt; if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message e035(zf) with 'File not found'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054586#M969230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054587#M969231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is maintained in exceptions tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054587#M969231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054588#M969232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stripes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Make the IF statement as IF sy-subrc ne 0. and check .  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054588#M969232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054589#M969233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know that I can use my own message, but I want to know why it is not working with the automatically generated sy-subrc check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dump says: Message type " " is unknown.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only message types A, E, I, W, S and X are allowed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:10:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054589#M969233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054590#M969234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;What Raymond wrote is the information you need&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; If you only &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;RAISE ERROR_CODE&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; then there is no error message explicitly sent to caller. IF you want to get a message you have to sent it before using &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MESSAGE E001 RAISING ERROR_CODE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or send the message in the caller&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE sy-subrc.
&amp;gt;   WHEN 0.
&amp;gt;   WHEN 1.
&amp;gt;     MESSAGE e000(xx).
&amp;gt;   WHEN 2.
&amp;gt;     MESSAGE e001(xx).
&amp;gt; ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because you are using &lt;STRONG&gt;RAISE&lt;/STRONG&gt; rather than &lt;STRONG&gt;MESSAGE .. RAISING&lt;/STRONG&gt;..., sy-msgty is &lt;STRONG&gt;NOT&lt;/STRONG&gt; set, so you get a dump.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054590#M969234</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-07-07T13:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054591#M969235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When calling the FM u have to uncomment the exception part from FM interface.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   PROGRAM_ERROR                  = 1&lt;/P&gt;&lt;P&gt;   OTHERS                         = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl. see this documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;RAISE exception. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The statement triggers the non class-based exception exception. It is only useful during processing of methods and function modules in which the exception exception is defined. After the exception exception is triggered, the system proceeds as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the exception is triggered in a method or function module whose caller assigns a return value to the exception, then the procedure ends immediately, the system returns to the calling position, and the system field sy-subrc is set according to the assignments. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If the exception is triggered in a method or function module whose caller does not assign a return value to the exception, a runtime error is then triggered whose short dump contains the name of the exception.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the exception is triggered in a subprogram, the system searches for the first function module in the procedures for the preceding call hierarchy. If it finds such a function module and the exception is defined in it, the system acts as though the exception was triggered in this function module. Otherwise, a runtime error will occur. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In all other processing blocks, the triggering of a non class-based exception causes a runtime error that immediately ends all further program execution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054591#M969235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054592#M969236</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;U just maintain in ur FM like below instead of RAISE ERROR_OPEN_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID 'FES' TYPE 'E' NUMBER '000' RAISING FILE_OPEN_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then sy-subrc set to ur wish and all the variables will be set accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:18:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054592#M969236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054593#M969237</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;The system variables of the message should be filled as soon as the fm raises the exception, so it means in the fm should be a code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MESSAGE ID &amp;lt;ID&amp;gt; TYPE &amp;lt;TYPE&amp;gt; NUMBER &amp;lt;NR&amp;gt; 
        WITH &amp;lt;TEXT1&amp;gt; &amp;lt;TEXT2&amp;gt; &amp;lt;TEXT3&amp;gt; &amp;lt;TEXT4&amp;gt;  RAISING EE_FILE_NOT_FOUND MESSAGE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way after calling the fm if the exception is raised the system will fill SY-MSGID, SY-MSGTY, SY-MSGNO, SY-MSGV1, SY-MSGV2, SY-MSGV3 and SY-MSGV4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in your case u have only &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RAISE EE_FILE_NOT_FOUND&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here no message is called so the system variable won't have any value, the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF sy-subrc &amp;lt;&amp;gt; 0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will generate a dump as every system variables has no values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to avaoid a dump u should force the error message has to be triggered:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF sy-subrc &amp;lt;&amp;gt; 0.
  MESSAGE ID '000' TYPE 'E' NUMBER '208' WITH 'No file was founded'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054593#M969237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054594#M969238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054594#M969238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: RAISE EXCEPTION dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054595#M969239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U r getting this dump because when u try to display the message using statement MESSAGE.... the message type(Sy-msgtyp) is not getting populated which is mandatory to display the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when u raise it in FM u have to specify which type it should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: MESSAGE ID zv TYPE 'E' NUMBER 001 RAISING EE_FILE_NOT_FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put above syntax in ur FM it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check it just place a break point in calling program at statement IF sy-subrc NE 0. Here try to change sy-msgtyp = E in debug mode and execute u will get ur error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:22:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raise-exception-dump/m-p/4054595#M969239</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-07-07T13:22:09Z</dc:date>
    </item>
  </channel>
</rss>

