In MIGO transaction, choose the Return Delivery option, enter the material document number, which you got at the time of goods issue, then in the qty field change the qty from 5 to 2 then post the document.
You need not to cancel the whole document for returning the material.
If you dont have the material document number, which was generated at the time of goods issue, please check in the transaction MB51 for the material and movement type.
Praveen
Add a comment