cancel
Showing results for 
Search instead for 
Did you mean: 

WDA Parameter Field

Former Member
0 Kudos

Hi,

in my WebDynpro-Application I want to select Business Partners so I created a Selection Screen and add the field.


  CREATE DATA lo_data TYPE (wd_assist->e_selection_fields-partnr).
  ASSIGN lo_data->* TO <fs_any>.
  wd_this->mo_selopt->add_parameter_field( i_id              = wd_assist->e_selection_fields-partnr
                                           i_value           = lo_data
                                           i_read_only       = abap_false
                                           i_obligatory      = abap_true ).

How can I achieve that only values from the table BUT000 were filled in the parameter field.

Greetings

Marcus

Accepted Solutions (0)

Answers (1)

Answers (1)

venkata_ramisetti
Active Contributor
0 Kudos

1. If you want dropdown value help

If you check ADD_PARAMETER_FIELD method definition, ther are two parameters I_AS_DROPDOWN & IT_VALUE_SET. It is possible to show BUT000 values as dropdown values to this parameter field.

2. If you want standard value help

There is an event ON_OVS, you can populate BUT000 values here. Check demo web dynpro program WDR_TEST_SELECT_OPTIONS for more information.

Thanks

Venkata Ramakrishna Ramisetti