cancel
Showing results for 
Search instead for 
Did you mean: 

Error ' Component Usage SELECT_OPTIONS Does Not Have an Active Component '

Former Member
0 Kudos

Hi

I am using Select option feature in screen .Can anyone help me in knowing why i am gettin the error mentioned above and also i need to know how in the screen the range fields with label get displayed.

Thanks

Dhiraj

Accepted Solutions (0)

Answers (2)

Answers (2)

Madhu2004
Active Contributor
0 Kudos

Hai Dhiraj,

1)First you need to create the componenet usage in the main component and also in the controller in which you are using the component.e.g view controller.

2)you need to instantiate the component used,

this can be done by going to code wizard and then you can select the radio button,

Instantiate the radio button.

3)next call the method and coding for it follows.

i hope this will help you.

bye.

Former Member
0 Kudos

Hi,

is your component usage well defined?

<a href="/people/rich.heilman2/blog/2005/12/20/using-select-options-in-a-web-dynproabap-application:///people/rich.heilman2/blog/2005/12/20/using-select-options-in-a-web-dynproabap-application

and

<a href="/people/koen.labie2/blog/2006/11/17/custom-f4-functionality-in-webdynpro-for-abap:///people/koen.labie2/blog/2006/11/17/custom-f4-functionality-in-webdynpro-for-abap

deal with select options

grtz

Koen

Former Member
0 Kudos

Hi Koen,

I have defined the component usage but then also its showing the same error message.

Thanks

Dhiraj

Former Member
0 Kudos

Hi,

have you followed guidelines like this:

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/496ad66c601349a730502d3ea26e05/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/496ad66c601349a730502d3ea26e05/frameset.htm</a>?

you should implement the component both in your application as in your view

grtz

Koen

Message was edited by:

Koen Labie

Former Member
0 Kudos

Hi.

Did you create an instance of your component?

* init selct options component for usage.
  l_ref_cmp_usage =   wd_this->wd_cpuse_select_options( ).
  IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
    l_ref_cmp_usage->create_component( ).
  ENDIF.

Cheers,

Sascha

former_member196517
Contributor
0 Kudos

Hi Dhiraj,

You have to create a usage of your select option component in WDOINIT method as mentioned..

thanks

Anuj