‎2009 Apr 10 1:00 PM
Hi all,
Is there a function module which can be called to create a Select-Options Table for a given input field value. For example, if the user enters the value ABC, then a line must be added to an select-options table like I(Sign) CP(Option) ABC(Low), but if the value ABCDE is entered in the input field, then a line must be added to the select-options table I(Sign) EQ(Option) ABCDE(Low). Thanks.
Kind Regards,
Sukru
‎2009 Apr 10 2:23 PM
Did not find any function module to that !
But what you can do is do it in your program
SELECT-OPTIONS: s_so for <type>.
perform select_op using <your value> tables s_so. " Do this for the required values...
Form select_op using value tables s_so.
s_so-sign = 'I'.
s_so-option = 'BT'.
s_so-low = value.
s_so-high = ' '.
append s_so.
endform.
call this form using all your values and you will be ready with your select options.
Regards,
Lalit Mohan Gupta.