on 04-29-2012 7:54 PM
Hi,
Is it possible to create multiple views in the component for the freely programmed provider i.e i have multiple input fields for which i need to create freely programmed search help. Each input field will have different search criteria so is it possible to map these to different views in the main freely programmed provider component. Or do i need to create individual component for each field.
Thanks
Kshamatha
Kshamatha,
It is possible by identifying from which field you are taking help. Based on that we can show the corresponding view on Help Window. To capture help field name please refer the below document. there is no hard-coding while reading attribute value & as well setting attribute value.
on above document go to page no. 8.. you can find how to get help atttibute name.
lv_attrib_name = lo_listener->f4_attribute_info-name.
You can compare in help navigation from which attribute help is triggered.
if lv_attrib_name = 'MATNR'.
<<<< do something >>> / <<< display View1 >>>>>
elseif lv_attrib_name = 'MATNR1'.
<<<< do something >>> / <<< display View1 >>>>>
elseif ..... and so on
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
http://www.saptechnical.com/Tutorials/WebDynproABAP/Search/Page2.htm
I think this link will help you to solve your problem.
Regards
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.