<?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 heading in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-heading/m-p/1905160#M377400</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;FORM top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The main header:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;
  CLEAR gs_line.
  gs_line-typ  = 'H'.
  gs_line-info = sy-title.
  APPEND gs_line TO gt_top_of_page.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;For the datum from x to y, you might use the following:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;
  CLEAR lv_fejlec.
  CONCATENATE p_text_da1 ' '
      p_s_datum-low(4) '.' p_s_datum-low+4(2) '.' p_s_datum-low+6(2) '-'
      p_s_datum-high(4) '.' p_s_datum-high+4(2) '.' p_s_datum-high+6(2)
    INTO lv_fejlec.
  CLEAR gs_line.
  gs_line-typ  = 'S'.
  gs_line-info = lv_fejlec.
  APPEND gs_line TO gt_top_of_page.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And oyu have to call the top_of_page form in your ALV.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
   EXPORTING
     i_callback_top_of_page            = 'TOP_OF_PAGE'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2007 15:10:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-23T15:10:59Z</dc:date>
    <item>
      <title>alv heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-heading/m-p/1905159#M377399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt; I want to print heading  for alv  report as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xxxxxxxxxx              xxxxxxxxxxxxxx           xxxxxxxxxxxxxxxxxxx&lt;/P&gt;&lt;P&gt;xxxxxx                     Dt:xxxxxxx  to xxxxxx   xxxxxxxxxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  for spending time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 15:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-heading/m-p/1905159#M377399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T15:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: alv heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-heading/m-p/1905160#M377400</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;FORM top_of_page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The main header:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;
  CLEAR gs_line.
  gs_line-typ  = 'H'.
  gs_line-info = sy-title.
  APPEND gs_line TO gt_top_of_page.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;For the datum from x to y, you might use the following:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;
  CLEAR lv_fejlec.
  CONCATENATE p_text_da1 ' '
      p_s_datum-low(4) '.' p_s_datum-low+4(2) '.' p_s_datum-low+6(2) '-'
      p_s_datum-high(4) '.' p_s_datum-high+4(2) '.' p_s_datum-high+6(2)
    INTO lv_fejlec.
  CLEAR gs_line.
  gs_line-typ  = 'S'.
  gs_line-info = lv_fejlec.
  APPEND gs_line TO gt_top_of_page.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And oyu have to call the top_of_page form in your ALV.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
   EXPORTING
     i_callback_top_of_page            = 'TOP_OF_PAGE'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 15:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-heading/m-p/1905160#M377400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T15:10:59Z</dc:date>
    </item>
  </channel>
</rss>

