Skip to Content

Split Functionality with Tab strip Controll

Dear All,

I have a requirement like my custom report need to resize left hand side panel of tree structure, In PPOSA transaction I can drag like that below are the my transaction screen shot and MPP screen.

1.jpg (89.7 kB)
2.jpg (67.0 kB)
3.jpg (121.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Apr 14, 2016 at 02:48 PM

    This is done by using DOCKING container.

    Create a simple program, with just 1 screen in it. Put some text in the screen. Next, in the PBO module, instantiate a DOCKING container. You will see that the system automatically moves the contents of the screen, to a re-sizable view, with a DOCKING container on the left.

    Sample Code:

    report z.

    data:r_dock_container type ref to cl_gui_docking_container.

    call screen 1.

    *&---------------------------------------------------------------------*

    *& Module STATUS_0001 OUTPUT

    *&---------------------------------------------------------------------*

    * text

    *----------------------------------------------------------------------*

    module status_0001 output.

    create object r_dock_container

    exporting

    side = cl_gui_docking_container=>dock_at_left

    extension = 70

    exceptions

    others = 6.

    endmodule.


    My program has only 1 screen, and that screen has only 1 text. After executing this report, I see the following.


    Thanks, Juwin


    Add comment
    10|10000 characters needed characters exceeded

  • Apr 14, 2016 at 01:28 PM

    You can check the demo program RSDEMO_EASY_SPLITTER_CONTROL.

    And if you want to find more demo programs, see transaction code DWDM.

    Add comment
    10|10000 characters needed characters exceeded