Skip to Content
0
Former Member
Mar 11, 2009 at 03:45 PM

Problem while displaying data using cl_gui_column_tree->add_nodes_and_items

46 Views

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.