on 12-29-2011 5:49 AM
Hi ,
I have created one WD component as value F4 help to use into another component's select option. I am able to use this component in the Input Field UI element by selecting free programming as input help mode and name of this component used as input help component usage . I dont know how to pass this component in select option . can any one help me please to do this functionality.
Thanks ,
Aashish
Hi AASHISH,
Just check if this code helps u.
CALL METHOD wd_this->m_handler->add_selection_field
EXPORTING
i_id = 'VBELN' "SEARCH HELP FIELD
* i_obligatory = abap_true
i_value_help_type = if_wd_value_help_handler=>co_prefix_searchhelp
i_value_help_id = '/KYK/H_VBELN' "SEARCH HELP NAME
* i_value_help_structure = 'VBUK'
* i_value_help_structure_field = 'VBELN'
it_result = t_range. "CREATED RANGE TABLE FOR THAT FIELD
* i_read_only = v_read_only.
Thanks,
Sindhu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have not tried them out please check it -
IN IF_WD_SELECT_OTPIONS~ADD_SELECTION_FIELD parameters list
I_VALUE_HELP_TYPE Importing Like IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_NONE
I_VALUE_HELP_ID Importing Type WDY_VALUE_HELP_ID
I_VALUE_HELP_MODE Importing Type WDY_MD_VALUE_HELP_MODE_ENUM
I_VALUE_HELP_STRUCTURE Importing Type DDOBJNAME
I_VALUE_HELP_STRUCTURE_FIELD Importing Type FIELDNAME
I_HELP_REQUEST_HANDLER Importing Type Ref To OBJECT
we have to use them -
pass the FVS type to I_VALUE_HELP_TYPE = IF_WD_VALUE_HELP_HANDLER=>CO_VH_TYPE_BACKEND (check for teh other attributes in IF_WD_VALUE_HELP_HANDLER) or IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_APPLDEV
to this I_VALUE_HELP_ID i think we have to either pass the FVS comp usage name or FVS webdynpro component name
I guess this is also used I_HELP_REQUEST_HANDLER - i think we need to pass the object reference of FVS or somethihg like that..
Make sure you given them in CAPS for these parameters.
Just try them out....Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.