Application Development 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: 

Changed data not reflecting CL_GUI_ALV_TREE

Former Member
0 Kudos

Hi All,

Iam using CL_GUI_ALV_TREE to display the Balance sheet data. I have added a button on application tool bar to convert data from one currency to other other currency.

Iam changing the data as per requested currency and modified final table.

In PBO , ALV container is called only once.

in PAI my routine converts the currency. I have used

CALL METHOD cl_gui_cfw=>dispatch.

CALL METHOD cl_gui_cfw=>flush.

Iam not able to see changed currency data on my ALV TREE .

Please let me know Iam missing any thing.

Thanks

Krishna

2 REPLIES 2

huseyindereli
Active Contributor
0 Kudos

Hi Krishnama,

Try these methods;

""" update calculations
  call method go_tree->update_calculations.

""" frontend update
  call method go_tree->frontend_update.

Ryan-Crosby
Active Contributor
0 Kudos

Hi Krishnama,

I would use this method to redraw the tree:

call method cl_gui_alv_tree_obj->refresh_table_display

Regards,

Ryan