Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

split container....

Former Member
0 Kudos

hi, i am using below code for split container...


* Create TOP-Document
  create object o_dyndoc_id
  exporting style = 'ALV_GRID'.

* Create Splitter for custom_container
  create object o_splitter
    exporting
      parent  = g_custom_container
      rows    = 2
      columns = 1.

  call method o_splitter->get_container
    exporting
      row       = 1
      column    = 1
    receiving
      container = o_parent_top.

  call method o_splitter->get_container
    exporting
      row       = 2
      column    = 1
    receiving
      container = o_parent_grid.

* Set height for g_parent_html
  call method o_splitter->set_row_height
    exporting
      id     = 1
      height = 5.

  create object g_grid
  exporting i_parent = o_parent_grid.

  create object g_handler.

  set handler g_handler->top_of_page for g_grid.

however, after executing report, to view the top-of-page, i have to literally drag splitter down and then only i am able to view top-of-page details like program name, user etc...

what are the settings i have to do so that after executing program default all the details on top-of-page are visible ???

Regards,

1 REPLY 1

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

I also faced same situation and finally i used a work around to fix this ...

instead of using spliiter container , use customer container and place your splitters inside that.