Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HOW TO PASS SELECT-OPTIONS PARAMETER TO A FUNCTION MODULE.

Former Member
0 Likes
1,289

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

4 REPLIES 4
Read only

Former Member
0 Likes
657

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

Read only

Former Member
0 Likes
657

hi,

declare the range statement and pass it to the tables in FM

thanks.

Read only

Former Member
0 Likes
657

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

Read only

Former Member
0 Likes
657

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.