<?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: Problem with user command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886426#M1141836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No its r_ucomm is not capturing the pushbutton's action. the value of r_ucomm is &amp;amp;ic1.&lt;/P&gt;&lt;P&gt;my function code is 'H'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2008 15:32:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-15T15:32:30Z</dc:date>
    <item>
      <title>Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886418#M1141828</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 an ALV output. in the first detail list i have added a pushbutton on the application tool bar. when i click on the pushbutton a popup screen should be displayed. i have designed popup screen but when i'm trying to call the screen its not displaying. and one more thing if i clicked on other alv fields in the grid its going further screen but only this pushbutton click is not working. i have written the code like the below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM user_click USING r_ucomm LIKE sy-ucomm
                                 rs_selfield TYPE slis_selfield.


  CASE rs_selfield-fieldname.
when 'pushbutton function code'
      CALL selection-SCREEN '0400' STARTING AT 30 10 .
      not performing this.
    WHEN 'C'.
        performing well&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  in all other cases its working fine but except in pushbutton case its not working. but all other are fieldnames. so rs_selfield is capturing properly i thought, but in my new addtional pushbutton case its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anybody help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;g.s.naidu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 14:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886418#M1141828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T14:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886419#M1141829</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;Do not capture &lt;STRONG&gt;rs_selfield-fieldname&lt;/STRONG&gt; field. Instead use &lt;STRONG&gt;r_ucomm&lt;/STRONG&gt;. User command passes function code which you have to first assing for each pushbutton. When you press it, it the code of respective button will be stored in &lt;STRONG&gt;r_ucomm&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CASE r_ucomm.
when "Function code of a pushbutton
   CALL selection-SCREEN '0400' STARTING AT 30 10 .
