RELEASE PRODUCT-Replace Variant's with New Code's

Hi,

I would like to know the procedure to replace Variant’s for the item in to New Item code’s with out variant .

Need to replace the new code where ever it’s used (Purchase Line,BOM,Agreement Line ) .

Kindly advise .

Thanks

Raj