cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Select-option to Function Module

Former Member
0 Kudos

Hi ,

I want to pass a select-option directly to the function Module tables parameter . Can anyone highlight on how i can declare the table in Function module side .

Thanks & Regards,

Raj

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

You can do it inserting the tables without a reference.

For examples:

- Function interface, tables TAB:

SO_LIFNR

- Top include:

RANGES R_LIFNR.

- Funcion code

R_LIFNR[] = SO_LIFNR[].

Max

Former Member
0 Kudos

Hi.

In the TABLES tab of the specific FM ,

give the parameter name ( which u have defined as Select options ). Since select options is like an Internal Table with values sign,option,low and high , u can give it here.

Also give the ref. type and type specification.

Pl try this.

Thanks,

Maheshwari.V

Former Member
0 Kudos

You can also use structure RSPARAMS.

Former Member
0 Kudos

Declare the table as of structure SELOPT in function module.

Hope this helps.