<?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: Regarding Error Message after execution of program !! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152514#M1621429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exit is not working, it will show the blank output..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2011 08:07:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-14T08:07:01Z</dc:date>
    <item>
      <title>Regarding Error Message after execution of program !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152511#M1621426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no record in report then i have make a error message of TYPE 'I'. It is working fine.&lt;/P&gt;&lt;P&gt;But i want to return on the same screen(Selection Screen) when this error is through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex- If i am execute Tcode &lt;STRONG&gt;ZSBR&lt;/STRONG&gt;, if there is no records for the selection then after through a error like "No records found for the selection", it should be return at ZSBR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use "LEAVE to list-processing and return to screen 0, Leave Program etc.", but still not done. It shows output screen (field catalog) after through this error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 07:48:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152511#M1621426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T07:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Error Message after execution of program !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152512#M1621427</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 problem lies in message type , information message does not stop user to going to next screen , that is why it is showing the field catalog not the selection screen, you can use error message as display like I and after that use leave list-processing.Hope it will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Saptarshi Srakar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 07:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152512#M1621427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T07:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Error Message after execution of program !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152513#M1621428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use EXIT Statement after MESSAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MESSAGE i000 WITH 'No Data Found'.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Leena.Patil on Sep 14, 2011 10:06 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 07:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152513#M1621428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Error Message after execution of program !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152514#M1621429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exit is not working, it will show the blank output..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:07:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152514#M1621429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T08:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Error Message after execution of program !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152515#M1621430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to return to the selection screen of the program then you can directly use &lt;STRONG&gt;Leave to screen 1000&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152515#M1621430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T08:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Error Message after execution of program !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152516#M1621431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using all type of messages like &lt;/P&gt;&lt;P&gt;I-Information&lt;/P&gt;&lt;P&gt;A-Abend&lt;/P&gt;&lt;P&gt;S-Status&lt;/P&gt;&lt;P&gt;E-Error&lt;/P&gt;&lt;P&gt;W-Warning&lt;/P&gt;&lt;P&gt;X-Exit&lt;/P&gt;&lt;P&gt;but it is not working as per the requirement ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152516#M1621431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T08:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Error Message after execution of program !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152517#M1621432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working for me! Have you used it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF gt_output IS INITIAL.                            &lt;/P&gt;&lt;P&gt;    MESSAGE i000 WITH 'NO Data'.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;*===Display ALV Output&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152517#M1621432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T08:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Error Message after execution of program !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152518#M1621433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be LEAVE LIST-PROCESSING &amp;amp; not LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MESSAGE 'No records found' TYPE 'I'. LEAVE LIST-PROCESSING.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152518#M1621433</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-09-14T08:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Error Message after execution of program !!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152519#M1621434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put all the perfroms inside the sy-subrc check of the main query. if it fails show message. and that message will be shown in the selection screen itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-after-execution-of-program/m-p/8152519#M1621434</guid>
      <dc:creator>jayakumarkb_81</dc:creator>
      <dc:date>2011-09-14T08:49:26Z</dc:date>
    </item>
  </channel>
</rss>

