2007 Mar 28 7:52 AM
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
2007 Mar 29 10:07 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |