Hi Manoj,
There are two options to achieve this,
1) As you did first record 'all' the screens in EL37 - here in the second screen there is an option to 'Select All' and then click reverse - this will make sure you recording will always select all the open MR. Now there could be additional screen depending on the nature of the Installation in that case please identify those and have them recorded separately so that now you will have two sets of Installations.
2) If possible write new ABAP program to use similar to that of what EL37 uses:
submit releabl8
with ableinh in ableinh
with vertrag = vertrag
with anlage = anlage
with geraet = geraet
with ablesgr = ablesgr
with equnr = equnr
with adatsoll in adatsoll
with ams in ams
with trstat in trstat
with trstat_i in trstat_i " note 1928424
with trdate in trdate
with trtime in trtime
with process = f_process
with etrg_all = etrg_all
with timevar = ' '
and return.
Hope this helps.
Thanks,
Srini