<?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 Dynamically assign function keys to gui-status in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-assign-function-keys-to-gui-status/m-p/7923359#M1598955</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 function module pretty much like "POPUP_TO_CONFIRM". I would like to ask if it is possible to dynamically assign function keys to the buttons on the popup dialog. The assigned function keys would have to change according to the question / button coding, see the examples below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 1:&lt;/P&gt;&lt;P&gt;Question: "Do you want to execute?"&lt;/P&gt;&lt;P&gt;Button 1: Execute (Function key should be F8)&lt;/P&gt;&lt;P&gt;Button 2: Abort (Function key should be F12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 2:&lt;/P&gt;&lt;P&gt;Question: "Do you want to save?"&lt;/P&gt;&lt;P&gt;Button 1: Yes (Function key should be F5)&lt;/P&gt;&lt;P&gt;Button 2: No (Function key should be F3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So: Is it possible to change the linked function key in the gui status dynamically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2011 07:48:42 GMT</pubDate>
    <dc:creator>JaySchwendemann</dc:creator>
    <dc:date>2011-06-17T07:48:42Z</dc:date>
    <item>
      <title>Dynamically assign function keys to gui-status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-assign-function-keys-to-gui-status/m-p/7923359#M1598955</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 function module pretty much like "POPUP_TO_CONFIRM". I would like to ask if it is possible to dynamically assign function keys to the buttons on the popup dialog. The assigned function keys would have to change according to the question / button coding, see the examples below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 1:&lt;/P&gt;&lt;P&gt;Question: "Do you want to execute?"&lt;/P&gt;&lt;P&gt;Button 1: Execute (Function key should be F8)&lt;/P&gt;&lt;P&gt;Button 2: Abort (Function key should be F12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 2:&lt;/P&gt;&lt;P&gt;Question: "Do you want to save?"&lt;/P&gt;&lt;P&gt;Button 1: Yes (Function key should be F5)&lt;/P&gt;&lt;P&gt;Button 2: No (Function key should be F3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So: Is it possible to change the linked function key in the gui status dynamically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 07:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-assign-function-keys-to-gui-status/m-p/7923359#M1598955</guid>
      <dc:creator>JaySchwendemann</dc:creator>
      <dc:date>2011-06-17T07:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically assign function keys to gui-status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-assign-function-keys-to-gui-status/m-p/7923360#M1598956</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 it is possible to dynamically change Function Codes in Gui Status., But for your requirement., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You create 1 screen (100) with text . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Create 2  Gui Statuses ., One with Function buttons Execute (F8) and  Abort (F12) and Other with Function Buttons Yes (F5) and No (F3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now In your Report., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you press Execute or save .,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen 100 starting at ...  ending at ... . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In  PBO.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text = 'Do you want to execute?'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set pf-status 'ZPFSTAT1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else if you press Save.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text = 'Do you want to Save?'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set pf-status 'ZPFSTAT2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also ., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create 2 screens with two defferent texts and in each screen PBO  Set the Corresponding PF Status.&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>Fri, 17 Jun 2011 11:33:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-assign-function-keys-to-gui-status/m-p/7923360#M1598956</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-17T11:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically assign function keys to gui-status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-assign-function-keys-to-gui-status/m-p/7923361#M1598957</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;you mention that it is possible to change function codes in a gui status dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cann you give me a hit how that is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gianpietro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 12:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-assign-function-keys-to-gui-status/m-p/7923361#M1598957</guid>
      <dc:creator>gianpietro_dalzio2</dc:creator>
      <dc:date>2015-03-17T12:40:53Z</dc:date>
    </item>
  </channel>
</rss>

