<?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 with screens in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-screens/m-p/4307698#M1027083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In debug mode check the ok_code value for ENTER and based on that change ur logic as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0400 INPUT.&lt;/P&gt;&lt;P&gt;CASE ok_code.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;when &amp;lt; ok_code value for enter&amp;gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Do nothing*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;cnt = 1.&lt;/P&gt;&lt;P&gt;SET SCREEN 100.&lt;/P&gt;&lt;P&gt;LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE. " USER_COMMAND_0400 INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2008 17:39:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-30T17:39:03Z</dc:date>
    <item>
      <title>Help with screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-screens/m-p/4307696#M1027081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen where user can change contents(SCRN 400) of a small custom table. It is working fine, only one problem is while changing the contents if user accidentally presses 'ENTER' key it is going to first Screen(scrn 100). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I catch this so that when user clicks enter, it has to be in the same screen only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it is going to When 'others' and to scrn 100.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0400 INPUT.&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;   WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      cnt = 1.&lt;/P&gt;&lt;P&gt;      SET SCREEN 100.&lt;/P&gt;&lt;P&gt;      LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0400  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will appriciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 17:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-screens/m-p/4307696#M1027081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T17:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-screens/m-p/4307697#M1027082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to PBO , &lt;/P&gt;&lt;P&gt;and activate the status for ENter, in the Kunction keys you can see Green Tick Button in the First place. Give some Okcode and activate that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that you can handle that in the PAI&lt;/P&gt;&lt;P&gt;case ok_code.&lt;/P&gt;&lt;P&gt;when 'ENTER'.&lt;/P&gt;&lt;P&gt;" do nothing&lt;/P&gt;&lt;P&gt;when others.&lt;/P&gt;&lt;P&gt; leave to screen 0.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 17:35:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-screens/m-p/4307697#M1027082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T17:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-screens/m-p/4307698#M1027083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In debug mode check the ok_code value for ENTER and based on that change ur logic as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0400 INPUT.&lt;/P&gt;&lt;P&gt;CASE ok_code.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;when &amp;lt; ok_code value for enter&amp;gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Do nothing*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;cnt = 1.&lt;/P&gt;&lt;P&gt;SET SCREEN 100.&lt;/P&gt;&lt;P&gt;LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE. " USER_COMMAND_0400 INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 17:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-screens/m-p/4307698#M1027083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T17:39:03Z</dc:date>
    </item>
  </channel>
</rss>

