Application Development and Automation 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: 
Read only

How to show subscreen in split screen

Former Member
0 Likes
1,534

Hi all,

Basically i want to show one tree control in left pane and all relevent subscreens in right pane.

But, I am not able to create subscreen area in right pane.

How i can create sub screen area and/or subscreens in split screen control.

Thanks,

Jogdand M B

Hi all,

Basically i want to show one tree control in left pane and all relevent subscreens in right pane.

But, I am not able to create subscreen area in right pane.

How i can create sub screen area and/or subscreens in split screen control.

Thanks,

Jogdand M B

1 REPLY 1
Read only

Former Member
0 Likes
454

Hi Machindra,

I also faced the same kind of problem previously. Actually there is no container which can contain normal dynpro screens / subscreens / ui elements.

However you can still implement the same kind of scenario.

As you said you want to have splitted area - left area should have tree control and right area should have subscreen.

What you can do is make use of docking container (class CL_GUI_DOCKING_CONTAINER) like -

1. Create your normal dynpro screen with a subscreen area as you wanted.

2. In a PBO module write code for creating tree control in docking container, like -


DATA: <docking container object> TYPE REF TO CL_GUI_DOCKING_CONTAINER,
      <ALV grid object>          TYPE REF TO CL_GUI_ALV_GRID.

CREATE OBJECT <docking container object>
              EXPORTING repid     = repid
                        dynnr     = dynnr
                        side      = docking->dock_at_left
                        extension = 180.

CREATE OBJECT <ALV grid object>
       EXPORTING I_PARENT = <docking container object>.

CALL METHOD <ALV grid object>->SET_TABLE_FOR_FIRST_DISPLAY
     EXPORTING I_STRUCTURE_NAME = 'SFLIGHT'
     CHANGING  IT_OUTTAB        = <output table>.

Regards,

Manish Joshi

    • I hope you know how to award points