<?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 CL_SALV_TABLE - Header Problem when Container Exported in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-header-problem-when-container-exported/m-p/8534290#M1656903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFB my code to display header using CL_SALV_TABLE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

      cl_salv_table=&amp;gt;factory(
        EXPORTING
          list_display   = space
          r_container    = go_cc
          container_name = 'CC'
        IMPORTING
          r_salv_table = go_alv
        CHANGING
          t_table      = gt_table ).

      MOVE 'List of Master Data Records' TO lv_head.
      CREATE OBJECT lo_grid.
      lo_grid-&amp;gt;create_header_information(
          row     = 1
          column  = 1
          text    = lv_head
          tooltip = lv_head ).
      go_alv-&amp;gt;set_top_of_list( lo_grid ).

      go_alv-&amp;gt;display( ).

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I don't pass container object, it is displaying with header in full screen. But my requirement is to display ALV in second half of the screen. In first half, we have tree and when double-clicked on one item, second container is to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me out? Thanks a lot!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2012 06:45:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-27T06:45:38Z</dc:date>
    <item>
      <title>CL_SALV_TABLE - Header Problem when Container Exported</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-header-problem-when-container-exported/m-p/8534290#M1656903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFB my code to display header using CL_SALV_TABLE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

      cl_salv_table=&amp;gt;factory(
        EXPORTING
          list_display   = space
          r_container    = go_cc
          container_name = 'CC'
        IMPORTING
          r_salv_table = go_alv
        CHANGING
          t_table      = gt_table ).

      MOVE 'List of Master Data Records' TO lv_head.
      CREATE OBJECT lo_grid.
      lo_grid-&amp;gt;create_header_information(
          row     = 1
          column  = 1
          text    = lv_head
          tooltip = lv_head ).
      go_alv-&amp;gt;set_top_of_list( lo_grid ).

      go_alv-&amp;gt;display( ).

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I don't pass container object, it is displaying with header in full screen. But my requirement is to display ALV in second half of the screen. In first half, we have tree and when double-clicked on one item, second container is to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me out? Thanks a lot!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 06:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-header-problem-when-container-exported/m-p/8534290#M1656903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-27T06:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE - Header Problem when Container Exported</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-header-problem-when-container-exported/m-p/8534291#M1656904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right, i also tried this one. The top of list or end of list is coming only if we dont provide it in a container. ALV here is used as OOALV, so im nt sure in OOALV top of list is possible i have not tried. IF we dont provide container it performs like REUSE_ALV_GRID.. then header is coming.. I will also look at this problem..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 07:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-header-problem-when-container-exported/m-p/8534291#M1656904</guid>
      <dc:creator>surajarafath</dc:creator>
      <dc:date>2012-01-27T07:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE - Header Problem when Container Exported</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-header-problem-when-container-exported/m-p/8534292#M1656905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved with below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
        lo_display TYPE REF TO cl_salv_display_settings.

      lo_display = go_alv_area2-&amp;gt;get_display_settings( ).

          lo_display-&amp;gt;set_list_header( 'List of Master Data Records' ).
          lo_display-&amp;gt;set_list_header_size( cl_salv_display_settings=&amp;gt;C_HEADER_SIZE_LARGE ).


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 07:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-header-problem-when-container-exported/m-p/8534292#M1656905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-10T07:59:33Z</dc:date>
    </item>
  </channel>
</rss>

