<?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: MODULE USER_COMMAND_0200 AT EXIT-COMMAND. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040252#M419427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'xxxx' is the toolbar that you are setting for your program. In order to do some operations or process based on the key that you have pressed, you assign a funct.code to that and write the coding in the PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This at exit-command is fired when you have exit from teh current screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever the program executes a EXIT command, the screen is not validated, it will exit to the screen 0. Try clicking on the Yellow and Red button on your toolbar next to the Back button, you will understand,&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>Thu, 15 Mar 2007 04:41:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-15T04:41:07Z</dc:date>
    <item>
      <title>MODULE USER_COMMAND_0200 AT EXIT-COMMAND.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040249#M419424</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;I knew that the following statements allows user to by pass all the screen validations, so to achieve this we have to declare a function code in SET PF-STATUS of type Exit Command. So, my doubts r,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- Anyway, we r adding the AT EXIT-COMMAND as a suffix to to Module statement, so again What is the necessity declaring in the SET PF-STATUS as a function code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;   MODULE USER_COMMAND_0200 AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- What else wuld do the above statement apart from overcoming the validations(coz the author has mentioned this statement - ''An Exit-command allows you to insert functionality into the PAI that by passes all screen validation '', Which is I dont understand!)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThanQ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 04:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040249#M419424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T04:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: MODULE USER_COMMAND_0200 AT EXIT-COMMAND.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040250#M419425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Addition AT EXIT-COMMAND is designed to initaite and process the function codes that have type Exit Command. So it is the combination of the function type and the EXIT-COMMAND that will give you the required results. And mind you, this combination is triggered if there is a mandatory field validations that have to be skipped. In other cases this acts as a normal function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;''An Exit-command allows you to insert functionality into the PAI that by passes all screen validation '' - Means that If there are any other validations apart from the mandatory check. Bottomline is that if there are any other validations like avalilability check, etc... these are ignored as well as the mandatory fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 04:39:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040250#M419425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T04:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: MODULE USER_COMMAND_0200 AT EXIT-COMMAND.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040251#M419426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us consider the following example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a user wants to exit a screen, by clicking the BACK button, he should be taken out ..right? &lt;/P&gt;&lt;P&gt;Instead, should there be a message poping up saying "Mandatory fields are not entered".. or "enter character data in name field"...ect..? &lt;/P&gt;&lt;P&gt;no...hence, to ignore these validation, we put the code to exit the screen in a module. This module has to be defined with ...AT EXIT-COMMAND extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your question.&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 04:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040251#M419426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T04:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: MODULE USER_COMMAND_0200 AT EXIT-COMMAND.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040252#M419427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'xxxx' is the toolbar that you are setting for your program. In order to do some operations or process based on the key that you have pressed, you assign a funct.code to that and write the coding in the PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This at exit-command is fired when you have exit from teh current screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever the program executes a EXIT command, the screen is not validated, it will exit to the screen 0. Try clicking on the Yellow and Red button on your toolbar next to the Back button, you will understand,&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>Thu, 15 Mar 2007 04:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040252#M419427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T04:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: MODULE USER_COMMAND_0200 AT EXIT-COMMAND.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040253#M419428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT EXIT-COMMAND IS NOT ASSOCIATED WITH ANY SCREEN VALIDATION MEANS ...SUPPOSE YOU HAVE ONE SCREEN WITH MANDATORY INPUT MEANS IF IT IS BLANK IT WILL THROW AN ERROR...IF YOU ARE NOT USING AT EXIT-COMMAND FOR PRESSING PBACK OR CANCEL BUTTON IT WILL SHOW YOU THE ERROR FOR FIELD BECAUSE IT IS EMPTY AND YOU CANT COME BACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN PF-STATUS OR IN SCREEN LAYOUT WE ARE ASSIGNING THE FN CODE TYPE E IF WE PRESS THAT BUTTON IT WILL TRIGGER THE MODULE ASSOCIATED WITH AT EXIT-COMMAND. SO WE ARE SAYING THE SYSTEM THAT THIS FN CODE SHOULD TRIGGER THE MODULE AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;SHIBA DUTTA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 04:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040253#M419428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T04:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: MODULE USER_COMMAND_0200 AT EXIT-COMMAND.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040254#M419429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanX to all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 04:48:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-user-command-0200-at-exit-command/m-p/2040254#M419429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T04:48:46Z</dc:date>
    </item>
  </channel>
</rss>

