Skip to Content
avatar image
Former Member

Get Values from Value Help in Webdynpro

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 26, 2008 at 10:49 AM

    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

                  Add comment
                  10|10000 characters needed characters exceeded

                  • Former Member Former Member

                    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.

                • avatar image
                  Former Member
                  Nov 26, 2008 at 10:44 AM

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

                  KK

                  Add comment
                  10|10000 characters needed characters exceeded

                • avatar image
                  Former Member
                  Nov 27, 2008 at 09:19 AM

                  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

                  Add comment
                  10|10000 characters needed characters exceeded