Hi,
I've checked on of our programs running on production system. There we have one SELECT into an internal table.
We have a DO loop to get the next n entries from the internal table into an internal package table.
And after each remote function call using the internal package table we have a COMMIT WORK.
In your program you can have only one COMMIT WORK, because you are in a SELECT ENDSELECT loop.
I would suggest to change your program logic to avoid sending rfc calls in SELECT ENDSELECT LOOP without COMMIT WORK..
Regards,
Klaus