<?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 Function Module to retrieve keyboard key pressed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430240#M1647504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a function module / mechanism to know which keyboard key the user has pressed. I am looking to implement this in normal SAP GUI and not in Web Dynpro or similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does such a function module exist / Is there a way to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2012 06:42:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-09T06:42:10Z</dc:date>
    <item>
      <title>Function Module to retrieve keyboard key pressed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430240#M1647504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a function module / mechanism to know which keyboard key the user has pressed. I am looking to implement this in normal SAP GUI and not in Web Dynpro or similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does such a function module exist / Is there a way to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 06:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430240#M1647504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-09T06:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to retrieve keyboard key pressed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430241#M1647505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain me how are you going to use it!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if its a module pool program you can only use the keys which you get from Se41 list. keys like: the can trigger FCODES.&lt;/P&gt;&lt;P&gt;F2&lt;/P&gt;&lt;P&gt;F9&lt;/P&gt;&lt;P&gt;Shift-F2&lt;/P&gt;&lt;P&gt;Shift-F4&lt;/P&gt;&lt;P&gt;Shift-F5&lt;/P&gt;&lt;P&gt;==&lt;/P&gt;&lt;P&gt;Freely Assigned Function Keys&lt;/P&gt;&lt;P&gt;F5&lt;/P&gt;&lt;P&gt;F6&lt;/P&gt;&lt;P&gt;F7&lt;/P&gt;&lt;P&gt;F8&lt;/P&gt;&lt;P&gt;Shift-F1&lt;/P&gt;&lt;P&gt;Shift-F6&lt;/P&gt;&lt;P&gt;Shift-F7&lt;/P&gt;&lt;P&gt;Shift-F8&lt;/P&gt;&lt;P&gt;Shift-F9&lt;/P&gt;&lt;P&gt;Shift-Ctrl-0&lt;/P&gt;&lt;P&gt;Shift-F11&lt;/P&gt;&lt;P&gt;Shift-F12&lt;/P&gt;&lt;P&gt;Ctrl-F1&lt;/P&gt;&lt;P&gt;Ctrl-F2&lt;/P&gt;&lt;P&gt;Ctrl-F3&lt;/P&gt;&lt;P&gt;Ctrl-F4&lt;/P&gt;&lt;P&gt;Ctrl-F5&lt;/P&gt;&lt;P&gt;Ctrl-F6&lt;/P&gt;&lt;P&gt;Ctrl-F7&lt;/P&gt;&lt;P&gt;Ctrl-F8&lt;/P&gt;&lt;P&gt;Ctrl-F9&lt;/P&gt;&lt;P&gt;Ctrl-F10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and some more...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 08:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430241#M1647505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-09T08:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to retrieve keyboard key pressed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430242#M1647506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a user exit (Function Module) which will be trigerred from the screen when the user clicks on a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is that there is only one button to trigger the user exit. But I want more than one functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, my idea was to ask the user to click on a keyboard key and then click on the button which triggers the user exit.&lt;/P&gt;&lt;P&gt;In the user exit, I will check which keyboard key is pressed and based on that steer the functionality.&lt;/P&gt;&lt;P&gt;Hence, I wanted to know if this is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 03:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430242#M1647506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-10T03:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to retrieve keyboard key pressed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430243#M1647507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why dont you try a call screen inside the exit. give him a pop up kind of screen where he/she can select some values or enter .. and according to that you can do the processing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 05:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430243#M1647507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-10T05:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to retrieve keyboard key pressed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430244#M1647508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that was my initial thought, but then I want a one click functionality (keyboard hits don't matter!)&lt;/P&gt;&lt;P&gt;Giving a pop up screen would be 2 clicks.&lt;/P&gt;&lt;P&gt;Hence, I wanted to go for this alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 05:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430244#M1647508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-10T05:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to retrieve keyboard key pressed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430245#M1647509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are going for a user exit then i am not sure if can capture any FCODE which is not defined for the screen, if its not defined you cannot capture..(unless you write some machine level code &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; just kidding).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i think giving a pop up is a better option.. you can design this pop up screen to respond to key presses like ctrl+f2 etc.. that will be a key pres right &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; not a click..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 05:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-retrieve-keyboard-key-pressed/m-p/8430245#M1647509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-10T05:54:29Z</dc:date>
    </item>
  </channel>
</rss>

