<?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: Status GUI and code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234783#M1381212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
at user-command.
case sy-ucomm.
when '&amp;amp;SHOW'.
write 'Button', sy-ucomm.
skip 1.
write 'Function Key',SY-PFKEY.
endcase.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will do &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshu Thekkillam on Oct 6, 2009 10:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2009 17:08:39 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-10-06T17:08:39Z</dc:date>
    <item>
      <title>Status GUI and code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234779#M1381208</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 created an STATUS GUI for a simple report, I would like to know if i can show in a write statement  via code and after pressing a button this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Name of the button. and&lt;/P&gt;&lt;P&gt;2. The function asociated to this button ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gaby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 16:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234779#M1381208</guid>
      <dc:creator>former_member204025</dc:creator>
      <dc:date>2009-10-06T16:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Status GUI and code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234780#M1381209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for funtion code &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
at user-command.
write sy-ucomm.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;what do you mean by button name ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 17:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234780#M1381209</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-06T17:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Status GUI and code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234781#M1381210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
Try this way.
&lt;PRE&gt;&lt;CODE&gt;
REPORT ZTEST.
START-OF-SELECTION.
SET PF-STATUS 'STATUS1'.

AT USER-COMMAND.
 CASE sy-ucomm.
  WHEN 'BUT1'.
     WRITE:/ 'Button1'. "We need write text for the button manually as we are writing code, we know what is that button. I do not think any system field is there which contains button text.
     WRITE:/ sy-ucomm. "Button function code
 ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;
Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 17:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234781#M1381210</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-10-06T17:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Status GUI and code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234782#M1381211</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;What I mean is, when I created a new Status GUI, I added a button, I called '&amp;amp;SHOW', what I did is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;SHOW'.&lt;/P&gt;&lt;P&gt; write: 'You pressed the SHOW button'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I gave it a function key f2, I would like to know if there is a way to show after the first write, it's function key and the name of the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be possible?&lt;/P&gt;&lt;P&gt;Gaby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 17:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234782#M1381211</guid>
      <dc:creator>former_member204025</dc:creator>
      <dc:date>2009-10-06T17:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Status GUI and code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234783#M1381212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
at user-command.
case sy-ucomm.
when '&amp;amp;SHOW'.
write 'Button', sy-ucomm.
skip 1.
write 'Function Key',SY-PFKEY.
endcase.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will do &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshu Thekkillam on Oct 6, 2009 10:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 17:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234783#M1381212</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-06T17:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Status GUI and code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234784#M1381213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keshu!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's a very helpful answer! But I can't see yer the Function Key, what I see with sy-pfkey is the status gui name, what I need to see is the function key for the button that I have selected &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll be looking for that!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 17:53:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234784#M1381213</guid>
      <dc:creator>former_member204025</dc:creator>
      <dc:date>2009-10-06T17:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Status GUI and code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234785#M1381214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Breaking news guys...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code as it, it's ok!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gaby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 18:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/status-gui-and-code/m-p/6234785#M1381214</guid>
      <dc:creator>former_member204025</dc:creator>
      <dc:date>2009-10-06T18:02:38Z</dc:date>
    </item>
  </channel>
</rss>

