Skip to Content
0
Former Member
Nov 18, 2010 at 01:18 PM

getting current layout didnt work with cl_salv_tree

147 Views

Hi,

ich just want to get the current layout. There is a default layout set. When running the ALV Tree I change to another layout and then by hitting enter I just run into PAI where the following lines are processed.

ls_def_layout_cur = lr_layout->get_default_layout( ).

ls_cur_layout_cur = lr_layout->get_current_layout( ).

But I only got a result for the default layout. Why is he not telling me which current layout the user is actually using. Cause when the tree is build up newly I would like to set the latest current layout as initial layout for the refresh.

But as long as I cant find out which layout is the currently used one I dont know how I could handle this problem.

Thx for your help in advance.

dinodini