on 04-20-2011 12:09 PM
Hello, I am developing a webdynpro abap screen, with some fields with search helps.
When I select for ex. the city, from the search help, it shows the city code in the input field, I wanted to add a label next to the input field, with the name of the city. How can I do this?
Thank you,
Mario
Hi Mário,
Add one attribute in your context node type string. In your wdmodify view based on the value selected in your search help ( i.e. city code ) set the value of this attribute with proper name of the city.
Now in your layout add a label beside your search help. Select the label for your input field and add the test property of this with the new attribute added in your node. It will display your requirement.
Reply in case of any issue.
Regards,
Monishankar C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mario,
You have to create OVS search help. in phase 3 try like this..
when if_wd_ovs=>co_phase_3.
if ovs_callback_object->selection is not bound.
TODO exception handling
endif.
assign ovs_callback_object->selection->* to <ls_selection>.
if <ls_selection> is assigned.
ovs_callback_object->context_element->set_attribute(
name = `ZZNMVGR5`
value = <ls_selection>-zznmvgr5 ).
ovs_callback_object->context_element->set_attribute(
name = `TV_PRODUCTVODE`
value = <ls_selection>-TV_PRODUCTVODE ).
endif.
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
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.