<?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: write commentary in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-commentary/m-p/2699349#M625033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seems it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 21:55:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T21:55:24Z</dc:date>
    <item>
      <title>write commentary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-commentary/m-p/2699347#M625031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an alv GRID, but now I need to write some header at the top. This is part of the code that I have, and is not working (for the header), the box at the top does appear, but empty, without text.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EVENT TOP OF PAGE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear v_event.&lt;/P&gt;&lt;P&gt;  v_event-name = SLIS_EV_TOP_OF_PAGE.&lt;/P&gt;&lt;P&gt;  v_event-form = 'DATA_TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;  append v_event to events_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SHOWING THE GRID&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;      is_layout   = layout_data&lt;/P&gt;&lt;P&gt;      it_fieldcat = gt_fieldcat_data[]&lt;/P&gt;&lt;P&gt;      it_events    = events_data&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab    = gt_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM AFTER EVENT TOP OF PAGE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Form DATA_TOP_OF_PAGE.&lt;/P&gt;&lt;P&gt;  data: texto type string,&lt;/P&gt;&lt;P&gt;        f type string,&lt;/P&gt;&lt;P&gt;        t type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear heading1.&lt;/P&gt;&lt;P&gt;  heading1-typ = 'H'.&lt;/P&gt;&lt;P&gt;  heading1-info = 'some title'.&lt;/P&gt;&lt;P&gt;  heading1-key = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append heading1.&lt;/P&gt;&lt;P&gt;&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 = heading1[]&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;       others = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like I said, the box at the top appeas, but without any text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 21:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-commentary/m-p/2699347#M625031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T21:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: write commentary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-commentary/m-p/2699348#M625032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try passing just heading1 instead of heading1[] to the 'REUSE_ALV_COMMENTARY_WRITE' function call. Everything else looks ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 21:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-commentary/m-p/2699348#M625032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T21:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: write commentary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-commentary/m-p/2699349#M625033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seems it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 21:55:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-commentary/m-p/2699349#M625033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T21:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: write commentary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-commentary/m-p/2699350#M625034</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;Try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* EVENT TOP OF PAGE
clear v_event.
v_event-name = 'TOP_OF_PAGE'.
v_event-form = 'TOP_OF_PAGE'.
append v_event to events_data.

* SHOWING THE GRID

call function 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = layout_data
it_fieldcat = gt_fieldcat_data[]
it_events = events_data
TABLES
t_outtab = gt_data.

* FORM AFTER EVENT TOP OF PAGE
Form TOP_OF_PAGE.
data: texto type string,
f type string,
t type string.

clear heading1.
heading1-typ = 'H'.
heading1-info = 'some title'.
heading1-key = ''.

append heading1.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading1[]
exceptions
others = 1.      
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 22:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-commentary/m-p/2699350#M625034</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-09T22:12:48Z</dc:date>
    </item>
  </channel>
</rss>

