<?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: SY-UCOMM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911605#M937872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UCOMM capture the fuction code triggered from the user..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will tell u small example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on any screen you see enter '/h' in the command prompt..&lt;/P&gt;&lt;P&gt;and press enter...&lt;/P&gt;&lt;P&gt;this switches on the debugging...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after that you perform any action then you will be taken into corresponding program debugging mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there you enter in the field SY-UCOMM and press enter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will find the corresponding FUNCTION CODE for your action made on the screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above stated process is more helpful while BDC PROGRAMMING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narin Nandivada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 19:02:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T19:02:24Z</dc:date>
    <item>
      <title>SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911587#M937854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please tell me what is the purpose of the system variable &lt;/P&gt;&lt;P&gt;sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 07:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911587#M937854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T07:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911588#M937855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;purpose of the system variable&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;SAP is assigned with a &lt;STRONG&gt;Function code&lt;/STRONG&gt;(User-Command) which is triggered when the user performs the action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find all the system variables and their description in &lt;STRONG&gt;se11&lt;/STRONG&gt;  and table name is &lt;STRONG&gt;SYST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system variables provided by the sap are very useful in coding.&lt;/P&gt;&lt;P&gt;for example if u are interested to print page numbers u can use  PAGNO without much effort from the developers side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are predefined by SAP and for example to identify the index of an internal table and loop count while debugging and not only for that they have provided for many.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By seeing the SYST table u will be familiar with all those system variables.&lt;/P&gt;&lt;P&gt;and also see the below link for ur quick reference&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://help.sap.com/erp2005_ehp_03/helpdata/EN/7b/fb96c8882811d295a90000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/erp2005_ehp_03/helpdata/EN/7b/fb96c8882811d295a90000e8353423/frameset.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Plz rewards points if helpful,&lt;/P&gt;&lt;P&gt;Ganesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 07:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911588#M937855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T07:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911589#M937856</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 &lt;STRONG&gt;stores all the function codes&lt;/STRONG&gt; given by the user.&lt;/P&gt;&lt;P&gt;sy-ucomm is for doing the functions what the user wishes to do at that particular event. You use it in menus and other place . this mainly in using &amp;lt;pfstatus&amp;gt; &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;SY-UCOMM IS A system variable. It contains the latest user action triggered. Whereas ok_code is generally a variable that we declare as a type of sy-ucomm. Usually in ABAP programing it is a good practice not to refer to sy-ucomm directly, or sometimes we need to store a user interaction for later validation, these are the scenarios where an ok_code value comes handy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;raji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 07:31:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911589#M937856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T07:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911590#M937857</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;SY-UCOMM. UCOMM is nothing but USER COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP , if user presses any button then the system field SY-UCOMM will be set with the buttons function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This you will use in the event AT USER-COMMAND .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when '/00'.&lt;/P&gt;&lt;P&gt;message 'Hi'.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here /00 is the function code of a button. when you click the button the message gets displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some of the codes are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%CTX Call a context menu &lt;/P&gt;&lt;P&gt;%EX Exit &lt;/P&gt;&lt;P&gt;%PC Save to file &lt;/P&gt;&lt;P&gt;%PRI Print &lt;/P&gt;&lt;P&gt;%SC Search for ... &lt;/P&gt;&lt;P&gt;%SC+ Find next &lt;/P&gt;&lt;P&gt;%SL Search in office &lt;/P&gt;&lt;P&gt;%ST Save to report tree &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 07:34:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911590#M937857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T07:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911591#M937858</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;Every user action in SAP is assigned with a Function code(User-Command) which is triggered when the user performs the action( like push buttons)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this function codes are stored in the system variable sy-ucomm ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it comes handy in module pool programming and interactive reports using at user-command event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 08:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911591#M937858</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-06-06T08:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911592#M937859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sy-ucomm is the system variable, which is maintained by the system automatically. U need take care of that variable. U ca find the Function-Code that was pressed on a particular screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-ucomm is for doing the functions what the user wishes to do at that particular event. You use it in menus and other place . this mainly in using &amp;lt;pfstatus&amp;gt;.SY-UCOMM Returns the code for the GUI status button pushed (Only only used in lists. In dialog programs use OKCODE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your ABAP programs, you should work with the OK_CODE field instead of SY-UCOMM. There are two reasons for this: Firstly, the ABAP program has full control over fields declared within it, and secondly, you should never change the value of an ABAP system field. However, you should also always initialize the OK_CODE field in an ABAP program for the following reason: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same way that the OK_CODE field in the ABAP program and the system field SY-UCOMM receive the contents of the corresponding screen fields in the PAI event, their contents are also assigned to the OK_CODE screen field and system field SYST-UCOMM in the PBO event. Therefore, you must clear the OK_CODE field in the ABAP program to ensure that the function code of a screen is not already filled in the PBO event with an unwanted value. This is particularly important when the next PAI event can be triggered with an empty function code (for example, using ENTER). Empty function codes do not affect SY-UCOMM or the OK_CODE field, and consequently, the old field contents are transported. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 08:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911592#M937859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T08:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911593#M937860</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;SY-UCOMM Returns the code for the GUI status button pushed (Only only used in lists. In dialog programs use OKCODE)Screens, function code triggered by PAI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 12:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911593#M937860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T12:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911594#M937861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UCOM store the value of user command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie back cancel etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 04:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911594#M937861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T04:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911595#M937862</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;there are 3 event with interactive list i.e, when user interacts in the list they are  AT LINE-SELECTION, AT USER_COMMAND and AT PF &amp;lt;nn&amp;gt;...&lt;/P&gt;&lt;P&gt;whenever this events are triggered a function code is generated  which is stored in the system field &lt;/P&gt;&lt;P&gt;sy-ucomm at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful.&lt;/P&gt;&lt;P&gt;with luck,&lt;/P&gt;&lt;P&gt;pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 06:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911595#M937862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T06:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911596#M937863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP has  defined a System variable sy-ucomm which holds the current function code i.e. User-Command which is triggered when the user performs the action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g. when user presses some button on the screen then in back ground sy-ucomm holds the value of funtion code associated with that button.&lt;/P&gt;&lt;P&gt;In your program you can check the value and write some processing code against it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help children of U.N World Food Program by rewarding  points and encourage others to answer your queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 06:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911596#M937863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T06:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911597#M937864</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;while working with the PF-STATUS you click a button at the Run time depending on the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UCOMM is the system variable which is having the Function code of that button which helps us to proceed the execution forward in the interactive list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember that SY-UCOMM only works with the interactive list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 06:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911597#M937864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T06:46: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/3911598#M937865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In simple SY-UCOMM store the code of the action performed..&lt;/P&gt;&lt;P&gt;And mostly it doesnot store any F4 help codes... ie if  u want to trap F4 help while recording its not possible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SY-UCOMM doesnot store any F4 Help recordings...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understood the exception as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narin Nandivada.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 06:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911598#M937865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T06:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911599#M937866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-ucomm behaves in the following step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when user make any interaction in the user-defined pf-status or dialog program , one unique predefined function-code is triggered corrsepnding to the user-action. Sy-ucomm stores the latest value of the trigerred function code.&lt;/P&gt;&lt;P&gt;If there is any coding given in the AT USER-COMMAND event corresponding to this user action , the same is executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UCOMM STORES ONLY ONE VALUE AT A TIME AND IT IS THE FUCTION CODE OF LAST USER ACTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if find helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anirban Bhattacharjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 08:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911599#M937866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T08:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911600#M937867</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 is a system field used to trigger the actions on user interaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 09:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911600#M937867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T09:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911601#M937868</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;&lt;STRONG&gt;SY-UCOMM&lt;/STRONG&gt; stores the Function code that is triggered in the PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R Adarsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 16:04:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911601#M937868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T16:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911602#M937869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use sy-ucomm in dialog program to know which button is pressed on screen but better practise is to use ok_code for that 'coz sy-ucomm value cannot be changed as it is a system variable but ok_code can be changed manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define ok_code of type sy-ucomm only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 05:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911602#M937869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T05:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911603#M937870</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 is a variable used to check any user triggered event.&lt;/P&gt;&lt;P&gt;There are 3 types of user events:&lt;/P&gt;&lt;P&gt;1. At Line Selection.&lt;/P&gt;&lt;P&gt;2. At User Command.&lt;/P&gt;&lt;P&gt;3. At Selection Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever user perform any of these events, it get stored in Sy-UCOMM.&lt;/P&gt;&lt;P&gt;From thr values of this variable we can recognise the user action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this information will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks n regards,&lt;/P&gt;&lt;P&gt;Rajesh kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 09:00:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911603#M937870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T09:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911604#M937871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question is very interresting, basic and important.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As this question Judges the perfection of an ABAPer in reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UCOMM - This is a system field used in Screen programming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Function code that triggers the event PAI (Process After Input). Every user action that triggers PAI is assigned a unique function code, with one exception: Choosing Enter triggers PAI and different function codes can be transferred to SY-UCOMM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If there is an entry in the command field of the standard toolbar, this is transferred to SY-UCOMM as the function code. &lt;/P&gt;&lt;P&gt;If there is no entry in the command field and a function code is assigned to the ENTER key, this function code is transferred to SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If the command field does not contain an entry and no function code is assigned to the ENTER key, it is empty and the content of SY-UCOMM is not affected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This information is limited to only understanding of basical working. But, It has the most widest of applications in reports.&lt;/P&gt;&lt;P&gt;Feel free to discuss with me any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if you find this information usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 16:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911604#M937871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T16:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: SY-UCOMM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911605#M937872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UCOMM capture the fuction code triggered from the user..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will tell u small example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on any screen you see enter '/h' in the command prompt..&lt;/P&gt;&lt;P&gt;and press enter...&lt;/P&gt;&lt;P&gt;this switches on the debugging...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after that you perform any action then you will be taken into corresponding program debugging mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there you enter in the field SY-UCOMM and press enter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will find the corresponding FUNCTION CODE for your action made on the screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above stated process is more helpful while BDC PROGRAMMING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Narin Nandivada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 19:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-ucomm/m-p/3911605#M937872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T19:02:24Z</dc:date>
    </item>
  </channel>
</rss>

