<?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 display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969607#M69368</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 assume that u want to display the heading for the ALV display right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If then,&lt;/P&gt;&lt;P&gt;In the PBO,&lt;/P&gt;&lt;P&gt;MODULE  status_9001 OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF o_dockingcontainer IS INITIAL.&lt;/P&gt;&lt;P&gt;    SET PF-STATUS 'ZSTATUS'.&lt;/P&gt;&lt;P&gt;    SET TITLEBAR 'ZTITLE'.&lt;/P&gt;&lt;P&gt;Double click on the Ztitle it will ask for the title give the description u want that will get dispalyed in the grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Reagards,&lt;/P&gt;&lt;P&gt;Judith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2005 04:19:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-12T04:19:45Z</dc:date>
    <item>
      <title>ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969604#M69365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  I am using ALV to display one report.&lt;/P&gt;&lt;P&gt;  I am using standard ALV report functionality.&lt;/P&gt;&lt;P&gt;  I would like to add one header statement above the table like " LINE ITEMS ",etc above the ALV table.&lt;/P&gt;&lt;P&gt;Is it possible to add the header or one line of information above the ALV display or ALV report.&lt;/P&gt;&lt;P&gt;Right now i am using fieldcatalog to display the report .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;aasr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 03:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969604#M69365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T03:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969605#M69366</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;Here is the sample code.&lt;/P&gt;&lt;P&gt;i_output is output table with matnr and werks field.w_output is workarea.&lt;/P&gt;&lt;P&gt;w_output-matnr = 'Material NUmber'.&lt;/P&gt;&lt;P&gt;w_output-werks = 'Plant'.&lt;/P&gt;&lt;P&gt;INSERT w_output INTO i_output INDEX 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 03:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969605#M69366</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-12T03:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969606#M69367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking at one more column heading or something that gets displayed even above the column headings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to display something above the column headings, you have something called as COMMENTARY WRITE in the REUSE function modules. Try that out, it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using classes, you can split your container, make the top one as a HTML container and write whatever you want to write there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution given above cannot be used as you are adding one more row to the table, which absolutely does not make snese. It will not look like a heading but will look like a data row. Moreover, if you do a SORT, you don't where the row is going to end up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 04:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969606#M69367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T04:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969607#M69368</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 assume that u want to display the heading for the ALV display right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If then,&lt;/P&gt;&lt;P&gt;In the PBO,&lt;/P&gt;&lt;P&gt;MODULE  status_9001 OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF o_dockingcontainer IS INITIAL.&lt;/P&gt;&lt;P&gt;    SET PF-STATUS 'ZSTATUS'.&lt;/P&gt;&lt;P&gt;    SET TITLEBAR 'ZTITLE'.&lt;/P&gt;&lt;P&gt;Double click on the Ztitle it will ask for the title give the description u want that will get dispalyed in the grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Reagards,&lt;/P&gt;&lt;P&gt;Judith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 04:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969607#M69368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T04:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969608#M69369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response Jayanthi,Ravi and Judith.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi, &lt;/P&gt;&lt;P&gt;i am trying to display the header above the ALV column headings and when i try to use the COMMENTARY WRITE REUSE function module , i could not pass the heading to the workarea slis_t_listhead.I am getting error as "Since the slis_t_listhead  doesn't have header, you cannot put value in "typ" field.&lt;/P&gt;&lt;P&gt;Please let me know where am i doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply in advance.&lt;/P&gt;&lt;P&gt;aasr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 05:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969608#M69369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T05:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969609#M69370</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;Check for the sample coding.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_rephead.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_rephead.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 05:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969609#M69370</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-12T05:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969610#M69371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, try this.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data :&lt;/P&gt;&lt;P&gt;wf_list_top_of_page     TYPE slis_t_listheader,&lt;/P&gt;&lt;P&gt;gc_formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. PERFORM f_heading_build  USING wf_list_top_of_page[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f_heading_build USING     p_lt_top_of_page&lt;/P&gt;&lt;P&gt;                      TYPE slis_t_listheader.&lt;/P&gt;&lt;P&gt;  DATA: ls_line TYPE slis_listheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : wf_loc(25).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ls_line-typ  = 'H'.&lt;/P&gt;&lt;P&gt;  CONCATENATE 'OMDCS Expence report for the month : '&lt;/P&gt;&lt;P&gt;              wf_mtext  '-' 'Year: ' p_gjahr&lt;/P&gt;&lt;P&gt;              INTO ls_line-info.&lt;/P&gt;&lt;P&gt;  APPEND ls_line TO p_lt_top_of_page.&lt;/P&gt;&lt;P&gt;  CLEAR ls_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ls_line-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  CLEAR : wf_loc.&lt;/P&gt;&lt;P&gt;  wf_loc = wc_tot_read.&lt;/P&gt;&lt;P&gt;  SHIFT wf_loc LEFT DELETING LEADING space.&lt;/P&gt;&lt;P&gt;  CONCATENATE &lt;/P&gt;&lt;P&gt;   'Total Number of records from Input file :' wf_loc&lt;/P&gt;&lt;P&gt;               INTO ls_line-info.&lt;/P&gt;&lt;P&gt;  APPEND ls_line TO p_lt_top_of_page.&lt;/P&gt;&lt;P&gt;  CLEAR: ls_line,wf_loc.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " f_heading_build&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. PERFORM f_eventtab_build USING wf_events[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f_eventtab_build USING p_lt_events TYPE slis_t_event.&lt;/P&gt;&lt;P&gt;  DATA: ls_event TYPE slis_alv_event.&lt;/P&gt;&lt;P&gt;*&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_lt_events.&lt;/P&gt;&lt;P&gt;  READ TABLE p_lt_events WITH KEY name = slis_ev_top_of_page&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 gc_formname_top_of_page TO ls_event-form.&lt;/P&gt;&lt;P&gt;    APPEND ls_event TO p_lt_events.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " f_eventtab_build&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. &lt;/P&gt;&lt;P&gt;FORM top_of_page.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            it_list_commentary = wf_list_top_of_page.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&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_buffer_active    = ' '&lt;/P&gt;&lt;P&gt;                      i_callback_program = wf_repid&lt;/P&gt;&lt;P&gt;                      is_layout          = wf_layout&lt;/P&gt;&lt;P&gt;                      it_fieldcat        = wf_fieldcat[]&lt;/P&gt;&lt;P&gt;                      it_sort            = wf_sort[]&lt;/P&gt;&lt;P&gt;                      i_save             = wf_save&lt;/P&gt;&lt;P&gt;                      is_variant         = wf_variant&lt;/P&gt;&lt;P&gt;                      it_events          = wf_events[]&lt;/P&gt;&lt;P&gt;                 TABLES&lt;/P&gt;&lt;P&gt;                      t_outtab           = &amp;lt;datatab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhu Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 05:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969610#M69371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T05:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969611#M69372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jayanti , &lt;/P&gt;&lt;P&gt; I am using REUSE_ALV_LIST_DISPLAY, i want to display header using above function module but the site shows for another fm.Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;aasr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 05:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969611#M69372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T05:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969612#M69373</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;Check this.It is for the FM you asked.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvlist_code.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvlist_code.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 05:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969612#M69373</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-12T05:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969613#M69374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jayanti for the response.&lt;/P&gt;&lt;P&gt;But when i see the function module it does not have the option like i_callback_top_of_page.I am inserting the fm as it is .&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_INTERFACE_CHECK              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BYPASSING_BUFFER             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_BUFFER_ACTIVE                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_CALLBACK_PROGRAM             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_CALLBACK_PF_STATUS_SET       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_CALLBACK_USER_COMMAND        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_STRUCTURE_NAME               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_LAYOUT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_FIELDCAT                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_EXCLUDING                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_SPECIAL_GROUPS              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_SORT                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_FILTER                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_SEL_HIDE                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_DEFAULT                      = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SAVE                         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_VARIANT                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_EVENTS                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_EVENT_EXIT                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_PRINT                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_REPREP_ID                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SCREEN_START_COLUMN          = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SCREEN_START_LINE            = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SCREEN_END_COLUMN            = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SCREEN_END_LINE              = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  E_EXIT_CAUSED_BY_CALLER        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ES_EXIT_CAUSED_BY_USER         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    T_OUTTAB                       =&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROGRAM_ERROR                  = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                         = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;aasr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 05:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969613#M69374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T05:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969614#M69375</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;Just try to add that also in the function module as in that sample code and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you tried it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 06:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969614#M69375</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-12T06:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969615#M69376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can try this out&lt;/P&gt;&lt;P&gt;form display_alv_report.&lt;/P&gt;&lt;P&gt;  gd_repid = sy-repid.&lt;/P&gt;&lt;P&gt;  call function 'REUSE_ALV_LIST_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'  "see FORM&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           i_callback_user_command = 'USER_COMMAND'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           i_grid_title           = outtext&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            is_layout               = gd_layout&lt;/P&gt;&lt;P&gt;            it_fieldcat             = fieldcatalog[]&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           it_special_groups       = gd_tabgroup&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           IT_EVENTS                = GT_XEVENTS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            i_save                  = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           is_variant              = z_template&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&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;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                    " DISPLAY_ALV_REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form top-of-page.&lt;/P&gt;&lt;P&gt;*ALV Header declarations&lt;/P&gt;&lt;P&gt;data: t_header type slis_t_listheader,&lt;/P&gt;&lt;P&gt;      wa_header type slis_listheader,&lt;/P&gt;&lt;P&gt;      t_line like wa_header-info,&lt;/P&gt;&lt;P&gt;      ld_lines type i,&lt;/P&gt;&lt;P&gt;      ld_linesc(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Title&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_header-typ  = 'H'.&lt;/P&gt;&lt;P&gt;  wa_header-info = 'EKKO Table Report'.&lt;/P&gt;&lt;P&gt;  append wa_header to t_header.&lt;/P&gt;&lt;P&gt;  clear wa_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Date&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_header-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  wa_header-key = 'Date: '.&lt;/P&gt;&lt;P&gt;  CONCATENATE  sy-datum+6(2) '.'&lt;/P&gt;&lt;P&gt;               sy-datum+4(2) '.'&lt;/P&gt;&lt;P&gt;               sy-datum(4) INTO wa_header-info.   "todays date&lt;/P&gt;&lt;P&gt;  append wa_header to t_header.&lt;/P&gt;&lt;P&gt;  clear: wa_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Total No. of Records Selected&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  describe table it_ekko lines ld_lines.&lt;/P&gt;&lt;P&gt;  ld_linesc = ld_lines.&lt;/P&gt;&lt;P&gt;  concatenate 'Total No. of Records Selected: ' ld_linesc&lt;/P&gt;&lt;P&gt;                    into t_line separated by space.&lt;/P&gt;&lt;P&gt;  wa_header-typ  = 'A'.&lt;/P&gt;&lt;P&gt;  wa_header-info = t_line.&lt;/P&gt;&lt;P&gt;  append wa_header to t_header.&lt;/P&gt;&lt;P&gt;  clear: wa_header, t_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  call function 'REUSE_ALV_COMMENTARY_WRITE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            it_list_commentary = t_header.&lt;/P&gt;&lt;P&gt;endform.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Judith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 08:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-display/m-p/969615#M69376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T08:25:07Z</dc:date>
    </item>
  </channel>
</rss>

