<?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 add one more push button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-one-more-push-button/m-p/4457709#M1056635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to add one more push button in the PF_STATUS of basic list as DISPLAY for interactve reporting using FM REUSE_ALV_GRID_DISPLAY .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2008 15:35:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-10T15:35:06Z</dc:date>
    <item>
      <title>add one more push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-one-more-push-button/m-p/4457709#M1056635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to add one more push button in the PF_STATUS of basic list as DISPLAY for interactve reporting using FM REUSE_ALV_GRID_DISPLAY .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 15:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-one-more-push-button/m-p/4457709#M1056635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T15:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: add one more push button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-one-more-push-button/m-p/4457710#M1056636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can have button on application toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just have to use the new pf status in your report program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should copy the 'STANDARD' GUI status from program SAPLKKBL using transaction SE90 &lt;DEL&gt;&amp;gt;Programming SubObjects&lt;/DEL&gt;&amp;gt; Gui Status. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute this transaction to get to next screen. select status using checkbox. click on GUI Status --&amp;gt; Copy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter your Z program name and the name you what for this status - you can keep it as 'STANDARD' to be simple. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can edit the new status to add or delete buttons. This will also bring in the standard SAP ALV functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at below code for using the new status. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_qmel LIKE qmel OCCURS 0.&lt;/P&gt;&lt;P&gt;data v_repid type repid.&lt;/P&gt;&lt;P&gt;SELECT * FROM qmel INTO TABLE i_qmel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_repid = sy-repid.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;I_CALLBACK_PROGRAM = v_repid&lt;/P&gt;&lt;P&gt;I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'&lt;/P&gt;&lt;P&gt;I_CALLBACK_USER_COMMAND = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;i_structure_name = 'QMEL'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;t_outtab = i_qmel&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;program_error = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF sy-subrc 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO &lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form set_pf_status using rt_extab type slis_t_extab.&lt;/P&gt;&lt;P&gt;set pf-status 'TEST'.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;data lv_ucomm type sy-ucomm.&lt;/P&gt;&lt;P&gt;lv_ucomm &lt;/P&gt;&lt;P&gt;= sy-ucomm. &lt;/P&gt;&lt;P&gt;CASE lv_ucomm.&lt;/P&gt;&lt;P&gt;WHEN 'BUTTON'. "Double Click line Item&lt;/P&gt;&lt;P&gt;**Write ur functinality here&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also have a look at below links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="220764"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Dheeraj Soni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 15:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-one-more-push-button/m-p/4457710#M1056636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-10T15:38:42Z</dc:date>
    </item>
  </channel>
</rss>

