Check this thread where similar discussion had taken place
Enhancement IQSM0001 Automatic serial number assignment
If that does not helps, then you have to make an attempt with delivery exit USEREXIT_READ_DOCUMENT in the program MV50AFZ1
G. Lakshmipathi