cancel
Showing results for 
Search instead for 
Did you mean: 

Get Values from Value Help in Webdynpro

Former Member
0 Kudos

I am using the dictionary value help in web dynpro. i get also values. I mark a row and i press ok, but no values are submitted to the input field?

Accepted Solutions (1)

Accepted Solutions (1)

arjun_thakur
Active Contributor
0 Kudos

hi,

try to set the attribute correctly in phase 3:

plz refer to the following code:

ovs_callback_object->set_output_table( output = lt_select_list ).

when if_wd_ovs=>co_phase_3.

  • apply result

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 = `JOB_ID`

value = <ls_selection>-short ).

ovs_callback_object->context_element->set_attribute(

name = `JOB_DESC`

value = <ls_selection>-stext ).

endif.

endcase.

i hope it helps.

regards

arjun

Former Member
0 Kudos

its a custom made search help with an exit.

in the custom search help i have on export parameter...

this one - i guessed should be that what comes up in my input field on selection...?

Former Member
0 Kudos

I don't understand the coding above.

I think my problem is that i customized somthing different in the f4 value help, but i just don't know what.

When I press ok, to submit the data to the input field, the debugger opens and starts the exit of the f4 value help again. but does not deliver any value to the input field.

Former Member
0 Kudos

Does help works in Gui world ok?

KK

Former Member
0 Kudos

Ok, my fault was, that my value help exit starts several times and i refrehed the values at least. i had to implement a case when statement that checks in what case the coding has been called.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi, it is not that OVS thing if you do not use OVS help.

I create own search help (via exit) and it works fine...so i have no idea why does it not work for you...

Do standard ones work ok?

KK

Former Member
0 Kudos

Strange, it should work fine...Is it standard or custom made search help? And is it collective or not?

KK