<?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 set pf status in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-pf-status/m-p/3243073#M774033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends, &lt;/P&gt;&lt;P&gt;there is a stmnt, set pf status gs_status excluding rt_extab. I just want to know how rt_extab is getting filled. can any one help me with this, as to what to debug to check how it is geting filled...thanks a ton...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Dec 2007 08:25:26 GMT</pubDate>
    <dc:creator>abdulazeez12</dc:creator>
    <dc:date>2007-12-31T08:25:26Z</dc:date>
    <item>
      <title>set pf status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-pf-status/m-p/3243073#M774033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends, &lt;/P&gt;&lt;P&gt;there is a stmnt, set pf status gs_status excluding rt_extab. I just want to know how rt_extab is getting filled. can any one help me with this, as to what to debug to check how it is geting filled...thanks a ton...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 08:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-pf-status/m-p/3243073#M774033</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2007-12-31T08:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: set pf status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-pf-status/m-p/3243074#M774034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, generally it is used to provide user's own interface(ui).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in alvs, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  call the FM 'reuse_alv_events_get'.&lt;/P&gt;&lt;P&gt;2. it will a return a table i_events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;READ TABLE I_EVENTS INTO W_EVENTS WITH KEY NAME = 'SET-PF-STATUS'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;IF SY-SUBRC EQ 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;W_EVENTS-FORM = 'ALV_SET_PF_STATUS'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;MODIFY I_EVENTS FROM W_EVENTS INDEX SY-TABIX.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FORM ALV_SET_PF_STATUS USING RT_EXTAB TYPE SLIS_T_EXTAB.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;SET PF-STATUS 'ALVIN'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDFORM.                    " ALV_SET_PF_STATUS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;follow the sample code&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Umakanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 08:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-pf-status/m-p/3243074#M774034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: set pf status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-pf-status/m-p/3243075#M774035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order modify PF_STATUS of ALV grid report you need to perform the following steps:&lt;/P&gt;&lt;P&gt;1. Update 'REUSE_ALV_GRID_DISPLAY' FM call to include: i_callback_pf_status_set = 'SET_PF_STATUS' statement.&lt;/P&gt;&lt;P&gt;2. Create 'SET_PF_STATUS' FORM&lt;/P&gt;&lt;P&gt;3. Create pf_status (i.e. 'ZNEWSTATUS'). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is recommend that you copy standard status'STANDARD' from function group SALV and modify it accordingly. ALV standard function codes always start with '&amp;amp;'. &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 = gd_repid&lt;/P&gt;&lt;P&gt;i_callback_top_of_page = 'TOP-OF-PAGE' &lt;/P&gt;&lt;P&gt;i_callback_pf_status_set = 'SET_PF_STATUS' "see FORM &lt;/P&gt;&lt;P&gt;is_layout = gd_layout&lt;/P&gt;&lt;P&gt;it_fieldcat = fieldcatalog[]&lt;/P&gt;&lt;P&gt;i_save = 'X'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;t_outtab = it_ekko&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SET_PF_STATUS * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;FORM set_pf_status USING rt_extab TYPE slis_t_extab.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'ZNEWSTATUS'. &lt;/P&gt;&lt;P&gt;"Copy of 'STANDARD' pf_status from fgroup SALV&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful.&lt;/P&gt;&lt;P&gt;Sravan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 08:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-pf-status/m-p/3243075#M774035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T08:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: set pf status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-pf-status/m-p/3243076#M774036</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;SET PF-STATUS  sets the user interface options like menu bar, apllication tool bar, function keys etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to exclude some buttons or menu items at some point in the program flow, you can use 'excluding rt_extab' where rt_extab is an internal table of type char5. You can simply append the Function Key associated with an item to this internal table to exclude that item from display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT. &lt;/P&gt;&lt;P&gt;  APPEND 'CHANGE'  TO fcode. &lt;/P&gt;&lt;P&gt;  APPEND 'SAVE' TO fcode. &lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'STATUS_0100' EXCLUDING fcode. &lt;/P&gt;&lt;P&gt;ENDMODULE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 10:03:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-pf-status/m-p/3243076#M774036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T10:03:21Z</dc:date>
    </item>
  </channel>
</rss>

