I've done a report with an ALV TREE (CL_GUI_ALV_TREE) and I want to get on the first node the totals of its children.
I have used the method UPDATE_CALCULATIONS and FRONT_END_UPDATE, everything it's ok when displaying the values, but when
I try to get top node's calculated values by using the GET_OUTTAB_LINE method I get old values instead of updated ones.
How can I get calculated values?
Thnx in advance.
refer this link
Class CL_GUI_ALV_TREE has two methods for refreshing the display:
- FRONTEND_UPDATE (Sends Changed/Inserted Nodes to Control)
- UPDATE_CALCULATIONS (Recalculate Columns)
The second methods implicitly calls method FRONTEND_UPDATE except if you suppress it using parameter NO_FRONTEND_UPDATE = 'X'.