‎2007 May 10 6:45 AM
hey i am facing a problem to pass the parameters to function module.let me explain.. we cant pass the parameters which we are using in the select option statements directly to a function module called...i just wanna know if there is any way so that i can pass those values to a fnc module while passing it from select options
‎2007 May 10 7:37 AM
hi,
you have to use loop at s_lifnr.
call your Fm.
pass s_lifnr-low.
endloop.
‎2007 May 10 6:53 AM
Hi,
You have to create a table type in SE11..
Check this sample table type PDSMAINT_MATNR_RNG_T...
Then use that table type in the importing parameter of FM..
PT_MATNR TYPE PDSMAINT_MATNR_RNG_T..
For which field you have created select-options..I will check if there is any existing table type in se11..
Thanks,
Naren
‎2007 May 10 6:54 AM
Hi,
since select option are itself as internal table so either pass the low or high value of select option or use loop at the internal table nad use FM in the loop.
Regards,
Sonika
‎2007 May 10 7:37 AM
hi,
you have to use loop at s_lifnr.
call your Fm.
pass s_lifnr-low.
endloop.
‎2007 May 10 7:43 AM
hey could jst tell me in detail the method i dint get u... i am very new to abap world