on 05-16-2013 12:48 PM
Hi,
I have a requirement,based on drop down values of field 1 ,dictinary search help associated to field2 should be changed.
for example,field1 has USER ,position etc as the drop down values,if they select user in the drop down field2 search help should be assigned as 'IBO_SEARCH_USER'.if they select position then search help for field2 should be 'ZSRCH_HLP'.
Thanks In advance..
Vasavi.
Dear Vasavi,
Please use below code to change the dictinary search help associated to field2.
DATA lo_nd_mara TYPE REF TO if_wd_context_node.
DATA lo_nd_mara_info TYPE REF TO if_wd_context_node_info.
DATA lo_el_mara TYPE REF TO if_wd_context_element.
DATA ls_mara TYPE wd_this->element_mara.
DATA lv_mtart TYPE wd_this->element_mara-mtart.
* navigate from <CONTEXT> to <MARA> via lead selection
lo_nd_mara = wd_context->get_child_node( name = wd_this->wdctx_mara ).
lo_nd_mara_info = lo_nd_mara->get_node_info( ).
lo_nd_mara_info->set_attribute_value_help(
name = `MTART`
value_help_mode = 121
value_help = 'ZMTART' ).
Here Mara is node and MTATR is an attribute and ZMTART is an Search help and 121 refers DDIC serch help
Regards,
Mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karnam,
Yes it is possible to assign a dynamic search in FPM.
For that you have to configure your screen with GET_DEFAULT_CONFIG method of your feeder class.
Then from the field 1 you have to fire an event and then you have set the value of that in global attribute and you need to remove and add the same configuration again with differnt instance.
Note : Your configuration shuould be blank.Otherwise it will not display anything.
Thanks
Praveen GUpta
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.