<?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 Stop and exit subroutine process without saving data, back to standard screen. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289679#M1725006</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;Currently i am triggering a user exit in PM module.&lt;/P&gt;&lt;P&gt;Would like to stop it like how error message work by preventing the progress from Stage A to Stage B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is what syntax in ABAP will allow the user exit to trigger the stop behavior and back to the main screen without saving any data?&lt;/P&gt;&lt;P&gt;I tried Exit &amp;amp; leave, somehow it stop, but still continue to save screen data, or it just leave the standard program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2013 17:11:28 GMT</pubDate>
    <dc:creator>ethantew12</dc:creator>
    <dc:date>2013-02-18T17:11:28Z</dc:date>
    <item>
      <title>Stop and exit subroutine process without saving data, back to standard screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289679#M1725006</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;Currently i am triggering a user exit in PM module.&lt;/P&gt;&lt;P&gt;Would like to stop it like how error message work by preventing the progress from Stage A to Stage B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is what syntax in ABAP will allow the user exit to trigger the stop behavior and back to the main screen without saving any data?&lt;/P&gt;&lt;P&gt;I tried Exit &amp;amp; leave, somehow it stop, but still continue to save screen data, or it just leave the standard program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 17:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289679#M1725006</guid>
      <dc:creator>ethantew12</dc:creator>
      <dc:date>2013-02-18T17:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Stop and exit subroutine process without saving data, back to standard screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289680#M1725007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, what is transaction code where you need to implement the exit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 17:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289680#M1725007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-18T17:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Stop and exit subroutine process without saving data, back to standard screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289681#M1725008</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;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE 'Your Error Message' TYPE 'W' DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgrds,&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 17:26:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289681#M1725008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-18T17:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stop and exit subroutine process without saving data, back to standard screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289682#M1725009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IW22, there are stage "INIT" , "AWAP" etc. i was implementing my custom code in user exit and would like to stop the progress based on condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 17:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289682#M1725009</guid>
      <dc:creator>ethantew12</dc:creator>
      <dc:date>2013-02-18T17:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Stop and exit subroutine process without saving data, back to standard screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289683#M1725010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you need to use this exit &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;QQMA0014 (Checks before saving a notification)&lt;/SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;insert your logic there.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if you dont want to save the data, use &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 7px 0; color: #333333; font-family: Arial, Verdana, Tahoma; font-size: 14px; background-color: #ffffff; text-align: justify;"&gt;&lt;STRONG&gt;LEAVE [PROGRAM].&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 7px 0; color: #333333; font-family: Arial, Verdana, Tahoma; font-size: 14px; background-color: #ffffff; text-align: justify;"&gt;It will stop the processing of current ABAP program.&lt;/P&gt;&lt;P style="padding: 7px 0; color: #333333; font-family: Arial, Verdana, Tahoma; font-size: 14px; background-color: #ffffff; text-align: justify;"&gt;&lt;STRONG&gt;LEAVE TO TRANSACTION &amp;lt;tcod&amp;gt; [AND SKIP FIRST SCREEN].&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 7px 0; color: #333333; font-family: Arial, Verdana, Tahoma; font-size: 14px; background-color: #ffffff; text-align: justify;"&gt;It will stop the processing of current ABAP program and will process another program (specified with its transaction code).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 17:42:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289683#M1725010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-18T17:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Stop and exit subroutine process without saving data, back to standard screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289684#M1725011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;But i dont think it work for me.&lt;/P&gt;&lt;P&gt;Because i was trying to implement a function module inside a user exit. &lt;STRONG style="font-size: 14px; font-family: Arial, Verdana, Tahoma; color: #333333; text-align: justify;"&gt;LEAVE [PROGRAM].&lt;/STRONG&gt; will not suit to use in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value will be clear after PAI module.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14px; font-family: Arial, Verdana, Tahoma; color: #333333; text-align: justify;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 03:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289684#M1725011</guid>
      <dc:creator>ethantew12</dc:creator>
      <dc:date>2013-02-21T03:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Stop and exit subroutine process without saving data, back to standard screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289685#M1725012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually found a way to solve the problem.&lt;/P&gt;&lt;P&gt;Where i go to the PBO of the main program and enhance from it.&lt;/P&gt;&lt;P&gt;Solved!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2013 16:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop-and-exit-subroutine-process-without-saving-data-back-to-standard/m-p/9289685#M1725012</guid>
      <dc:creator>ethantew12</dc:creator>
      <dc:date>2013-02-24T16:30:28Z</dc:date>
    </item>
  </channel>
</rss>

