<?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: Alv button Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-button-problem/m-p/2010763#M410375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;    I_CALLBACK_PROGRAM                = W_REPID&lt;/P&gt;&lt;P&gt;    I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS'&lt;/P&gt;&lt;P&gt;    I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. goto se80&lt;/P&gt;&lt;P&gt;    give function group as SALV&lt;/P&gt;&lt;P&gt;    In the below window , expand GUI_STATUs&lt;/P&gt;&lt;P&gt;    right click on STANDARD and copy that to ur program&lt;/P&gt;&lt;P&gt;    activate it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. FORM PF_STATUS using RT_EXTAB TYPE SLIS_T_EXTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'STANDARD' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "PF_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.  double  click on STANDARD and add ur button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.. FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM&lt;/P&gt;&lt;P&gt;                        P_SELFLD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;  DATA : L_REP_MODE.                "report mode&lt;/P&gt;&lt;P&gt;  CASE P_UCOMM.&lt;/P&gt;&lt;P&gt;*when double clicked on ALV grid , report id is passed to transaction&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'.    "Double click&lt;/P&gt;&lt;P&gt;      READ TABLE IT_RAMS_SCR_FLDS INDEX P_SELFLD-TABINDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDCASe.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2007 11:59:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-07T11:59:11Z</dc:date>
    <item>
      <title>Alv button Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-button-problem/m-p/2010762#M410374</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 a situation where i have to put a button on alv grid.&lt;/P&gt;&lt;P&gt;i am displaying the data using Reuse_ALV_grid_display. If i am creating button using handle_user_command by o-abap. then how can i set handler for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is there any other method og creating a button on alv when using Reuse_ALV_grid_display function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;varu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 11:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-button-problem/m-p/2010762#M410374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T11:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alv button Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-button-problem/m-p/2010763#M410375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;    I_CALLBACK_PROGRAM                = W_REPID&lt;/P&gt;&lt;P&gt;    I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS'&lt;/P&gt;&lt;P&gt;    I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. goto se80&lt;/P&gt;&lt;P&gt;    give function group as SALV&lt;/P&gt;&lt;P&gt;    In the below window , expand GUI_STATUs&lt;/P&gt;&lt;P&gt;    right click on STANDARD and copy that to ur program&lt;/P&gt;&lt;P&gt;    activate it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. FORM PF_STATUS using RT_EXTAB TYPE SLIS_T_EXTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'STANDARD' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "PF_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.  double  click on STANDARD and add ur button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.. FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM&lt;/P&gt;&lt;P&gt;                        P_SELFLD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;  DATA : L_REP_MODE.                "report mode&lt;/P&gt;&lt;P&gt;  CASE P_UCOMM.&lt;/P&gt;&lt;P&gt;*when double clicked on ALV grid , report id is passed to transaction&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'.    "Double click&lt;/P&gt;&lt;P&gt;      READ TABLE IT_RAMS_SCR_FLDS INDEX P_SELFLD-TABINDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDCASe.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 11:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-button-problem/m-p/2010763#M410375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T11:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alv button Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-button-problem/m-p/2010764#M410376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mittal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy Std gui status from std program to your program and add buttons accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the REUSE_ALV_LIST_DISPLAY fm pass name of the newly copied gui status to parameter I_CALLBACK_PF_STATUS_SET . And the program will show the newly added buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remeber to handle the code of clicking of newly added buttons by passing a subroutine name to parameter I_CALLBACK_USER_COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR check this link,&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2991531"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 11:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-button-problem/m-p/2010764#M410376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T11:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alv button Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-button-problem/m-p/2010765#M410377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ramesh,&lt;/P&gt;&lt;P&gt;Thanks for your valuable information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The button is there on the screen now. But wat i want to display the data of internal table when i click on that. alv is displaying data fine. but there is an itab which has error data. so when i click on tat i want to display those records. &lt;/P&gt;&lt;P&gt;how can i do tat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Varu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 13:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-button-problem/m-p/2010765#M410377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T13:37:05Z</dc:date>
    </item>
  </channel>
</rss>

