<?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 - header handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-header-handling/m-p/6841999#M1473227</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;&lt;/P&gt;&lt;P&gt;1) Declare the below line in program.&lt;/P&gt;&lt;P&gt;       gt_list_top_of_page type slis_t_listheader,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)  for example : Assign like below.&lt;/P&gt;&lt;P&gt;form comment_build changing gt_top_of_page type slis_t_listheader.&lt;/P&gt;&lt;P&gt;  data: gs_line type slis_listheader.&lt;/P&gt;&lt;P&gt;  clear gs_line.&lt;/P&gt;&lt;P&gt;  gs_line-typ  = 'H'.&lt;/P&gt;&lt;P&gt;  gs_line-info = 'IPM  Report'.&lt;/P&gt;&lt;P&gt;  append gs_line to gt_top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*do 3 times.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gs_line-typ  = 'S'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gs_line-info = ' '.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gs_line-key  = ' '.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; append gs_line to gt_top_of_page.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*enddo.&lt;/P&gt;&lt;P&gt;concatenate sy-datum&lt;EM&gt;6(2) '/' sy-datum&lt;/EM&gt;4(2) '/' sy-datum+0(4)&lt;/P&gt;&lt;P&gt;into rundt.&lt;/P&gt;&lt;P&gt;  clear gs_line.&lt;/P&gt;&lt;P&gt;  gs_line-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  gs_line-key  = 'Run Date: '.&lt;/P&gt;&lt;P&gt;  gs_line-info = rundt.&lt;/P&gt;&lt;P&gt;  append gs_line to gt_top_of_page.&lt;/P&gt;&lt;P&gt;endform.                    "COMMENT_BUILD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Call the above form  prior to  the below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nehruu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 11:00:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-25T11:00:42Z</dc:date>
    <item>
      <title>ALV - header handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-header-handling/m-p/6841998#M1473226</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;I need to set the header part of an ALV report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following function modules to fill two lines of my report.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' (line type 1)&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' (line type 2)&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I don't find space on the top of my ALV report for setting some values as input parameters, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words I wish to obtain the layout that I find by executing this function module&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_callback_program       = gv_repid&lt;/P&gt;&lt;P&gt;      i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM&lt;/P&gt;&lt;P&gt;      i_callback_user_command  = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;      i_callback_pf_status_set = gc_status&lt;/P&gt;&lt;P&gt;      is_layout_lvc            = gw_layo&lt;/P&gt;&lt;P&gt;      it_fieldcat_lvc          = gw_fkat&lt;/P&gt;&lt;P&gt;      i_grid_settings          = lw_grid_settings&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                 = gt_report&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;Any help will be well appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Luigi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 09:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-header-handling/m-p/6841998#M1473226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T09:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: ALV - header handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-header-handling/m-p/6841999#M1473227</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;&lt;/P&gt;&lt;P&gt;1) Declare the below line in program.&lt;/P&gt;&lt;P&gt;       gt_list_top_of_page type slis_t_listheader,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)  for example : Assign like below.&lt;/P&gt;&lt;P&gt;form comment_build changing gt_top_of_page type slis_t_listheader.&lt;/P&gt;&lt;P&gt;  data: gs_line type slis_listheader.&lt;/P&gt;&lt;P&gt;  clear gs_line.&lt;/P&gt;&lt;P&gt;  gs_line-typ  = 'H'.&lt;/P&gt;&lt;P&gt;  gs_line-info = 'IPM  Report'.&lt;/P&gt;&lt;P&gt;  append gs_line to gt_top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*do 3 times.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gs_line-typ  = 'S'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gs_line-info = ' '.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; gs_line-key  = ' '.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; append gs_line to gt_top_of_page.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*enddo.&lt;/P&gt;&lt;P&gt;concatenate sy-datum&lt;EM&gt;6(2) '/' sy-datum&lt;/EM&gt;4(2) '/' sy-datum+0(4)&lt;/P&gt;&lt;P&gt;into rundt.&lt;/P&gt;&lt;P&gt;  clear gs_line.&lt;/P&gt;&lt;P&gt;  gs_line-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  gs_line-key  = 'Run Date: '.&lt;/P&gt;&lt;P&gt;  gs_line-info = rundt.&lt;/P&gt;&lt;P&gt;  append gs_line to gt_top_of_page.&lt;/P&gt;&lt;P&gt;endform.                    "COMMENT_BUILD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Call the above form  prior to  the below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nehruu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 11:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-header-handling/m-p/6841999#M1473227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T11:00:42Z</dc:date>
    </item>
  </channel>
</rss>

