<?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 reuse_alv_commentary_write in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564476#M1269517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While using REUSE_ALV_COMMENTARY_WRITE is it possible to position the details at the header.The information which we give in header-key.Can we make it to be displayed at any position we want or will it be left alligned only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;GW_LISTHEADER-TYP = 'S'.&lt;/P&gt;&lt;P&gt;  GW_LISTHEADER-KEY = 'UserName  '.&lt;/P&gt;&lt;P&gt;  GW_LISTHEADER-INFO = SY-UNAME.&lt;/P&gt;&lt;P&gt;  APPEND GW_LISTHEADER TO GI_LISTHEADER.&lt;/P&gt;&lt;P&gt;  CLEAR GW_LISTHEADER.&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 = GI_LISTHEADER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will Username be left alligned or can we postion and format it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2009 10:20:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-05T10:20:24Z</dc:date>
    <item>
      <title>reuse_alv_commentary_write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564476#M1269517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While using REUSE_ALV_COMMENTARY_WRITE is it possible to position the details at the header.The information which we give in header-key.Can we make it to be displayed at any position we want or will it be left alligned only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;GW_LISTHEADER-TYP = 'S'.&lt;/P&gt;&lt;P&gt;  GW_LISTHEADER-KEY = 'UserName  '.&lt;/P&gt;&lt;P&gt;  GW_LISTHEADER-INFO = SY-UNAME.&lt;/P&gt;&lt;P&gt;  APPEND GW_LISTHEADER TO GI_LISTHEADER.&lt;/P&gt;&lt;P&gt;  CLEAR GW_LISTHEADER.&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 = GI_LISTHEADER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will Username be left alligned or can we postion and format it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 10:20:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564476#M1269517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T10:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: reuse_alv_commentary_write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564477#M1269518</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;Yes By default they are left Justified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 10:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564477#M1269518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: reuse_alv_commentary_write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564478#M1269519</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;By default is left aligned only. You can give any postition kind of thing here. Forcefully if you want move it towards right, then probably using the space before kind of thing may be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think alighment is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santhosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 10:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564478#M1269519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T10:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: reuse_alv_commentary_write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564479#M1269520</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;If you wish to format the text in the ALV header, like aligning and changing the font and size, you need to use HTML_TOP_OF_PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_html_top_of_page  = 'HTML_TOP_OF_PAGE'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write a Subroutine with the name 'HTML_TOP_OF_PAGE' -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM html_top_of_page USING document TYPE REF TO cl_dd_document. 

CALL METHOD document-&amp;gt;add_gap
    EXPORTING
      width = '100'.

  CALL METHOD document-&amp;gt;add_text
    EXPORTING
      text      = 'Your text here'
      sap_style = 'HEADING'.

  CALL METHOD document-&amp;gt;new_line.

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the attributes and methods of the class CL_DD_DOCUMENT for more text formatting.&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;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 10:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564479#M1269520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T10:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: reuse_alv_commentary_write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564480#M1269521</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 link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[link|https://forums.sdn.sap.com/click.jspa?searchID=25685847&amp;amp;messageID=7166145]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 11:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-commentary-write/m-p/5564480#M1269521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T11:40:07Z</dc:date>
    </item>
  </channel>
</rss>

