Hi Raj,
You can cancel partial quantity in an HU using repack HU option available in the transaction. For example, you can repack 50 items in another HU and then release the stock for the original HU which will now be remaining with only 50 CS.
Regards,
Namita