on 06-17-2016 3:58 PM
Hi,
I have a selection screen with EXECUTE button to search, and and ALV below that displays values.
The problem is with the standard view.
If the user pick a custom layout, goes back to [standard view] and executes search that refreshes ALV, then [standard view] look and feel is applied, but custom layout is highlighted in the selection dropdown of the view.
I also tried to get the current selected view, but it either always returns current or previous custom view:
wd_this->ls_view_key = wd_this->wd_cpifc_result_table( )->wd_get_api( )->get_component( )->get_configuration_key( )
or always returns empty description, which is the standard view:
wd_this->wd_cpifc_result_table( )->wd_get_api( )->get_component( )->get_configuration_key( ).
So i never know which one to reapply.
Any hints?
Hi,
Did you even read my question?
I want to GET not SET, the selected view.
In the end i enhanced interface IF_SALV_WD_COMP_TABLE_PERS_800
with a method GET_VIEW and implemented it in CL_SALV_WD_PERS_CONTROLLER
to get the private attribute S_CONFIG_KEY which stores the actual selected view.
Afterwards you can use standard ways to reapply it to the ALV.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.