Skip to Content
0
Dec 13, 2011 at 09:57 AM

ALV CUSTOM CONTAINER

43 Views

I have an issue regarding the above alv split.each of the split containers are having a print button in their respective gui..which will show them the print preview of the respective split containers.But if there is a need to get the consolidated print preview of all the alvs together, there is no print button at the top..and i have a similar scenario with my client and surprisingly the print button at the top does not work.if anybody has an answer to this please reply me <removed by moderator>.

module status_0200 output.

  set pf-status c_alv_cont.
  set titlebar c_alv_cont.

  perform create_summary_data.
  perform create_screen.
  perform display_summary_table.
  perform display_unconfirmed.


endmodule.                 " STATUS_0200  OUTPUT

form create_screen.

**   create main container
  create object custom_container
    exporting
      container_name = c_main.

**   create splitter container in which to place graphics
  create object splitter
    exporting
      parent  = custom_container
      rows    = 2
      columns = 1
      align   = 15. " (splitter fills the hole custom container)

**   get part of splitter container for 1st table
  call method splitter->get_container
    exporting
      row       = 1
      column    = 1
    receiving
      container = graphic_parent1.
**   get part of splitter container for 2nd table
  call method splitter->get_container
    exporting
      row       = 2
      column    = 1
    receiving
      container = graphic_parent2.

  create object ref_grid
    exporting
      i_parent = graphic_parent1.
  create object ref_grid1
    exporting
      i_parent = graphic_parent2.


endform.                    "create_screen

Edited by: Edward Brandman on Dec 13, 2011 11:07 AM

Edited by: Thomas Zloch on Dec 13, 2011 8:26 PM