Sometimes it gives error so its better to follow this process
If for a STO ---->Outbound Delivery---->Picking---->Post Goods Issue--->Goods Receipt for STO is done
1.Reverse the GR ---->Tcode MBST--->Give the Material Doc enter and click on save.
2.Reverse Goods Issue--->Tcode VL09