<?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 ALV coloring help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-coloring-help/m-p/4378946#M1041823</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;&lt;/P&gt;&lt;P&gt;Hi I have 2 requirements in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  my third field is Sales Organisation.I have to make the column  heading of this column intesified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)In the top of page I have to color a particular line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest some solution as soon as possible as I need it very urgently...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nazmul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2008 11:45:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-28T11:45:01Z</dc:date>
    <item>
      <title>ALV coloring help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-coloring-help/m-p/4378946#M1041823</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;&lt;/P&gt;&lt;P&gt;Hi I have 2 requirements in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  my third field is Sales Organisation.I have to make the column  heading of this column intesified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)In the top of page I have to color a particular line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest some solution as soon as possible as I need it very urgently...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nazmul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 11:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-coloring-help/m-p/4378946#M1041823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T11:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: ALV coloring help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-coloring-help/m-p/4378947#M1041824</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 out the column options in the layout which u r using like&lt;/P&gt;&lt;P&gt;in slis u have many options for color and for column headings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 11:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-coloring-help/m-p/4378947#M1041824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T11:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: ALV coloring help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-coloring-help/m-p/4378948#M1041825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can show the color in the Top of  page .&lt;/P&gt;&lt;P&gt;Check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_blogpost" href="https://community.sap.com/" __jive_macro_name="blogpost" modifiedtitle="true" __default_attr="42022"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also check this &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report  ztest_page.

tables: sflight.
data : it_flight type table of sflight with header line.
data begin of it_sel_opt occurs 0.
        include structure rsparams.
data end   of it_sel_opt.
select-options: s_carrid for sflight-carrid.

start-of-selection.

  select * from sflight into table it_flight
   where carrid in s_carrid.

end-of-selection.

  call function 'RS_REFRESH_FROM_SELECTOPTIONS'
    exporting
      curr_report     = sy-repid
    tables
      selection_table = it_sel_opt
    exceptions
      not_found       = 01
      no_report       = 02.

  call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
      i_callback_program          = sy-repid
      i_callback_html_top_of_page = 'TOP_OF_PAGE'
      i_structure_name            = 'SFLIGHT'
    tables
      t_outtab                    = it_flight
    exceptions
      program_error               = 1
      others                      = 2.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  top_of_page
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;DOCUMENT   text
*----------------------------------------------------------------------*
form top_of_page using document type ref to cl_dd_document.
  data : dl_text(255) type c.  "Text

* Add new-line
  call method document-&amp;gt;new_line.

  call method document-&amp;gt;new_line.

  clear : dl_text.
* program ID
  dl_text = 'Program Name :'.
  call method document-&amp;gt;add_gap.
  call method document-&amp;gt;add_text
    exporting
      text         = dl_text
      sap_emphasis = cl_dd_area=&amp;gt;heading
      sap_color    = cl_dd_area=&amp;gt;list_heading_int.

  clear dl_text.
  dl_text = sy-repid.
  call method document-&amp;gt;add_text
    exporting
      text         = dl_text
      sap_emphasis = cl_dd_area=&amp;gt;heading
      sap_color    = cl_dd_area=&amp;gt;list_negative_inv.

* Add new-line
  call method document-&amp;gt;new_line.
  clear : dl_text.

  dl_text = 'Selection Criteria'.
  call method document-&amp;gt;add_gap
    exporting
      width = 34.
  call method document-&amp;gt;add_text
    exporting
      text         = dl_text
      sap_emphasis = cl_dd_area=&amp;gt;heading
      sap_color    = cl_dd_area=&amp;gt;list_negative_inv.

* Add new-line
  call method document-&amp;gt;new_line.

  clear : dl_text.
  concatenate 'SELECT Option' 'SIGN' 'OPTION' 'LOW' 'HIGH'
  into dl_text separated by cl_abap_char_utilities=&amp;gt;horizontal_tab.

  call method document-&amp;gt;add_gap
    exporting
      width = 34.
  call method document-&amp;gt;add_text
    exporting
      text         = dl_text
      sap_emphasis = cl_dd_area=&amp;gt;heading
      sap_color    = cl_dd_area=&amp;gt;list_negative_inv.

* Add new-line
  call method document-&amp;gt;new_line.
  loop at it_sel_opt.

    clear : dl_text.
    concatenate it_sel_opt-selname  it_sel_opt-sign
     it_sel_opt-option it_sel_opt-low it_sel_opt-high
    into dl_text separated by cl_abap_char_utilities=&amp;gt;horizontal_tab.

    call method document-&amp;gt;add_gap
      exporting
        width = 34.
    call method document-&amp;gt;add_text
      exporting
        text         = dl_text
        sap_emphasis = cl_dd_area=&amp;gt;heading
        sap_color    = cl_dd_area=&amp;gt;list_negative_inv.
* Add new-line
    call method document-&amp;gt;new_line.

  endloop.

endform.                    "top_of_page&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 11:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-coloring-help/m-p/4378948#M1041825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T11:52:15Z</dc:date>
    </item>
  </channel>
</rss>

