DEar Gerold.
TAke a looke at if statement: if release status is required or rejected - issue an error FTR0-203
HEre take a look at LOOP statement, there is additional WHERE selectors - looping at i_tab_dealt select transaction according selectors: ... and if release status is required or rejected.
SO, what to do: either use tr. TI90 or delete Release parameters. Everything is described above. I can not see any other solution because everithing depends on release status.