Thanks Suman,
but I've tested this with new data multiple times. The issue here is that using exactly the same data, I can post data to an Inspection Lot in SE37 but not when running from MII WB. I don't know how the data is processed differently within SAP if it's presented using SE37 or directly from MII.
Does anyone have a suggestion?