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

Problem while displaying data using cl_gui_column_tree->add_nodes_and_items

Former Member
0 Likes
416

Hi,

Am using cl_gui_column_tree->add_nodes_and_items for displaying the records.

CALL METHOD obj_tree->add_nodes_and_items

EXPORTING

node_table = node_table

item_table = item_table

item_table_structure_name = 'MTREEITM'

EXCEPTIONS

failed = 1

cntl_system_error = 3

error_in_tables = 4

dp_error = 5

table_structure_name_not_found = 6.

My output contains 5 colums so no.of entries in item table = no.of entries in node_table * 5.

If there are less no.of records in my node_table(1-200 records) it is displaying them but if there are more records(>1000) it is not displaying them and staying back in the same screen.

I am using cl_gui_cfw=>flush after this method and am getting sy-subrc = 2.

Can you please help me out in displaying all the records.

Thanks & Regards,

Adithya M.

1 REPLY 1
Read only

Former Member
0 Likes
369

Cross post