<?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 SY-UCOMM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909898#M56858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have three buttons in screen 0100. And their names are A, B, C respectively. When user pushes any of these buttons, I want to know which button is pushed. I wrote code, and I tried to learn which button is pushed. But, result of SY-UCOMM is only blank. There is nothing in SY-UCOMM. My full code is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;----------------------------------------------------
*&amp;amp; Program  ZPROJECT

PROGRAM  zproject.
DATA: save_code TYPE sy-ucomm,
        ok_code TYPE sy-ucomm.

CALL SCREEN '0100'.
INCLUDE ZPAIMODULES.

*-----------------------------------------------
* INCLUDE ZPAIMODULES.

MODULE user_command_0100 INPUT.

  SAVE_CODE = OK_CODE.

  DATA wa TYPE I.

  CASE SAVE_CODE.
    WHEN 'A'.
      WA = 5.
    WHEN 'B'.
      WA = 9.
    WHEN OTHERS.
      WA = 500.
  ENDCASE.

ENDMODULE.

*--------------------------------------------------
*SCREEN '0100'
PROCESS BEFORE OUTPUT.
 MODULE STATUS_0100.
*
PROCESS AFTER INPUT.
 MODULE USER_COMMAND_0100.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also wrote OK_CODE in element list of Screen 0100 for the last entry that type is OK. There is no code as I wrote above. I watched the execution of the program. And I watched SAVE_CODE value. It is all the time blank. I mean there is no value for it. Where is wrong? What should I do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Feb 2005 23:03:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-02-09T23:03:47Z</dc:date>
    <item>
      <title>SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909898#M56858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have three buttons in screen 0100. And their names are A, B, C respectively. When user pushes any of these buttons, I want to know which button is pushed. I wrote code, and I tried to learn which button is pushed. But, result of SY-UCOMM is only blank. There is nothing in SY-UCOMM. My full code is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;----------------------------------------------------
*&amp;amp; Program  ZPROJECT

PROGRAM  zproject.
DATA: save_code TYPE sy-ucomm,
        ok_code TYPE sy-ucomm.

CALL SCREEN '0100'.
INCLUDE ZPAIMODULES.

*-----------------------------------------------
* INCLUDE ZPAIMODULES.

MODULE user_command_0100 INPUT.

  SAVE_CODE = OK_CODE.

  DATA wa TYPE I.

  CASE SAVE_CODE.
    WHEN 'A'.
      WA = 5.
    WHEN 'B'.
      WA = 9.
    WHEN OTHERS.
      WA = 500.
  ENDCASE.

ENDMODULE.

*--------------------------------------------------
*SCREEN '0100'
PROCESS BEFORE OUTPUT.
 MODULE STATUS_0100.
*
PROCESS AFTER INPUT.
 MODULE USER_COMMAND_0100.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also wrote OK_CODE in element list of Screen 0100 for the last entry that type is OK. There is no code as I wrote above. I watched the execution of the program. And I watched SAVE_CODE value. It is all the time blank. I mean there is no value for it. Where is wrong? What should I do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2005 23:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909898#M56858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-09T23:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909899#M56859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huseyin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What OK_CODE can contain is the function code that you assign to a button, not its name. So, check whether you have assigned any function code to the buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can assign a function code to a button at Screen Painter. When you double-click the button element at the middle of attributes side-screen you can see the field to enter the function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, you'd better restructuring your main program as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROGRAM  zproject.

DATA: save_code TYPE sy-ucomm,
      ok_code   TYPE sy-ucomm.

INCLUDE ZPAIMODULES.

START-OF-SELECTION . 
CALL SCREEN '0100'.
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2005 23:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909899#M56859</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2005-02-09T23:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909900#M56860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Serdar,&lt;/P&gt;&lt;P&gt;As you had said I wrote some key values that help me to learn which button is pressed into the function code tab. So, I solved problem.&lt;/P&gt;&lt;P&gt;Tesekkurler Serdar. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2005 01:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909900#M56860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-10T01:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909901#M56861</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;Good to know that the problem has been resolved. If you find it appropriate, please mark the thread as answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Shehryar Khan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2005 05:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909901#M56861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-10T05:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909902#M56862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huseyin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Shehryar stated, you should close the thread either by assigning a 10 points or checking related checkbox at one of your reply post edit screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I recall your name? Are you a graduate of METU EE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2005 12:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909902#M56862</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2005-02-10T12:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909903#M56863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I checked the related checbox. Because of I am new on this form,first I did not see such an application. Excuse..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serdar, Now, I am at Dokuz Eylul University, Computer Engineering department, Class 4. I am deal with ABAP at a company that I am training at. I don't have any relation with METU EE. But, it is nice that there is an ABAP well-formed Turkish person at this form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2005 00:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909903#M56863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-11T00:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909904#M56864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Huseyin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thread's still not closed... We do understand you are new to the forum &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; Please close the thread by awarding Serdar 10 points (Problem Solved) radio button. This would not only close the thread, it would also award Serdar his rightfully deserved points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, its really gr8 to have people like Serdar, Poornanand, Subramanian, Shehryar, and the likes to help us with our petty issues &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; Thanks guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2005 04:58:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/909904#M56864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-11T04:58:28Z</dc:date>
    </item>
  </channel>
</rss>

