i am using the following code to submit report.
SUBMIT :rko7co88 USING SELECTION-SET 'ZTEST_PS'
WITH SELECTION-TABLE seltab
WITH perio = v_month
WITH gjahr = v_year
WITH vaart = c_1.
the table seltab is being populated as shown below.
LOOP AT i_aufnr INTO i_aufnr_wa.
seltab_wa-selname = 'AUFNR'.
seltab_wa-sign = 'I'.
seltab_wa-kind = 'S'.
seltab_wa-option = 'EQ'.
seltab_wa-low = i_aufnr_wa-aufnr.
APPEND seltab_wa TO seltab.
but when i run this program it gives a short dump saying program has excceded the maximum time permited.
the problem seems to be with passing table seltab to select option, because when i run the program witout that statemant "WITH SELECTION-TABLE seltab" . it works fine.
in seltab i have selected only open orders which r confirmed, when i run the program without passing seltab it takes all the orders and works fine but according to my requirement i have to run the program for only open orders.
pls suggest the way out.