<?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 exit from the module pool screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448826#M548691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the PAI of the screen you have to code a module with exit command as first module.&lt;/P&gt;&lt;P&gt;syntax is 'MODULE MMMMM AT EXIT-COMMAND'&lt;/P&gt;&lt;P&gt;In this module the code is there to leave screen for ok codes cancel, exit etc.&lt;/P&gt;&lt;P&gt;This code will be executed prior to checking mandatory fields on the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 07:31:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-26T07:31:27Z</dc:date>
    <item>
      <title>regarding exit from the module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448822#M548687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;h experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have developed a module pool report in which in the selection screen i have four fields which are mandatory ,when i execute the program without entering in the selection screen it do not allow to come out of the module pool screen ...what i want that without entering any input in the selection screen if i press exit button push button it will allow to come out of the screen for this what sud i do plz help me....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 07:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448822#M548687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T07:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: regarding exit from the module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448823#M548688</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;In your PAI add a module as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE EXIT_XXXX AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE EXIT_XXXX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ok_code = 'EXIT'.&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT button on the toolbar has FUNCTION TYPE 'E' only function type's can enter a module with addition AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 07:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448823#M548688</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-06-26T07:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: regarding exit from the module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448824#M548689</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;U need to write the AT EXIT-COMMAND command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE EXIT_XXXX AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u have write the code as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'EXIT'.&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to EXIT button on the toolbar.U have to make As type E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 07:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448824#M548689</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-06-26T07:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: regarding exit from the module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448825#M548690</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;try this code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module exit_prg at exit-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module exit_prg input.&lt;/P&gt;&lt;P&gt;  if sy-ucomm = 'CANCEL'.&lt;/P&gt;&lt;P&gt;    leave program.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.  " for this cancel you should give &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt; function type at pf-status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 07:29:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448825#M548690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T07:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: regarding exit from the module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448826#M548691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the PAI of the screen you have to code a module with exit command as first module.&lt;/P&gt;&lt;P&gt;syntax is 'MODULE MMMMM AT EXIT-COMMAND'&lt;/P&gt;&lt;P&gt;In this module the code is there to leave screen for ok codes cancel, exit etc.&lt;/P&gt;&lt;P&gt;This code will be executed prior to checking mandatory fields on the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 07:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448826#M548691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T07:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: regarding exit from the module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448827#M548692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;keep a button called &amp;lt;b&amp;gt;EXIT&amp;lt;/b&amp;gt; on the screen&lt;/P&gt;&lt;P&gt;Make the function type of that field as &amp;lt;b&amp;gt;E&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;in Flow logic write &lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Forced Exit from the transaction from screen &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  MODULE exit AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;double click on exit module and &lt;/P&gt;&lt;P&gt;then in PAI write &lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  exit  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Exit from the Transaction&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE exit INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE okcode.&lt;/P&gt;&lt;P&gt;    WHEN 'EXIT' OR 'CANCEL'.&lt;/P&gt;&lt;P&gt;      CLEAR okcode.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " exit  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 07:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448827#M548692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T07:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: regarding exit from the module pool screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448828#M548693</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;your question:when i execute the program without entering in the selection screen it do not allow to come out of the module pool screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if filed1 is not initial.&lt;/P&gt;&lt;P&gt;call screen NO&lt;/P&gt;&lt;P&gt;else .&lt;/P&gt;&lt;P&gt;message 'Enter all mandotry fields' type 'E'.&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your question:what i want that without entering any input in the selection screen if i press exit button push button it will allow to come out of the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI&lt;/P&gt;&lt;P&gt;MODULE EXIT_XXXX AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u have write the code as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'EXIT'.&lt;/P&gt;&lt;P&gt;if field1&amp;lt;manditory field&amp;gt; is initial.&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;message 'You may loos your inputs' type 'E'&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward all helpfull answers.&lt;/P&gt;&lt;P&gt;regrds.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 07:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-exit-from-the-module-pool-screen/m-p/2448828#M548693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T07:37:01Z</dc:date>
    </item>
  </channel>
</rss>

