<?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: enter key command not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997972#M1606382</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;The command is goin inside case-endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here s de snippet of my code-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok_code    =    sy-ucomm.&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;   break-POINT.&lt;/P&gt;&lt;P&gt;   WHEN 'NEXT'.&lt;/P&gt;&lt;P&gt;           LEAVE TO SCREEN 0012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN ' '.&lt;/P&gt;&lt;P&gt;      IF it_lfa1-lifnr =  it_zpmrg-lifnr.&lt;/P&gt;&lt;P&gt;        SELECT lifnr&lt;/P&gt;&lt;P&gt;               name1&lt;/P&gt;&lt;P&gt;               FROM   lfa1&lt;/P&gt;&lt;P&gt;               INTO   it_lfa1&lt;/P&gt;&lt;P&gt;               WHERE  lifnr  =   it_zpmrg-lifnr.&lt;/P&gt;&lt;P&gt;          ENDSELECT.&lt;/P&gt;&lt;P&gt;          it_zpmrg-name1    =     it_lfa1-name1.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Jun 2011 11:09:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-04T11:09:47Z</dc:date>
    <item>
      <title>enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997968#M1606378</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 developed a screen and written a code for ' ENTER KEY '.&lt;/P&gt;&lt;P&gt;I thought by passing BLANK VALUE to ok_code i can capture ENTER KEY event and have coded as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN ' '.&lt;/P&gt;&lt;P&gt;      IF it_lfa1-lifnr =  p_lifnr.&lt;/P&gt;&lt;P&gt;        SELECT lifnr&lt;/P&gt;&lt;P&gt;                     name1&lt;/P&gt;&lt;P&gt;                     FROM   lfa1&lt;/P&gt;&lt;P&gt;                     INTO   it_lfa1&lt;/P&gt;&lt;P&gt;                     WHERE  lifnr  =   p_lifnr.&lt;/P&gt;&lt;P&gt;          ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after debugging the code i realised that the ENTER KEY event is not getting captured.&lt;/P&gt;&lt;P&gt;Can anyone help me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 10:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997968#M1606378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-04T10:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997969#M1606379</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;yes you are correct ., For Enter Key ok_code is space. you have to put that in  &lt;STRONG&gt;AT SELECTION-SCREEN.&lt;/STRONG&gt;  event. If you are using module pool you have to check that in  &lt;STRONG&gt;PAI&lt;/STRONG&gt; event.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;case sy-ucomm.&lt;/STRONG&gt;   &lt;/P&gt;&lt;P&gt;WHEN  '  '.&lt;/P&gt;&lt;P&gt;       IF it_lfa1-lifnr =  p_lifnr.&lt;/P&gt;&lt;P&gt;       SELECT lifnr&lt;/P&gt;&lt;P&gt;                      name1&lt;/P&gt;&lt;P&gt;                      FROM   lfa1&lt;/P&gt;&lt;P&gt;                      INTO   it_lfa1&lt;/P&gt;&lt;P&gt;                    WHERE  lifnr  =   p_lifnr.&lt;/P&gt;&lt;P&gt;           ENDSELECT.&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;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 10:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997969#M1606379</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-04T10:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997970#M1606380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have written my code in module pool and in PAI event. Also i have written my code between case-endcase. &lt;/P&gt;&lt;P&gt;But still the event is not gettin triggered..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 10:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997970#M1606380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-04T10:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997971#M1606381</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;In PAI use Sy-ucomm in case., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put a break point before case statement. or at the first line in PAI and check whether it is getting inside case-endcase. also check sy-ucomm value.  else post your PAI code here.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 11:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997971#M1606381</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-04T11:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997972#M1606382</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;The command is goin inside case-endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here s de snippet of my code-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok_code    =    sy-ucomm.&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;   break-POINT.&lt;/P&gt;&lt;P&gt;   WHEN 'NEXT'.&lt;/P&gt;&lt;P&gt;           LEAVE TO SCREEN 0012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN ' '.&lt;/P&gt;&lt;P&gt;      IF it_lfa1-lifnr =  it_zpmrg-lifnr.&lt;/P&gt;&lt;P&gt;        SELECT lifnr&lt;/P&gt;&lt;P&gt;               name1&lt;/P&gt;&lt;P&gt;               FROM   lfa1&lt;/P&gt;&lt;P&gt;               INTO   it_lfa1&lt;/P&gt;&lt;P&gt;               WHERE  lifnr  =   it_zpmrg-lifnr.&lt;/P&gt;&lt;P&gt;          ENDSELECT.&lt;/P&gt;&lt;P&gt;          it_zpmrg-name1    =     it_lfa1-name1.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 11:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997972#M1606382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-04T11:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997973#M1606383</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;Have you checked the sy-ucomm value in the debugger..!! once the debugger starts double click on sy-ucomm or ok_code and check the value of sy-ucomm there..  For enter sy-ucomm is space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also try with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when space.&lt;/P&gt;&lt;P&gt; if ......&lt;/P&gt;&lt;P&gt;..... &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;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 11:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997973#M1606383</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-04T11:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997974#M1606384</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 checked the sy-ucomm value, it does take value of NEXT BACK EXIT and as the value of ENTER key is SPACE, its hard to find if its takin the value or not. But i gave a break-point after case and when i pressed on ENTER KEY it did go to debug mode so i guess it is capturing the value but its going to the command when ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i also tried with SPACE still the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Mithun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 11:28:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997974#M1606384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-04T11:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997975#M1606385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Mithun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mithun12345 on Jun 4, 2011 2:03 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 11:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997975#M1606385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-04T11:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997976#M1606386</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;1. put your code in OTHERS and check., like&lt;/P&gt;&lt;P&gt;when 'NEXT'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;when 'BACK'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;when others.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for enter.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.,&lt;/P&gt;&lt;P&gt;2. If you are  using container with full screen decrease the container size and check..!! this may work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.,&lt;/P&gt;&lt;P&gt;3. Assign the Function code ENT for Enter Icon in Pf Status of your screen.,  and check.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'NEXT'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;when 'ENT'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 12:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997976#M1606386</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-04T12:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997977#M1606387</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 space ' did the work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Mithun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mithun12345 on Jun 5, 2011 8:01 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jun 2011 05:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997977#M1606387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-05T05:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997978#M1606388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sy-ucomm cannot be used for find the okcode. Because sy-comm can be incorrect/may not work at times while working in Module pool programming... You have to define some name for OK type. If you have given okcode, then use it in case. And Enter takes you to next screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2011 20:41:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997978#M1606388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-18T20:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997979#M1606389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 08:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997979#M1606389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-08T08:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: enter key command not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997980#M1606390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 09:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-key-command-not-working/m-p/7997980#M1606390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-08T09:19:04Z</dc:date>
    </item>
  </channel>
</rss>

