Hello. Also be careful with the BSFN Mathdivide. We experienced problems similiar to what you are explaining. In our case, the work orders would get updated (CTS1 fields cleared) but not F0911 records created and there was an empty batch header. Edwards told us to upgrade to SP 18.1. Instead, we are going to round the two rpt_variables that are causing the problem.
Regards,