<?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 Adding a New button in ALV Grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-new-button-in-alv-grid/m-p/2026808#M415544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to added a new button in ALV I am following the below mention step.&lt;/P&gt;&lt;P&gt;But new button are not appearing in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) New PF-STATUS is required , say 'ABCD'.&lt;/P&gt;&lt;P&gt;b) Handle user_commmand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. First of all, from Function group SALV,&lt;/P&gt;&lt;P&gt;copy the STANDARD gui status to your program,&lt;/P&gt;&lt;P&gt;from SE80, by right clicking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. come to your program.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'ABCD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Double click ABCD and activate the gui status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In gui status,&lt;/P&gt;&lt;P&gt;add/change your own buttons&lt;/P&gt;&lt;P&gt;Save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one guide me where is the problem,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Swati..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Mar 2007 07:23:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-24T07:23:28Z</dc:date>
    <item>
      <title>Adding a New button in ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-new-button-in-alv-grid/m-p/2026808#M415544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to added a new button in ALV I am following the below mention step.&lt;/P&gt;&lt;P&gt;But new button are not appearing in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) New PF-STATUS is required , say 'ABCD'.&lt;/P&gt;&lt;P&gt;b) Handle user_commmand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. First of all, from Function group SALV,&lt;/P&gt;&lt;P&gt;copy the STANDARD gui status to your program,&lt;/P&gt;&lt;P&gt;from SE80, by right clicking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. come to your program.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'ABCD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Double click ABCD and activate the gui status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In gui status,&lt;/P&gt;&lt;P&gt;add/change your own buttons&lt;/P&gt;&lt;P&gt;Save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one guide me where is the problem,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Swati..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2007 07:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-new-button-in-alv-grid/m-p/2026808#M415544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-24T07:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a New button in ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-new-button-in-alv-grid/m-p/2026809#M415545</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;    after that, you should be passing the name of the pf-status in the alv grid fm..&lt;/P&gt;&lt;P&gt;&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       = SAT_REPID&lt;/P&gt;&lt;P&gt;      I_CALLBACK_PF_STATUS_SET = 'ZSTANDARD' --&amp;gt; yours would be ABCD&lt;/P&gt;&lt;P&gt;      I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;      IS_LAYOUT                = SAT_LAYOUT&lt;/P&gt;&lt;P&gt;      IT_FIELDCAT              = SAT_FIELDCATALOG[]&lt;/P&gt;&lt;P&gt;      IT_EVENTS                = SAT_EVENTS[]&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      T_OUTTAB                 = ITAB_FINAL&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 &amp;lt;&amp;gt; 0.&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;make sure there is a form ABCD in your program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM ZSTANDARD USING P_EXTAB TYPE SLIS_T_EXTAB.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'ZSTANDARD1' EXCLUDING P_EXTAB.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "ZSTANDARD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2007 07:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-new-button-in-alv-grid/m-p/2026809#M415545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-24T07:46:14Z</dc:date>
    </item>
  </channel>
</rss>

