Skip to Content
author's profile photo Former Member
Former Member

WDA select-options value help configuration

Hello,

I would like to configure the value help in the select-options component in WebDynpro ABAP. I used the parameter I_VALUE_HELP_TYPE of the method ADD_SELECTION_FIELD, but I didn't know how to pass a correct value for this parameter. Could someone give me an example with coding? That would be great! Thanks in advance.

Regards,

Georg

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2006 at 09:55 AM

    Hi,

    you can pass values to this parameter like this:

    i_value_help_type = if_wd_value_help_handler=>co_prefix_none 'default value
    
    *You can also pass any of the atributes of the interface 
    *if_wd_value_help_handler. Open this interface in SE37 and check out the available attributes.
    

    By the way, isn't this parameter optional?

    Regards,

    Satyajit.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2006 at 10:51 AM

    Hi,

    see component WDR_TEST_SELECT_OPTIONS (and WDR_SELECT_OPTIONS) in the system.

    Regards, Heidi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 06, 2008 at 03:35 AM

    For those of you who, like me, get a screen full of OTR keys on the buttons and tabs, the answer is on the first tab, 6th button. Note that it is based on SPFLI, so the expected linkage between CARRID and CONNID does not happen.

    The code is in MAIN_VIEW method ONACTIONON_CRS_FLD_F4_CASES.

    The essence of it is:

    wd_this->m_handler->add_selection_field(

    i_id = CARRID

    it_result = lt_range_table

    i_value_help_structure = 'SFLIGHT'

    i_value_help_structure_field = "CARRID ).

    wd_this->m_handler->add_selection_field(

    i_id = CONNID

    it_result = lt_range_table

    i_value_help_structure = 'SFLIGHT'

    i_value_help_structure_field = "CONNID ).

    The result is that you select the CARRID, and that restricts the CONNIDs.

    I have used SFLIGHT because it will give linked search helps for CARRID and CONNID. It works with parameters too, but remember GET_PARAMETER_FIELD is not currently implemented (it exists, but contains no code, so your program will seem to work, but it won't) , so use GET_PARAMETER_FIELDS which does work.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.