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

EDIT ALV TREE

Former Member
0 Likes
840

Hi all,

I followed SAP example program to create 'COLUMN structure ALV tree' to diaplay and i have to make some of the fields as editable and get back the changed values in the internal table.Here i did not use field catalog at all.

I used gui_custom_container,cl_gui_custom_container,cl_gui_column_tree ...and added every column to the the tree object .Built the node with two internal table(like order header & order item ) to form a tree.How should i get the changed values in the internal table when user changes values in Colums of order item node.

Any help is appreciated.

thanks,

dan.

Hi all,

I followed SAP example program to create 'COLUMN structure ALV tree' to diaplay and i have to make some of the fields as editable and get back the changed values in the internal table.Here i did not use field catalog at all.

I used gui_custom_container,cl_gui_custom_container,cl_gui_column_tree ...and added every column to the the tree object .Built the node with two internal table(like order header & order item ) to form a tree.How should i get the changed values in the internal table when user changes values in Colums of order item node.

Any help is appreciated.

thanks,

dan.

4 REPLIES 4
Read only

Former Member
0 Likes
725

Hi,

Check the following program,

BCALV_TREE_DEMO

BCALV_TREE_SIMPLE_DEMO

Reward if helpful.

Read only

Former Member
0 Likes
725

please see sap example programs

se38 type bcalv_tree*

Read only

0 Likes
725

Hello all,

Thanks for you reponses.I was actually referring COLUMN_TREE_CONTROL_DEMOF01,now kind of changing the code like BCALV_TREE_DEMO, BCALV_TREE_SIMPLE_DEMO .Looks like i can make the field as editable by changing the edit field in layout object.But unlike 'GRID' object this tree object is not having any method like 'check_change_data' .

How to get back the changed/values in iternal table or by any other means.

Any idea of getting changed values from ALV tree object would be really helpful.

thanks,

dan

Read only

0 Likes
725

Hi,

Can you pls help out how to make the ALV Tree as editable fields?

Thanks