<?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: dialog programming exit-command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930406#M690523</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;when you clik the back or exit  button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chek whether the mandatory fields are filled or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not give a message &lt;/P&gt;&lt;P&gt;'Enter the mandatory fields'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leave to screen 100.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2007 06:06:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-23T06:06:32Z</dc:date>
    <item>
      <title>dialog programming exit-command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930404#M690521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDN's &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 screens. Screen 0100 and screen 0200.&lt;/P&gt;&lt;P&gt;Once i enter some data on Screen 0100 i press a button on appl tool bar it navigates to screen 0200. This is absolutely ok n working fine.&lt;/P&gt;&lt;P&gt;But on screen 0200 i have some mandatory fileds, and i have given the GUI status for Back, Exit, Cancle in screen 0200 which i have handled in a module &amp;lt;M1&amp;gt;at exit command.&lt;/P&gt;&lt;P&gt;So now if i click on the back exit or cancel it takes me back to the screen 0100, but the mandatory fields are not being prompted for entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i want is i wnt to maintain Back, Exit and Cancel buttons at Exit-Command and i should not go to screen 0200 unless and until i enter the mandatory fields values in screen 0200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pratyusha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 06:01:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930404#M690521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T06:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming exit-command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930405#M690522</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;Change the function code type in the menu painter from E (at exit command)  to blank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your back, exit and cancel will not trigger in at exit-command..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 06:04:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930405#M690522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T06:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming exit-command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930406#M690523</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;when you clik the back or exit  button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chek whether the mandatory fields are filled or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not give a message &lt;/P&gt;&lt;P&gt;'Enter the mandatory fields'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leave to screen 100.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 06:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930406#M690523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T06:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming exit-command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930407#M690524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But where do i handle the Back, Exit and Cancel command.&lt;/P&gt;&lt;P&gt;Is it in the USER_COMMAND of that screen. just by giving LEAVE to SCREEN 0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pratyusha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pratyusha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 06:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930407#M690524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T06:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming exit-command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930408#M690525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the PAI of the screen put the process at EXIT-COMMAND after the check of mandatory fields.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CHAIN.
  FIELD mandatory_field1.
  FIELD mandatory_field2.
  MODULE are_mandatory_fields_filled.
ENCHAIN.
MODULE user_command AT EXIT-COMMAND.
CHAIN.
  FIELD non_mandatory_field1.
  FIELD non_mandatory_field2.
  MODULE other_checks 
ENDCHAIN.
MODULE user_command.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Another way could be to remove the Exit commands from status as long as the mandatory fields are not filled.&lt;/P&gt;&lt;P&gt;In PBO, before setting PF-Status, add the BACK and EXIT function to the removed function code table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 06:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-exit-command/m-p/2930408#M690525</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-10-23T06:14:48Z</dc:date>
    </item>
  </channel>
</rss>

