Hi ,
First check for Clear workareas , refresh of tables that your passing to FM in the loop ,
Check the return table for any error ,
are u calling SAVE and Commit BAPI's in loop ? .
If still you have any issue Please post your code here so that we may have a look .
Regards .
Praveen