In SPRO or T code OIS2 Create a serial number profile.
Assign Internal or external Serial Number.
1. Activate Serial number profile in Material master in sales view.
2. In QM view against 01 inspection type activate Serial Number.
During GR depending upon configuration System will prompt for Serial Numbers which will be copied to Inspection lot.