Hi,
Create a function module.
Put all the inputs that you are passing to the program as input and put depreciation areas as select-options.
LOOP AT DEPRECIATION_AREAS.
submit rabest_alv01 using selection-screen '1000'
with bukrs = p_bukrs
with ANLAGE IN s_anln1
with BEREICH1 = s_afabe
with BERDATUM = p_rptdat
Append all values into a internal table.
ENDLOOP.
you can use this internal table in your program.
Thanks,
Tooshar Bendale