<?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: At user command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031598#M963517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER COMMAND event provides different function keys.&lt;/P&gt;&lt;P&gt;AT USER COMMAND  will b triggered when a button or any&lt;/P&gt;&lt;P&gt;element containing function code was clicked.That button or element is created by user.&amp;amp; we can give it a task after pressing it.So that task will come in this event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2008 07:51:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-19T07:51:57Z</dc:date>
    <item>
      <title>At user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031591#M963510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tell me more abot At -user- command&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031591#M963510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: At user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031592#M963511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Self-defined function codes are all those that include character combinations, except for the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function codes PICK and PF## ("##" stands for 01 to 24) do not cause the event AT USER-COMMAND, but the events AT LINE-SELECTION and AT PF##. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All function codes that start with the character "%" are interpreted as system functions and do not cause the event AT USER-COMMAND. The system functions for lists are listed in the following table 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function codes in the following table 2, likewise, do not cause the event AT USER-COMMAND, but are handled by the list processor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:47:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031592#M963511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: At user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031593#M963512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT USER-COMMAND. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event in interactive reporting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is executed whenever the user presses a function key in the list or makes an entry in the command field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some functions are executed directly by the system and thus cannot be processed by programs. These include: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PICK &lt;/P&gt;&lt;P&gt;PFn &lt;/P&gt;&lt;P&gt;/... &lt;/P&gt;&lt;P&gt;System command &lt;/P&gt;&lt;P&gt;%... &lt;/P&gt;&lt;P&gt;System command &lt;/P&gt;&lt;P&gt;PRI &lt;/P&gt;&lt;P&gt;Print &lt;/P&gt;&lt;P&gt;BACK &lt;/P&gt;&lt;P&gt;Back &lt;/P&gt;&lt;P&gt;RW &lt;/P&gt;&lt;P&gt;Cancel &lt;/P&gt;&lt;P&gt;P... &lt;/P&gt;&lt;P&gt;Scroll function (e.g.: P+ , P- , PP+3, PS-- etc.) &lt;/P&gt;&lt;P&gt;Instead of this functions, you can use the SCROLL statement in programs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since many of these system functions begin with "P", you should avoid using this letter to start your own function codes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, the effect is as for AT LINE-SELECTION; also, the current function code is stored in the system field SY-UCOMM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;DATA: NUMBER1 TYPE I VALUE 20, &lt;/P&gt;&lt;P&gt;      NUMBER2 TYPE I VALUE  5, &lt;/P&gt;&lt;P&gt;      RESULT  TYPE I. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  WRITE: / NUMBER1, '?', NUMBER2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND. &lt;/P&gt;&lt;P&gt;  CASE SY-UCOMM. &lt;/P&gt;&lt;P&gt;    WHEN 'ADD'. &lt;/P&gt;&lt;P&gt;      RESULT = NUMBER1 + NUMBER2. &lt;/P&gt;&lt;P&gt;    WHEN 'SUBT'. &lt;/P&gt;&lt;P&gt;      RESULT = NUMBER1 - NUMBER2. &lt;/P&gt;&lt;P&gt;    WHEN 'MULT'. &lt;/P&gt;&lt;P&gt;      RESULT = NUMBER1 * NUMBER2. &lt;/P&gt;&lt;P&gt;    WHEN 'DIVI'. &lt;/P&gt;&lt;P&gt;      RESULT = NUMBER1 / NUMBER2. &lt;/P&gt;&lt;P&gt;    WHEN OTHERS. &lt;/P&gt;&lt;P&gt;      WRITE 'Unknown function code'. &lt;/P&gt;&lt;P&gt;      EXIT. &lt;/P&gt;&lt;P&gt;  ENDCASE. &lt;/P&gt;&lt;P&gt;  WRITE: / 'Result:', RESULT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After entry of a function code, the appropriate processing is performed under the event AT USER-COMMAND and the result is displayed in the details list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031593#M963512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: At user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031594#M963513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kareem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see tis following code, now u hav some idea what s the of at user command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its similar like that of Process After Input in Dialog Programming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF screen 100 as window.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON 12(20)  but1 USER-COMMAND CLK.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN end OF screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  if sy-ucomm = 'CLK'.&lt;/P&gt;&lt;P&gt;    message i000(zmsg).&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call SELECTION-SCREEN 100 .&lt;/P&gt;&lt;P&gt;set PF-STATUS 'TEST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;  case sy-ucomm.&lt;/P&gt;&lt;P&gt;    when 'BACK'.&lt;/P&gt;&lt;P&gt;      leave to screen 0.&lt;/P&gt;&lt;P&gt;    when 'TEST'.&lt;/P&gt;&lt;P&gt;      message i000(zmsg).&lt;/P&gt;&lt;P&gt;   endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:48:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031594#M963513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: At user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031595#M963514</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;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;&amp;lt;statements&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this event block, you can use an IF or CASE structure to tell the function codes apart. They are available in the system field SY-UCOMM. There are further system fields that are filled in list events, such as SY-LSIND and SY-PFKEY, that allow you to make further case distinctions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The events START-OF-SELECTION, GET, END-OF-SELECTION, TOP-OF-PAGE and END-OF-PAGE&lt;/P&gt;&lt;P&gt;can be used only to create basic lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create detail lists, use the events AT LINE-SELECTION and AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;Use TOP-OF-PAGE DURING LINE-SELECTION for page headers on detail lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each detail list event exists only once in the program and is shared by all detail lists. You must therefore&lt;/P&gt;&lt;P&gt;ensure yourself, within the processing block, that the correct list is created. To do this, use a CASE&lt;/P&gt;&lt;P&gt;structure that uses the system field sy-lsind. This system field contains the list index of the list that you&lt;/P&gt;&lt;P&gt;are currently generating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user selects a line on an interactive list, all of the global data fields whose values you stored&lt;/P&gt;&lt;P&gt;using the HIDE statement while you were creating the basic list are filled with those values.&lt;/P&gt;&lt;P&gt;The line selection is based on the cursor position when the AT LINE-SELECTION and AT USERCOMMAND&lt;/P&gt;&lt;P&gt;events occur. (system field sy-lilli).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you choose a line using the READ LINE... statement, . the values are placed back in the original fields&lt;/P&gt;&lt;P&gt;according to the line numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT USER-COMMAND.
 
