on 12-13-2011 1:54 PM
Hi Experts,
For a standard webdynpro object I have created a new z component configuration by copying from existing one. In the standard there are already 2 existing component configuration.
This webdynpro does not have any application created so I am not able to directly assign this component configuration.
During run time in portal when I view the properties I can see a application for this webdynpro component and the standard component configuration being used.
My question is how to use the z component configuration I have created in the webdynpro?
Hi Srinivas
I researched your problem. I hope the below code helps you. You could add the below code to wddoinit.
DATA: lo_api_controller TYPE REF TO if_wd_component,
lo_pers_manager TYPE REF TO if_wd_personalization,
ls_config_key TYPE wdy_config_key.
lo_api_controller = wd_comp_controller->wd_get_api( ).
lo_pers_manager = lo_api_controller->get_personalization_manager( ).
ls_config_key-config_id = 'ZTEST' .
lo_pers_manager->load_config_by_key( ls_config_key ).
Regards
Lorraine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.