on 12-10-2013 10:06 AM
Hi,
I use the following code to assign a search help to a select option. But an error says,
******************************************************************************************************************************
WD_THIS->VMA_SC_HANDLER->ADD_SELECTION_FIELD( I_ID = 'SO_MMAT'
I_IS_AUTO_DESCRIPTION = ABAP_TRUE
I_OBLIGATORY = ABAP_TRUE
IT_RESULT = LR_MAT_RANGE
I_VALUE_HELP_TYPE = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_NONE
I_VALUE_HELP_ID = 'Z_MAT'
).
*****************************************************************************************************************************
If parameters I_VALUE_HELP_TYPE and I_VALUE_HELP_ID are hidden, the program runs smoothly.
How can I fix the error?
Best regards,
ts
Hi,
In your code you are passing value help type as None( I_VALUE_HELP_TYPE =IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_NONE) and you are expecting a search help!
Use, I_VALUE_HELP_TYPE = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_SEARCHHELP ( OR APPLDEV) and try.
OR you can simply pass the search help structure and field name.
Hope this helps u,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.