2007 May 16 12:27 PM
hi all,
i want to know how to add a tree like structure of folder in a container
which is the class and method for this, and please mention something splitting a container
thanks in advance,
2007 May 16 12:39 PM
Hi,
Go through this program for ALV Tree:
BCALV_TEST_SIMPLE_TREE
and, do not use split screen instead use docking container which is best suitable for ur requirement (i feel) Go through for
* Docking Container
data docking type ref to cl_gui_docking_container.
* Picture Control
data picture type ref to cl_gui_picture.
* Definition of Control Framework
data init.
data ok_code type sy-ucomm.
data repid type sy-repid.
data dynnr type sy-dynnr.
repid = sy-repid.
dynnr = sy-dynnr.
* create the docking container
create object docking
exporting repid = repid
dynnr = dynnr
side = docking->dock_at_left
extension = 180.
* create the picture container
create object picture
exporting parent = docking.
Intstead of creating picture control creatr ALV here.
Jogdand M B
hi all,
i want to know how to add a tree like structure of folder in a container
which is the class and method for this, and please mention something splitting a container
thanks in advance,
2007 May 16 12:30 PM
Hi,
Go through the link,
http://www.sapdevelopment.co.uk/reporting/alv/alvtree.htm
Also go throgh the sample programs
BCALV_TREE_01
BCALV_TREE_02
BCALV_TREE_03
BCALV_TREE_04
BCALV_TREE_05
BCALV_TREE_06
BCALV_TREE_DEMO
BCALV_TREE_DND
BCALV_TREE_DND_MULTIPLE
BCALV_TREE_EVENT_RECEIVER
BCALV_TREE_EVENT_RECEIVER01
BCALV_TREE_ITEMLAYOUT
BCALV_TREE_MOVE_NODE_TEST
BCALV_TREE_SIMPLE_DEMO
BCALV_TREE_VERIFY
Regards,
Azaz Ali.
2007 May 16 12:59 PM
2007 May 16 12:33 PM
CL_GUI_ALV_TREE is used.
refer program BCALV_TREE_DEMO
BCALV_TREE_SIMPLE_DEMO
for splitting container example goto SE38 screen in the menu bar select
Environment->Examples->Control Examples.
here u can see all type of container examples
2007 May 16 12:39 PM
Hi,
Go through this program for ALV Tree:
BCALV_TEST_SIMPLE_TREE
and, do not use split screen instead use docking container which is best suitable for ur requirement (i feel) Go through for
* Docking Container
data docking type ref to cl_gui_docking_container.
* Picture Control
data picture type ref to cl_gui_picture.
* Definition of Control Framework
data init.
data ok_code type sy-ucomm.
data repid type sy-repid.
data dynnr type sy-dynnr.
repid = sy-repid.
dynnr = sy-dynnr.
* create the docking container
create object docking
exporting repid = repid
dynnr = dynnr
side = docking->dock_at_left
extension = 180.
* create the picture container
create object picture
exporting parent = docking.
Intstead of creating picture control creatr ALV here.
Jogdand M B
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |