<?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: hi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3240410#M773343</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;write the code for exit command within the module(say "m_exit") and in PAI write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module m_exit on exit-command(check syntax).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the pf-status make the function type as 'E' for that func code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Will.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Dec 2007 07:17:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-31T07:17:01Z</dc:date>
    <item>
      <title>hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3240408#M773341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have some mandatory fields (username and Password) and command buttons (login and exit) in Module Pool Programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i click exit button without typing any values to the fields exit command is not working. when i enter some values to the fields it is working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to make that exit button to work without typing the mandatory fileds..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 07:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3240408#M773341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T07:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3240409#M773342</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;Hope this will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Automatic field checks can be avoided by AT EXIT-COMMAND, which works exactly the same way as Cancel works on application tools bar. In the R/3 screen, if you want to quit the processing of that particular screen without entering the mandatory fields, user can click the Cancel button. Same functionality can be incorporated in the user-defined transaction by using AT EXIT-COMMAND. This module can be called before the system executes the automatic field checks and it goes without saying that before PAI event. Code for AT EXIT-COMMAND in flow logic and in module pool program can be written as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Flow Logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process After Input.&lt;/P&gt;&lt;P&gt;Module exit AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;In module pool program.&lt;/P&gt;&lt;P&gt;Module exit.&lt;/P&gt;&lt;P&gt;Case okcode.&lt;/P&gt;&lt;P&gt;When &amp;#145;Exit&amp;#146;.&lt;/P&gt;&lt;P&gt;Leave to screen 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To achieve this kind of functionality a pushbutton or menu item should be assigned a function type &amp;#145;E&amp;#146;. It tells the system to process this particular module before carrying out any field checks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swetha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 07:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3240409#M773342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T07:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3240410#M773343</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;write the code for exit command within the module(say "m_exit") and in PAI write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module m_exit on exit-command(check syntax).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the pf-status make the function type as 'E' for that func code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Will.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 07:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3240410#M773343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T07:17:01Z</dc:date>
    </item>
  </channel>
</rss>

