Skip to Content
0
Nov 17, 2014 at 04:00 PM

personalization: if_wd_personalization->load_config_by_key doesn't work

242 Views

Hi,

I have a wd-abap form with saved values (of select options) in a custom table like personalization, but self programmed.

Below form is a personalized SALV_WD_TABLE table.

When a variant (in the from) is choosen, my customer wants the program to associate name of "his" variant with the personalization view of table. If one is available with the same name, than I have to call this view in the alv (like manually changed dropDownBox for personalization).

I am using the very good hint http://scn.sap.com/thread/1986147 .

1. When I am using

lo_pers->load_config_by_key "<-- this doesn't work: Unfortunately the view is not loaded.

lo_pers->set_default_variant "<- this line works

My presettings of the alv are:

lv_value->if_salv_wd_table_settings~set_implicit_p13n_enabled( abap_true ).
lv_value->if_salv_wd_std_functions~set_dialog_settings_allowed( abap_true ).
lv_value->if_salv_wd_std_functions~set_view_list_allowed( abap_true ).
lv_value->if_salv_wd_std_functions~set_view_quick_save_allowed( abap_true ).

2. Is there a standard solution in webdynpro abap to save selct options fields of a form?

Thanks a lot in pevious for help!