Hi,
May I know why you need a restriction for CANCELLATION. If the user mistakenly posted the wrong quantity / wrong item, what will be the approach?
Standard SAP wont restrict cancellation if there is sufficient stock in the stock type and storage location. This is because cancellation is meant for correcting wrong data entry / posting.
Regards,
AKPT