WHEN "different function code of another pushbutton
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 14:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886419#M1141829</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-12-15T14:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886420#M1141830</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;Is the popup screen a selection screen? If not you should enter the code call screen 0400 starting at colpos rowpos. This will call the screen when you click on the button. Also you may try to run the program in debugging mode to check if the function code is being captued and the subroutine is being called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 14:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886420#M1141830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T14:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886421#M1141831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Yes its a selection screen. i have checked this in debugging mode. the function code is not getting captured. i have tried with r_ucomm also its not atall going there. its going to rs_selfield-fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;g.s.naidu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 14:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886421#M1141831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T14:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886422#M1141832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Some where u need to use the word&lt;STRONG&gt;PICK&lt;/STRONG&gt; but i am not sure this may help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u,&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: santhosh kumar on Dec 15, 2008 4:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 15:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886422#M1141832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T15:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886423#M1141833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide your code please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 15:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886423#M1141833</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-12-15T15:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886424#M1141834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When you give 'r_ucomm' it should work.&lt;/P&gt;&lt;P&gt;In debugging mode check the 'sy-ucomm' value when you click on your push button and&lt;/P&gt;&lt;P&gt;verify it in your program.&lt;/P&gt;&lt;P&gt;This may resolve the problem, if everything else is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj Kumar P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 15:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886424#M1141834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T15:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886425#M1141835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THIS IS MY CODE : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              i_callback_user_command = 'USER_CLK'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USER_CLK USING r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                                 rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case R_UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'H'.&lt;/P&gt;&lt;P&gt;    CALL selection-SCREEN '0200' STARTING AT 80 30 .&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE rs_selfield-fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'C'.&lt;/P&gt;&lt;P&gt;      ITS PERFORMING THE REQUIRED ACTION.&lt;/P&gt;&lt;P&gt;    WHEN 'D'.&lt;/P&gt;&lt;P&gt;    ITS PERFORMING THE REQUIRED ACTION.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 15:26:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886425#M1141835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T15:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886426#M1141836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No its r_ucomm is not capturing the pushbutton's action. the value of r_ucomm is &amp;amp;ic1.&lt;/P&gt;&lt;P&gt;my function code is 'H'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 15:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886426#M1141836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886427#M1141837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have any button with function code &lt;STRONG&gt;H&lt;/STRONG&gt; ? Ensure you have one and that you have activated your GUI status. This might be the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rs_selfield&lt;/STRONG&gt; keeps only the information about cursor position in ALV, it has nothing to do with triggering function codes assinged to &lt;STRONG&gt;sy-ucomm&lt;/STRONG&gt; (r_ucomm in your case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you get inside user-command, I mean how you trigger it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 15:35:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886427#M1141837</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-12-15T15:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886428#M1141838</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;Are u sure you've set the right command in your Status GUI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U should check your status in order to find out the ok_code assigned to your new button, &amp;amp;ic1 is std function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 15:36:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886428#M1141838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886429#M1141839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes my function id is right and i have activated my gui status. i have copied my gui status from the standard gui status.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;             The only problem i'm getting is the r_ucomm is not capturing my pushbuttons action. why i'm not getting. in two case statements r_ucomm is not working and rs_selfield-fieldname is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 15:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886429#M1141839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T15:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886430#M1141840</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;Because something is wrong on how u manage your status, can u post the code where u transfer your status to ALV and where u set your status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to find out the solution in your status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 16:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886430#M1141840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T16:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886431#M1141841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Dec 15, 2008 5:35 PM - comment no longer required&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 16:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886431#M1141841</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-12-15T16:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886432#M1141842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using the pf-status form also. show that also. some where you are doing the mistake. &lt;/P&gt;&lt;P&gt;show the code related to status form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 16:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886432#M1141842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T16:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886433#M1141843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            Thats not with intention its only due to hurryness. any ways it wont be repeated for the next time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;g.s.naidu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 16:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886433#M1141843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T16:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886434#M1141844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi naidu ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Please see the function code after ckicking the push button in the Debugging mode and use it in the case statement . i think it is not 'H' . i think the pf-status should have 3 chars . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case: r_ucomm .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;when 'PUSH'. &amp;lt;------ give the button function code from the debugging mode.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;do some thing ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 16:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886434#M1141844</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2008-12-15T16:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886435#M1141845</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;I've tried this sample and it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: t_bkpf type table of bkpf.
data: gt_repid type sy-repid.

start-of-selection.

  GT_REPID = sy-repid.

  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_CALLBACK_PROGRAM       = GT_REPID
      I_CALLBACK_PF_STATUS_SET = 'PF_STATUS_SET'
      I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'
      I_STRUCTURE_NAME         = 'BKPF'
    TABLES
      T_OUTTAB                 = t_bkpf.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  PF_STATUS_SET
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;RT_EXTAB   text
*----------------------------------------------------------------------*
FORM PF_STATUS_SET USING rt_extab TYPE slis_t_extab.
  set pf-status 'ALV' excluding rt_extab.
ENDFORM.                    "set_pf_status

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  user_command
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;R_UCOMM      text
*      --&amp;gt;RS_SELFIELD  text
*----------------------------------------------------------------------*
FORM user_command  USING r_ucomm LIKE sy-ucomm
                         rs_selfield TYPE slis_selfield.
  if r_ucomm = 'H'.
    message i208(00) with r_ucomm.
  endif.
endform.                    "user_command&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 16:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886435#M1141845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T16:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886436#M1141846</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;I think you are not passing the PF-STATUS to the alv... you might be calling the PF-STATUS in the report program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to set the PF-STATUS using the ALV then it will be captured in perfrom  user_click.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 16:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886436#M1141846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T16:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886437#M1141847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Yes your code is working fine . my minor mistake is i have taken &amp;amp;pop as a function id but still it was not working. after that i have taken pop only as a function id. now my popup is displaying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        So thank you all of you for the great response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll close this thread here now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;g.s.naidu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 17:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-command/m-p/4886437#M1141847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T17:20:31Z</dc:date>
    </item>
  </channel>
</rss>

