Hello Siva,
I checked in my system, and I'm able to change the material code in sales order having only proforma invoice (no matter completed or not).
In your case, does the order have any other subsequent documents ? Please check the document flow.
If it has only proforma invoice, please run transaction VTFA and check at item level the content of field PLMIN - Pos./neg.
Best regards,
Ivano.