‎2007 May 29 1:46 PM
Hi friends.
HOW DO U PASS A SELECT-OPTIONS PARAMTER TO A FUNCTION MODULE AS ITS IMPORT PARAMETER(IN MY CASE rfc fM) .
Really urgent!!!
thanks to one and all
‎2007 May 29 1:48 PM
Hi
Pass as a TABLES parameter
using the Structure <b>wselkunnr</b>
because select options create a selection table which is similar to this structure.
Reward points if useful
Regards
Anji
‎2007 May 29 1:49 PM
hi,
declare the range statement and pass it to the tables in FM
thanks.
‎2007 May 29 1:55 PM
Hi..
u can try by declaring two variables like one for selopt-low and second for selopt-high in import parameters.then give the condition like between the two variables.
Thanks,
Kamal
‎2007 May 29 2:08 PM
Hi,
If you are passing a single value, its better you take it from s_option-low or s_option-high (select options).
Else if you are passing values to the FM in a loop for all select option values, then better you declare an internal table with type <b>WSELKUNNR</b>.
get low & high fields from each row & pass them.
It will make you clear when you check out your select options in debug mode by entering different combinations of inputs.