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

Dropdown in ALVTree

Former Member
0 Likes
855

Hi,

how can I customize (layout?, fieldcatalog?) to gain effect of dropdown menu in cell when the cell is edited. I use "cl_gui_alv_tree"

Hi,

how can I customize (layout?, fieldcatalog?) to gain effect of dropdown menu in cell when the cell is edited. I use "cl_gui_alv_tree"

4 REPLIES 4
Read only

Former Member
0 Likes
690

I finally found solution

Read only

0 Likes
690

hi

i m new to abap can u plz explain me the concept of ALVTree

Read only

0 Likes
690

Unfortunatelly editing cl_gui_alv_tree isn't possible, trees are used only for displaying data. only one thing which we can edit/chenge is to select/deselect checkboxes.

Dropdowns we can set the same way as we do in alv_grid but this is useless because we can't edit tree

@new abaper Neha Gupta: look into demos called:

BCALV_TREE_01 ALV tree control: build up the hierarchy tree

BCALV_TREE_02 ALV tree control: event handling

BCALV_TREE_03 ALV tree control: use an own context menu

BCALV_TREE_04 ALV tree control: add a button to the toolbar

BCALV_TREE_05 ALV tree control: add a menu to the toolbar

BCALV_TREE_06 ALV tree control: Icon column and icon for nodes/items

BCALV_TREE_DEMO Demo for ALV tree control

BCALV_TREE_DND ALV tree control: Drag & Drop within a hierarchy tree

BCALV_TREE_DND_MULTIPLE ALV tree control: Drag & Drop within a hierarchy tree

BCALV_TREE_EVENT_RECEIVER Include BCALV_TREE_EVENT_RECEIVER

BCALV_TREE_EVENT_RECEIVER01

BCALV_TREE_ITEMLAYOUT ALV Tree: Change Item Layouts at Runtime

BCALV_TREE_MOVE_NODE_TEST Demo for ALV tree control

BCALV_TREE_SIMPLE_DEMO Program BCALV_TREE_SIMPLE_DEMO

BCALV_TREE_VERIFY Verifier for ALV Tree and Simple ALV Tree

I thinh whis demos explains you a lot

If you don't like old SAP way of creating controls on screen you can use new one. Look into finction group SALV for more details and thoose demos to see how this is working

SALV_DEMO_TREE_DATA_UPDATE Demonstration Program for ALV OM Tree: Changed Data

SALV_DEMO_TREE_EVENTS Demonstration Program for ALV OM Tree: Events

SALV_DEMO_TREE_FUNCTIONS Demonstration Program for ALV OM Tree: Functions

SALV_DEMO_TREE_METADATA Demonstration Program for ALV OM Tree: Metadata

SALV_DEMO_TREE_SELECTIONS Demonstration Program for ALV OM Tree: Selections

SALV_DEMO_TREE_SETTINGS Demonstration Program for ALV OM Tree: Settings

SALV_DEMO_TREE_SIMPLE Demonstration Program for ALV OM Tree

Message was edited by:

Tomasz Suchanek

Read only

Former Member
0 Likes
690

what is the solution can you share please

It will useful to others