‎2007 Jun 07 10:47 AM
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
‎2007 Jun 07 12:03 PM
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
‎2007 Jun 07 12:03 PM
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