I would like to create a select option with a field 'Order group' (data element AUFGR). As input help I want to use another Web Dynpro component which is provided by SAP: K_GROUP_SELECT. So I did the following steps:
I defined the component usage of the select option and of the input help in the web dynpro component and in the view.
During initialization of the select option I added this coding
wd_this->mo_selopt->add_parameter_field( i_id = 'AUFGR' i_value = lo_data i_value_help_type = if_wd_value_help_handler=>co_prefix_appldev i_value_help_id = 'SHELP' ).
'SHELP' is the name that I entered for the component use of the mentioned input help.
The select option works fine, but as soon as I press the button for the input help, I am getting a short dump. The error message is "Component usage SHELP does not exist". But I checked that the component usage is defined correctly.
Any ideas what I am missing here?