Hi
What do you mean by second loop.
As you said you first sending a request and after getting response from ERP it seems some fields are getting updated here.
in you beforesave you can write logic like
var temp = Context.GetCurrentIdentityUUID();
if(!temp.IsInitial()){
trigger the webservice to update ERP
}
Regards
Sunil