Skip to Content
0
Former Member
Nov 05, 2009 at 03:20 PM

How to Pass Select-options Single values as Parameter value to Method ?

43 Views

Hi Friends,

I need to pass select-options values(single values) for s_arbpl to the method "process_percent_planned". Now all single values are in internal table s_arbpl-low field. I need to pass this internal table(s_arbpl-low) values to the method where i will run query based on these single values.In my below code i am passing value through variable w_arbpl. I have defined this parameter in the method.But here only one value is passed to method. I want multiple single values (in s_arbpl-low) should be passed. Please let me know how to correct code.

Tables: crhd.

Data: ktext type auftext,

w_arbpl type arbpl.

select-options: s_arbpl for crhd-arbpl.

ktext = 'Test'

create object obj_plan.

call method obj_plan->process_percent_planned

exporting

ktext = ktext

w_arbpl = s_arbpl-low.

Thanks