CASE sy-ucomm.
WHEN 'FLGHT'.
SET TITLEBAR 'T_FLGHT'
WITH wa_spfli-carrid.
SET PF-STATUS 'S_FLGHT'.
...
WHEN 'BOOK'.
SET PF-STATUS 'S_BOOK' EXCLUDING 'BOOK'.
SET TITLEBAR 'T_BOOK'.
WITH wa_sflight-carrid wa_sflight-fldate.
...
ENDCASE.
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You program AT USER-COMMAND as an interactive event and evaluate the system field sy-ucomm in a&lt;/P&gt;&lt;P&gt;CASE control structure. This field contains the current function code.&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;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031595#M963514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: At user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031596#M963515</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;please refer to [Interactive Lists|http://help.sap.com/saphelp_nw70/helpdata/EN/9f/dba2c435c111d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Rudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031596#M963515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: At user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031597#M963516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;At user command genrally we use to handle Function codes of the buttons and menu bar options.&lt;/P&gt;&lt;P&gt;Sy-Ucomm will give u the Function code at run time so that by using it u can perform some actions in ur program dynamically,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more inforamtion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Self-defined function codes are all those that include character combinations, except for the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function codes PICK and PF## ("##" stands for 01 to 24) do not cause the event AT USER-COMMAND, but the events AT LINE-SELECTION and AT PF##. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All function codes that start with the character "%" are interpreted as system functions and do not cause the event AT USER-COMMAND. The system functions for lists are listed in the following table 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function codes in the following table 2, likewise, do not cause the event AT USER-COMMAND, but are handled by the list processor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function code Function &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function code Function &lt;/P&gt;&lt;P&gt;BACK Back &lt;/P&gt;&lt;P&gt;P- Scroll to previous page &lt;/P&gt;&lt;P&gt;P-- Scroll to first page &lt;/P&gt;&lt;P&gt;P+ Scroll to next page &lt;/P&gt;&lt;P&gt;P++ Scroll to last page &lt;/P&gt;&lt;P&gt;PFILE name Store list lines in a text file named abap.lst in standard character representation in the standard directory of the application server. If a name is entered using name, this is converted to lowercase letters and used as the file name. &lt;/P&gt;&lt;P&gt;PL- Scroll to first line of the page &lt;/P&gt;&lt;P&gt;PL-n Scroll n lines back &lt;/P&gt;&lt;P&gt;PL+ Scroll to last line of the page &lt;/P&gt;&lt;P&gt;PL+n Scroll n lines up &lt;/P&gt;&lt;P&gt;PNOP No effect &lt;/P&gt;&lt;P&gt;PP- Scroll back one page &lt;/P&gt;&lt;P&gt;PP-n Scroll n pages back &lt;/P&gt;&lt;P&gt;PP+ Scroll one page forward &lt;/P&gt;&lt;P&gt;PP+n Scroll n pages forwad &lt;/P&gt;&lt;P&gt;PPn Scroll to beginning of page n &lt;/P&gt;&lt;P&gt;PRI, PRINT Print &lt;/P&gt;&lt;P&gt;PS-- Scroll to first column &lt;/P&gt;&lt;P&gt;PS++ Scroll to last column &lt;/P&gt;&lt;P&gt;PS- Scroll one column to the left &lt;/P&gt;&lt;P&gt;PS-n Scroll n columns to the left &lt;/P&gt;&lt;P&gt;PS+ Scroll one column to the right &lt;/P&gt;&lt;P&gt;PS+n Scroll n columns to the right &lt;/P&gt;&lt;P&gt;PSn Scroll to column n &lt;/P&gt;&lt;P&gt;PZn Scroll to line n &lt;/P&gt;&lt;P&gt;RW Cancel &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;STRONG&gt;Example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This program works with a self-defined GUI status MYLIST. The function that is linked there with the function code MY_SELECTION causes the event AT USER-COMMAND during list display and also creates details lists.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REPORT demo_at_user_command.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;START-OF-SELECTION.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;SET PF-STATUS 'MYLIST'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;WRITE 'List line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT USER-COMMAND.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;IF sy-lsind = 20.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;SET PF-STATUS 'MYLIST' EXCLUDING 'MY_SELECTION'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;CASE sy-ucomm.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;WHEN 'MY_SELECTION'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;WRITE: / 'You worked on list', sy-listi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;             &lt;STRONG&gt;/ 'You are on list', sy-lsind.&lt;/STRONG&gt;     ... &lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031597#M963516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: At user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031598#M963517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER COMMAND event provides different function keys.&lt;/P&gt;&lt;P&gt;AT USER COMMAND  will b triggered when a button or any&lt;/P&gt;&lt;P&gt;element containing function code was clicked.That button or element is created by user.&amp;amp; we can give it a task after pressing it.So that task will come in this event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031598#M963517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: At user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031599#M963518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is used in all types of reports..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will be used if you double click on a particular row or when any pushbutton pressed in the report or when enter or execure is pressed in the reports ...this is the basic thing of the interacative reports without this interactive reporting is not possible.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is used with the set pf-status ..&lt;/P&gt;&lt;P&gt;report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set pf-status 'DEV'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'ENTR'.&lt;/P&gt;&lt;P&gt;do some thing....&lt;/P&gt;&lt;P&gt;when 'BACK'.&lt;/P&gt;&lt;P&gt;leave to screen 0.&lt;/P&gt;&lt;P&gt;when 'PRN'.&lt;/P&gt;&lt;P&gt;print the following..&lt;/P&gt;&lt;P&gt;endcase .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command/m-p/4031599#M963518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:53:19Z</dc:date>
    </item>
  </channel>
</rss>

