cancel
Showing results for 
Search instead for 
Did you mean: 

Select-options: Could not find attribute SIGN_OPTION_ICON

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Pass result field..

   CALL METHOD wd_this->g_handler->add_selection_field

     EXPORTING

       i_id                         = 'MATNR'

       i_description                = 'Enter Material'

      IT_RESULT              = lt_range .

Former Member
0 Kudos

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

Former Member
0 Kudos

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'

Former Member
0 Kudos

Hello Jaya,

This seems to be a problem of webdynpro framework . Please try the SAP note 1325903.

Regards

Vivek

Former Member
0 Kudos

hi Vivek,

If i am using the similar code in the View level its working fine.

Regards,

Jaya ram kumar