<?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 ALV User command problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702119#M1452503</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 am displaying the report using ALV grid FM. I have added the button in application toolbar with my own PF status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write another report when user click on this button. But write statements are not working when i click that button. No new screen gets displyed. In debug mode i can see it is writting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;looks problem with events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Mar 2010 19:20:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-09T19:20:53Z</dc:date>
    <item>
      <title>ALV User command problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702119#M1452503</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 am displaying the report using ALV grid FM. I have added the button in application toolbar with my own PF status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write another report when user click on this button. But write statements are not working when i click that button. No new screen gets displyed. In debug mode i can see it is writting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;looks problem with events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 19:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702119#M1452503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T19:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: ALV User command problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702120#M1452504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the new report goes into ALV, I think you would need to duplicate your various ALV elements.  I once had a tabstrip with four tabs and four different ALVs, and thus had four sets of objects.  On the other hand, if you're doing a list report, you're not going to see that until you exit the ALV...( and you may have to adjust how you leave that...)/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 20:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702120#M1452504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T20:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV User command problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702121#M1452505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first it will be displayed after pressing back from ALV...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second why do not you go for ALV in second report also?&lt;/P&gt;&lt;P&gt;that time there will be no problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 20:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702121#M1452505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T20:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: ALV User command problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702122#M1452506</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 mention your logic under the event AT USER-COMMAND. It will works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 05:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702122#M1452506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-10T05:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV User command problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702123#M1452507</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;Refer the below code snippet:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program       = v_repid
      i_callback_pf_status_set = 'PF'
      i_callback_user_command  = 'COMMAND'
      it_fieldcat              = it_field_catalog
    TABLES
      t_outtab                 = it_output
    EXCEPTIONS
      program_error            = 1
      OTHERS                   = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM pf USING im_extab TYPE slis_t_extab.
  SET PF-STATUS 'TEST1'.
ENDFORM. "pf

FORM command USING im_ucomm TYPE sy-ucomm
                      im_selfield TYPE slis_selfield.
  CASE im_ucomm .
    WHEN 'REPORT'.
      LEAVE TO LIST-PROCESSING.
      WRITE / 'hello'.
  ENDCASE.
ENDFORM.                    "command
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 05:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command-problem/m-p/6702123#M1452507</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2010-03-10T05:27:20Z</dc:date>
    </item>
  </channel>
</rss>

