<?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: pf_status in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259510#M778652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; See this link to add buttons on the ALV grid.&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="4711371"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or u want to create on the screen then you can create using set PF_status.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Jan 2008 12:43:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-19T12:43:12Z</dc:date>
    <item>
      <title>pf_status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259509#M778651</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;&lt;/P&gt;&lt;P&gt;could u plz tell me about the event 'PF_STATUS_SET' in ALV....how can we use in alv report .&lt;/P&gt;&lt;P&gt;send me some programs regarding that.&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;regards,&lt;/P&gt;&lt;P&gt;priya.s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 12:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259509#M778651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T12:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: pf_status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259510#M778652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; See this link to add buttons on the ALV grid.&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="4711371"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or u want to create on the screen then you can create using set PF_status.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 12:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259510#M778652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T12:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: pf_status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259511#M778653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use class cl_gui_alv_grid and not the old SLIS modules&lt;/P&gt;&lt;P&gt;I've coded an example in a previous post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However for the PF status just have a standard Status with EXIT, BACK and CANCEL buttons (SE41).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set pf-status '001'.&lt;/P&gt;&lt;P&gt;     set titlebar '000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code this after the display of the grid statement in your PBO module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method grid1-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;  exporting is_layout =  struct_grid_lset&lt;/P&gt;&lt;P&gt;  changing&lt;/P&gt;&lt;P&gt;             it_outtab       = &amp;lt;dyn_table&amp;gt;&lt;/P&gt;&lt;P&gt;             it_fieldcatalog = it_fldcat.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your PAI just code something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module user_command_0100 input.&lt;/P&gt;&lt;P&gt;      case sy-ucomm.&lt;/P&gt;&lt;P&gt;    when 'BACK'.&lt;/P&gt;&lt;P&gt;      leave program.&lt;/P&gt;&lt;P&gt;    when 'EXIT'.&lt;/P&gt;&lt;P&gt;      leave program.&lt;/P&gt;&lt;P&gt;    when 'RETURN'.&lt;/P&gt;&lt;P&gt;      leave program.&lt;/P&gt;&lt;P&gt;    when others.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;endmodule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 13:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259511#M778653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T13:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: pf_status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259512#M778654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya, also check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/set_pf_s.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/set_pf_s.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2008 13:05:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259512#M778654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-19T13:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: pf_status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259513#M778655</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;specify a subroutine name in I_CALLBACK_PF_STATUS_SET.&lt;/P&gt;&lt;P&gt;(say PF_SET)&lt;/P&gt;&lt;P&gt;this subroutine will be triggered. &amp;amp; don't forget to mention I_CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and u need to copy the pf-status from any standard alv in order to get the standard functionalities. using SE41 menu painter. use BALVBH01 to copy its STANDARD pf-status to ur own program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM PF_SET USING T_EXTAB TYPE SLIS_T_EXTAB.&lt;/P&gt;&lt;P&gt;use SET_PF_STATUS here. name it as u've named while copying it in SE41.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  refresh p_events. clear p_events.&lt;/P&gt;&lt;P&gt;  perform f_event_build using p_events[].&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  p_header = text-033.&lt;/P&gt;&lt;P&gt;  data : v_status_set type slis_formname value 'F_PF_STATUS_SET'.&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;      it_fieldcat                 = p_fieldcat2[]&lt;/P&gt;&lt;P&gt;      it_excluding                = p_excltab2[]&lt;/P&gt;&lt;P&gt;      is_layout                   = p_layout2&lt;/P&gt;&lt;P&gt;      i_callback_program          = sy-repid&lt;/P&gt;&lt;P&gt;      i_callback_html_top_of_page = p_header&lt;/P&gt;&lt;P&gt;      i_callback_pf_status_set    = v_status_set&lt;/P&gt;&lt;P&gt;      it_events                   = p_events[]&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      t_outtab                    = i_message1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Form f_pf_status_set                                                 *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;For setting PF status to REUSE                                       *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form f_pf_status_set using rt_extab type slis_t_extab..&lt;/P&gt;&lt;P&gt;  set pf-status '9000'.&lt;/P&gt;&lt;P&gt;endform.                                 " F_pf_status_set&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Form f_event_build                                                   *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;For build event for grid                                             *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form f_event_build using p_events type slis_t_event.&lt;/P&gt;&lt;P&gt;  data: ls_event type slis_alv_event.&lt;/P&gt;&lt;P&gt;  call function 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_list_type = 0&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      et_events   = p_events.&lt;/P&gt;&lt;P&gt;  read table p_events with key name = slis_ev_pf_status_set&lt;/P&gt;&lt;P&gt;                           into ls_event.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    move v_status_set to ls_event-form.&lt;/P&gt;&lt;P&gt;    append ls_event to p_events.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                                 " F_event_build&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2008 06:54:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259513#M778655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-20T06:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: pf_status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259514#M778656</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;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_callback_program = ws_repid&lt;/P&gt;&lt;P&gt;i_callback_pf_status_set = 'GUI_STAT'&lt;/P&gt;&lt;P&gt;i_callback_user_command = 'STAT'&lt;/P&gt;&lt;P&gt;is_layout = gs_layout&lt;/P&gt;&lt;P&gt;it_fieldcat = i_fieldcat[]&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;t_outtab = i_zaw_pol_plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " change_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**--Setting Status of outout screen&lt;/P&gt;&lt;P&gt;FORM gui_stat USING rt_extab TYPE slis_t_extab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'STANDARD' EXCLUDING rt_extab.&lt;/P&gt;&lt;P&gt;SET TITLEBAR text-005.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on 'STANDARD' and set the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do like this, you dont get standard ALV application tool bar.&lt;/P&gt;&lt;P&gt;So before writing this,&lt;/P&gt;&lt;P&gt;follow these navigations.&lt;/P&gt;&lt;P&gt;se80 -&amp;gt; give function group name as SALV -&amp;gt; enter -&amp;gt; then you  click on GUI_STATUS&lt;/P&gt;&lt;P&gt;-&amp;gt; Right click on STANDARD and Copy to your program.&lt;/P&gt;&lt;P&gt;-&amp;gt; go to se41 -&amp;gt; give your program name and pf_status name -&amp;gt; activate.&lt;/P&gt;&lt;P&gt;-&amp;gt; if you want to do any changes, you can do according to your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sandeep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sandeep Reddy on Jan 20, 2008 9:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2008 08:40:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status/m-p/3259514#M778656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-20T08:40:20Z</dc:date>
    </item>
  </channel>
</rss>

