cancel
Showing results for 
Search instead for 
Did you mean: 

problem in select-options

Former Member
0 Kudos

I am not able to see my view element container containing my select options in the webpage although it shows in my view.

The code used by me in the doinit method is

METHOD wddoinit .

DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.

lo_cmp_usage = wd_this->wd_cpuse_select_options( ).

IF lo_cmp_usage->has_active_component( ) IS INITIAL.

lo_cmp_usage->create_component( ).

ENDIF.

DATA lo_interfacecontroller TYPE REF TO iwci_wdr_select_options .

lo_interfacecontroller = wd_this->wd_cpifc_select_options( ).

DATA lo_r_helper_class TYPE REF TO if_wd_select_options.

lo_r_helper_class = lo_interfacecontroller->init_selection_screen(

).

DATA lo_r_helperclass TYPE REF TO if_wd_select_options.

lo_r_helperclass = lo_interfacecontroller->init_selection_screen(

).

DATA lt_range TYPE REF TO data.

CALL METHOD lo_r_helperclass->create_range_table

EXPORTING

i_typename = 'VBELN'

RECEIVING

rt_range_table = lt_range.

CALL METHOD lo_r_helperclass->set_global_options

EXPORTING

i_display_btn_cancel = ABAP_FALSE

i_display_btn_check = ABAP_FALSE

i_display_btn_reset = ABAP_FALSE

i_display_btn_execute = ABAP_FALSE.

CALL METHOD lo_r_helperclass->add_selection_field

EXPORTING

i_id = 'VBELN'

it_result = lt_range

i_obligatory = abap_true

i_value_help_type = if_wd_value_help_handler=>co_prefix_none

i_value_help_id = 'VMVA'.

ENDMETHOD.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Have you embededd teh view of the select option's comp respective WIND*view inside the view container element.

Edited by: Lekha on Dec 21, 2011 6:16 PM

Former Member
0 Kudos

i have done that but still the select option is not visible.

Former Member
0 Kudos

Have you given any width settings....or check the VCU (view container elemnt) visible property..

Former Member
0 Kudos

Thanks for your suggestion,now its working problem solved.