Hi,
The reason is clearly explained in the message text. You can not directly cancel the material document, since its automatic movement. If its a material doc created from delivery, cancel it through VL09 and so on.
If its not clear, revert back with the movement type in the material doc.
Regards,
AKPT