<?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 is not set and program not responding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status-is-not-set-and-program-not-responding/m-p/3616008#M871112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM list_view.
*
  g_repid = sy-repid.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
            i_callback_program = g_repid
            i_callback_pf_status_set = 'PF_0100'
            is_layout          = g_layout
            it_sort            = g_sort[]
            it_events          = g_events[]
            it_fieldcat        = g_fieldcat[]
            i_save             = g_save
       TABLES
            t_outtab           = IT_TABLE
       EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.

  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE e208(00) WITH 'Error: ALV Grid'.
  ENDIF.
*
ENDFORM.                    " layout_build


FORM PF_0100 using my_exclude.
*
  SET PF-STATUS 'PF_0100'. " EXCLUDING my_exclude. use is you want to exclude buttons
*
ENDFORM.                "end custom PF Status
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2008 14:06:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-17T14:06:43Z</dc:date>
    <item>
      <title>Pf status is not set and program not responding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status-is-not-set-and-program-not-responding/m-p/3616006#M871110</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;At such a code, what is the problem and report is not responding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : l_layout type SLIS_LAYOUT_ALV,
        L_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV," WITH HEADER LINE,
        LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
        G_UCOMMAND TYPE SLIS_FORMNAME VALUE 'ALV_USER_COMMAND',

        g_status TYPE slis_formname VALUE 'PF_STATUS_SET'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.......................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; L_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.&lt;/P&gt;&lt;P&gt;  L_LAYOUT-ZEBRA = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_repid = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            I_PROGRAM_NAME     = l_repid&lt;/P&gt;&lt;P&gt;            I_INTERNAL_TABNAME = 'ITAB'&lt;/P&gt;&lt;P&gt;            I_INCLNAME         = l_repid&lt;/P&gt;&lt;P&gt;       CHANGING&lt;/P&gt;&lt;P&gt;            CT_FIELDCAT        = L_FIELDCAT[]&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS             = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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 FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                I_CALLBACK_PROGRAM = sy-repid&lt;/P&gt;&lt;P&gt;                IS_LAYOUT          = L_LAYOUT&lt;/P&gt;&lt;P&gt;                IT_FIELDCAT        = L_FIELDCAT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               IT_SORT            = GT_SORT[]&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                I_CALLBACK_USER_COMMAND  = 'PICK'&lt;/P&gt;&lt;P&gt;                &lt;STRONG&gt;i_callback_pf_status_set = g_status&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                I_SAVE             = 'A'&lt;/P&gt;&lt;P&gt;                IS_VARIANT         = VARIANT&lt;/P&gt;&lt;P&gt;               IT_EVENTS          = GT_EVENTS[]&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                T_OUTTAB           = ITAB[]&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;Here when I did not comment &lt;STRONG&gt;g_status&lt;/STRONG&gt; the program is not responding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 14:00:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status-is-not-set-and-program-not-responding/m-p/3616006#M871110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-17T14:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pf status is not set and program not responding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status-is-not-set-and-program-not-responding/m-p/3616007#M871111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should have your Own PF status for the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy STANDARD Status of SAPLKKBL to your program status using SE41.. then this would work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 14:05:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status-is-not-set-and-program-not-responding/m-p/3616007#M871111</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2008-03-17T14:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pf status is not set and program not responding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status-is-not-set-and-program-not-responding/m-p/3616008#M871112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM list_view.
*
  g_repid = sy-repid.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
            i_callback_program = g_repid
            i_callback_pf_status_set = 'PF_0100'
            is_layout          = g_layout
            it_sort            = g_sort[]
            it_events          = g_events[]
            it_fieldcat        = g_fieldcat[]
            i_save             = g_save
       TABLES
            t_outtab           = IT_TABLE
       EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.

  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE e208(00) WITH 'Error: ALV Grid'.
  ENDIF.
*
ENDFORM.                    " layout_build


FORM PF_0100 using my_exclude.
*
  SET PF-STATUS 'PF_0100'. " EXCLUDING my_exclude. use is you want to exclude buttons
*
ENDFORM.                "end custom PF Status
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 14:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pf-status-is-not-set-and-program-not-responding/m-p/3616008#M871112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-17T14:06:43Z</dc:date>
    </item>
  </channel>
</rss>

