Hello All,
I am using the function Module 'WS_DELIVERY_UPDATE' in LOOP to save the deliveries. While testing we found out following issue.
One of the delivery can not be saved due to some error. This error is given in the form of popup. As program runs in bacground, program is not able to handle this popup. So it comes out of the FM.
Now when this FM tries to update next delivery in the loop, it gives the same error(although that delivery is correct). We believe this is happening because internal tables, structure or error logs were not cleared/refreshed in the previous loop pass.
How can I handle this situation? I am not sure if commit, rollback or flush command will work. Please help.
Thanks!
Rohit