on 07-18-2009 11:29 AM
Hi All,
I am trying to place the Select options in my componet.I am done with the necessary coding.
when i execute my componet its throwing the error text: 'Could not find attribute SIGN_OPTION_ICON '
in the browser. Plese guide me to eliminate this problem.
Regards,
Jaya rama kumar
Pass result field..
CALL METHOD wd_this->g_handler->add_selection_field
EXPORTING
i_id = 'MATNR'
i_description = 'Enter Material'
IT_RESULT = lt_range .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jaya ,
Can you please provide the code which you are using to initialize the select option .
Are you setting up some default value for some field ?
Regards
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Vivek,
this code i am writing in the method WDDOINIT of Component controller .
data:
lo_cmp_usage type REF TO If_Wd_Component_Usage.
lo_cmp_usage = wd_this->wd_cpuse_sel_opt( ).
if lo_cmp_usage->HAS_ACTIVE_COMPONENT( ) is initial.
lo_cmp_usage->create_component( ).
endif.
* Create the interface control............
data:
lo_interfacecontroller TYPE REF TO iwci_wdr_select_options.
* g_handler TYPE REF TO if_wd_select_options.
lo_interfacecontroller = wd_this->wd_cpifc_sel_opt( ).
wd_this->g_handler = lo_interfacecontroller->INIT_SELECTION_SCREEN( ).
* Now create the range table..............
data:
it_range TYPE REF TO data.
CALL METHOD wd_this->g_handler->create_range_table
EXPORTING
i_typename = 'MATNR'
* i_length =
* i_decimals =
receiving
rt_range_table = it_range.
* Now add the value to the Range table...
CALL METHOD wd_this->g_handler->add_selection_field
EXPORTING
i_id = 'MATNR'
i_description = 'Enter Material'
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.