<?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: Pushbuttons in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbuttons/m-p/4081458#M975919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;STRONG&gt;CASE SY-UCOMM&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 10:50:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T10:50:27Z</dc:date>
    <item>
      <title>Pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbuttons/m-p/4081457#M975918</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;Can you please assist me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a program but now the problem that I am having is that my program contains a two pushbuttons, according to the understanding I have, if you press the pushbutton the function code is stored in the ok_code, now the proble is whether I press the pushbutton or not there is nothing stored in the pushbuttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pasted the coding below, thanx alot for all the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  Z_TEST.
DATA: INPUT(20) TYPE C, OUTPUT(20) TYPE C, OK_CODE TYPE SY-UCOMM,
      SAVE_OK LIKE OK_CODE.


CALL SCREEN 100.

MODULE init_screen_100 OUTPUT.
  CLEAR INPUT.
  CLEAR OUTPUT.
  CLEAR OK_CODE.
ENDMODULE.



MODULE user_command_0100 INPUT.

  WRITE: OK_CODE.
  SAVE_OK = OK_CODE.
  CLEAR OK_CODE.

  CASE SAVE_OK.

  WHEN 'CANCEL_1'.
    LEAVE PROGRAM.

  WHEN 'LOGON_1'.

    WRITE: 'THE USERNAME IS ', INPUT.
    WRITE /.
    WRITE: 'THE PASSWORD IS ', OUTPUT.

   WHEN OTHERS.
     WRITE: SAVE_OK.
     LEAVE PROGRAM.

  ENDCASE.
ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 10:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbuttons/m-p/4081457#M975918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T10:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbuttons/m-p/4081458#M975919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;STRONG&gt;CASE SY-UCOMM&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 10:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbuttons/m-p/4081458#M975919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T10:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbuttons/m-p/4081459#M975920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the pust buttons defied, you need to specify Function code in the element attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then check this function code in SY-UCOMM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 10:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbuttons/m-p/4081459#M975920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T10:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbuttons/m-p/4081460#M975921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Sy-ucomm will store the function codes.So where ever you are using ok_code, replace the same by sy-ucomm.&lt;/P&gt;&lt;P&gt; Reward points if it helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 10:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbuttons/m-p/4081460#M975921</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-06-26T10:55:11Z</dc:date>
    </item>
  </channel>
</rss>

