<?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 Report - Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167617#M1516757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;           &lt;/P&gt;&lt;P&gt;                            Your using &lt;STRONG&gt;"REUSE_ALV_GRID_ DISPLAY"&lt;/STRONG&gt; Function Module?? If so then you have to get Application Tool Bar &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      automatically.. and that Grid Title you can set it by using &lt;STRONG&gt;EVENT - TOP-OF-PAGE&lt;/STRONG&gt; or you can set the title in *&lt;STRONG&gt;GRID_TITLE&lt;/STRONG&gt; parameter of this FM by assigning the name you want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Let Me know whether ur using this FM or wat else??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;Sample Code of FM.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                           CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "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;                                             i_grid_title                      = 'Employee List'&lt;/P&gt;&lt;P&gt;                                             is_layout                         = ws_layout&lt;/P&gt;&lt;P&gt;                                             it_fieldcat                       = fieldcat_tab[]&lt;/P&gt;&lt;P&gt;                                        &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IT_SORT                           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                                TABLES&lt;/P&gt;&lt;P&gt;                                                 t_outtab                          = it_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;&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;Give points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vanitha P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Sep 2010 10:47:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-01T10:47:56Z</dc:date>
    <item>
      <title>ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167614#M1516754</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;I developed one ALV Report using the Grid Class.  However, after the report is displayed, I am not getting any standard menus in the Application Tool bar.  That is I am getting Only System and Help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem 1  -  In the Application Tool bar I am getting only two menu options -  System and Help&lt;/P&gt;&lt;P&gt;       problem 2  -  The title is displayed as SAP.  Not the program name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am not able to come out of the program.  Kindly help me to get the standard tool bar in the application menu and how to get the report tile instead of 'SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines from now on.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Sep 1, 2010 1:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 10:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167614#M1516754</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2010-09-01T10:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167615#M1516755</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;You have to set the PF-Status and title to fix this.&lt;/P&gt;&lt;P&gt;Let me know if you need more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prabu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 10:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167615#M1516755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T10:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167616#M1516756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the quick response.  Yes I did crete the PF_STATUS.  However it does not seems to be working.  I do not know where I am missing.  Can you please provide some example for PF_STATUS.  Also let me know how to get rid of that default heading as 'SAP' instead i want to print my report name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 10:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167616#M1516756</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2010-09-01T10:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167617#M1516757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;           &lt;/P&gt;&lt;P&gt;                            Your using &lt;STRONG&gt;"REUSE_ALV_GRID_ DISPLAY"&lt;/STRONG&gt; Function Module?? If so then you have to get Application Tool Bar &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      automatically.. and that Grid Title you can set it by using &lt;STRONG&gt;EVENT - TOP-OF-PAGE&lt;/STRONG&gt; or you can set the title in *&lt;STRONG&gt;GRID_TITLE&lt;/STRONG&gt; parameter of this FM by assigning the name you want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Let Me know whether ur using this FM or wat else??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;Sample Code of FM.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                           CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "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;                                             i_grid_title                      = 'Employee List'&lt;/P&gt;&lt;P&gt;                                             is_layout                         = ws_layout&lt;/P&gt;&lt;P&gt;                                             it_fieldcat                       = fieldcat_tab[]&lt;/P&gt;&lt;P&gt;                                        &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IT_SORT                           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                                TABLES&lt;/P&gt;&lt;P&gt;                                                 t_outtab                          = it_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;&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;Give points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vanitha P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 10:47:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167617#M1516757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T10:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167618#M1516758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi You have to give some name in the exporting parameter &lt;STRONG&gt;I_CALLBACK_PF_STATUS_SET = ' '&lt;/STRONG&gt; &amp;amp; later open a subroutine of the same name as follows :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

FORM f4200_pf_status_set USING i_extab TYPE slis_t_extab.
REFRESH i_extab.
PERFORM f4210_exclude_fcodes CHANGING i_extab.
SET PF-STATUS 'STANDARD' OF PROGRAM 'SAPLSALV' EXCLUDING i_extab.
ENDFORM.


FORM f4210_exclude_fcodes USING i_extab TYPE slis_t_extab.
DATA: ws_fcode TYPE slis_extab.
CLEAR ws_fcode.
ws_fcode = '&amp;amp;EB9'. " Call up Report.
APPEND ws_fcode TO i_extab.
ws_fcode = '&amp;amp;ABC'. " ABC Analysis.
APPEND ws_fcode TO i_extab.
ws_fcode = '&amp;amp;NFO'. " Info Select.
APPEND ws_fcode TO i_extab.
ws_fcode = '&amp;amp;LFO'. " Information.
APPEND ws_fcode TO i_extab.
ENDFORM. " f4210_exclude_fcodes

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 10:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167618#M1516758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T10:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167619#M1516759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply.  I am using the Method as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD gr_pr_table-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;         EXPORTING is_layout       = gs_layout&lt;/P&gt;&lt;P&gt;         CHANGING  it_outtab       = it_disp_purchase_requesition&lt;/P&gt;&lt;P&gt;                   it_fieldcatalog = gt_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This of Grid Class  &lt;STRONG&gt;cl_gui_alv_grid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 11:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167619#M1516759</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2010-09-01T11:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167620#M1516760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IN PBO module write like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET PF-STATUS '9101'.&lt;/P&gt;&lt;P&gt;  SET TITLEBAR '101'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on 9101 and 101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For title: Give the title name what u want.&lt;/P&gt;&lt;P&gt;For PF status: Give the function keys like NEXT, SAVE,EXIT, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the PF status and Title&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 11:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167620#M1516760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T11:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167621#M1516761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
 MODULE STATUS_9000.
*
PROCESS AFTER INPUT.
 MODULE USER_COMMAND_9000.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write this in screen you have created .douuble click on each module and write below code&lt;/P&gt;&lt;P&gt;MODULE status_9000 OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'ZPF9000'.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gv_save_ok = gv_ok_code.&lt;/P&gt;&lt;P&gt;  CASE gv_save_ok.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;when back button is clicked&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    WHEN c_value_back.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN c_value_0.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;when exit button is clicked&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    WHEN c_value_exit.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;when cancel button is clicked&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    WHEN c_value_canc.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN c_value_0.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 11:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167621#M1516761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T11:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167622#M1516762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the problem no 2, you have to create a title bar in the main screen using the set titlebar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the problem no 1, I don't think we have anything to do with the ALV GRID. It has to be created in the main screen as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sujay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 11:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167622#M1516762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-01T11:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report - Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167623#M1516763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou all for the quick responses.  Finally the solutions is arrived.  This is how I did it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  SE80 -&amp;gt; Function Group -&amp;gt; SALV&lt;/P&gt;&lt;P&gt;2.  Expanded the GUI Status and right click on the status "STANDARD" -&amp;gt; Copy...&lt;/P&gt;&lt;P&gt;3.  Given the copy to program name and status (as required for my program)&lt;/P&gt;&lt;P&gt;4.  Went back to SE41 and activated the GUI status  just I copied earlier step. &lt;/P&gt;&lt;P&gt;5.  Updated my prgram with correct GUI status name in my SET PF-STATUS command.&lt;/P&gt;&lt;P&gt;6.  Activated and Executed.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally the things are set now.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou once again all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can now close this thread as resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 04:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-issue/m-p/7167623#M1516763</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2010-09-02T04:14:06Z</dc:date>
    </item>
  </channel>
</rss>

