Hi,
If the the issue is with a particular contract only, the user might have manually entered the line item number as 30 after 10, while creating the contract. In this case, you can manually enter a new item number as 20 and maintain the material and other details.
If you are getting the same sequence even when creating new contract in ME31K, revert back with the screenshot.
Regards,
AKPT