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

Select Options to RFC function modules

Former Member
0 Likes
1,338

Hi all

When we use a PERFORM in main program, we can simply use the select-options

as for ex.,

in so_matnr

in so_bsart

like that

without passing any parameters.

This way it will take all values given in 'Single values' in the multiple selection option of selection screen.

We need not bother about so_matnr-low and so_matnr-high.

When we use a function module to be executed in another R/3 server ,

we have to pass values. In these values we can pass so_matnr-low and so_matnr-high only. If the user selects Single Vals instead of these,

how to pass them?

Regards

Vijaya Chamundi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
651

Hi,

so_matnr is stored as a table, with fields sign, option, low and high.

Each time you add a single value, a line is added to the table.

If you add 'single value' 1 in the selection screen, then a line is added to table so_matnr[] with fields sign='I', option='EQ' and low='00000..1' and high is empty.

So, if you want to pass it as a parameter, you can pass it as a table:

so_matnr[]

In this way you are sure you have all the information you need.

regards,

Rolf

1 REPLY 1
Read only

Former Member
0 Likes
652

Hi,

so_matnr is stored as a table, with fields sign, option, low and high.

Each time you add a single value, a line is added to the table.

If you add 'single value' 1 in the selection screen, then a line is added to table so_matnr[] with fields sign='I', option='EQ' and low='00000..1' and high is empty.

So, if you want to pass it as a parameter, you can pass it as a table:

so_matnr[]

In this way you are sure you have all the information you need.

regards,

Rolf