<?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: help needed in screen flow in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310392#M505999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use module at exit-command statement.&lt;/P&gt;&lt;P&gt;In the menu painter, the attributes shouild be at exit-command.&lt;/P&gt;&lt;P&gt;write a module xxxx at exit-command for the function codes(ok codes for back , exit and canc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2007 04:41:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-16T04:41:02Z</dc:date>
    <item>
      <title>help needed in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310391#M505998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi every one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a screen with a mandatory field&lt;/P&gt;&lt;P&gt;when i click in 'BACK' it should not leave the screen because the field is mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i click on 'CANCEL' it should come out of the screen.&lt;/P&gt;&lt;P&gt;and when i click on 'EXIT' it should come out of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to code all these three conditions in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 04:36:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310391#M505998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T04:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: help needed in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310392#M505999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use module at exit-command statement.&lt;/P&gt;&lt;P&gt;In the menu painter, the attributes shouild be at exit-command.&lt;/P&gt;&lt;P&gt;write a module xxxx at exit-command for the function codes(ok codes for back , exit and canc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 04:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310392#M505999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T04:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: help needed in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310393#M506000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Write the code in PAI like&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;&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;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;In the field attributes set the function type as 'E' for CANCEL and EXIT buttons.&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;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 04:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310393#M506000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T04:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: help needed in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310394#M506001</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;i have a screen with a mandatory field&lt;/P&gt;&lt;P&gt;when i click in 'BACK' it should not leave the screen because the field is mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i click on 'CANCEL' it should come out of the screen.&lt;/P&gt;&lt;P&gt;and when i click on 'EXIT' it should come out of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to code all these three conditions in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in pbo event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name =  'text field name'.&lt;/P&gt;&lt;P&gt;      screen-input = 1.&lt;/P&gt;&lt;P&gt; modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in pai event.&lt;/P&gt;&lt;P&gt;data: ok_code like sy-ucomm.&lt;/P&gt;&lt;P&gt;ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;case ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'back'.&lt;/P&gt;&lt;P&gt;            leave to screen 200. [going one screen back]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'exit'&lt;/P&gt;&lt;P&gt;         'cancel'.&lt;/P&gt;&lt;P&gt;              leave screen 0 or leave program. [back from all screens]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 05:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310394#M506001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T05:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: help needed in screen flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310395#M506002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS FOR YOUR ANSWERS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 05:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-screen-flow/m-p/2310395#M506002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T05:13:36Z</dc:date>
    </item>
  </channel>
</rss>

