Dear Raj,
Case 1:
Hope SES is accepted through Release procedure.
Go to ML85 & give the relevant release code, then tick the cancel release, select the accepted indicator then execute. Find your appropriate SES number and do the cancel process. This will automatically cancel the material document.
Case 2:
In case of no release procedure. Go to ML81N, select it to change option (by clicking the pencil option) and do the cancel.
Thanks
PB