How can I know that Material Document is cancelled ?

Question: ABAP Experts,

How can I know that a material document is cancelled ?

MKPF nor MSEG has know cancellation flag...

Thanks,

Shay E.

Answer:
Sorry but I can't remember exactly but I think that you will actually have a second material document posted with the opposite movement type to the original document.

e.g. If you originally posted say a 101 movement and then cancelled the document SAP automatically creates a 102 document of the same quantity to cancel it out. The original document isn't cancelled as such.

You can see this my looking at MB51 transaction which will list material movements.

Hope this helps.

Answer:
Cancelled Material Movements Documents cannot be found from the original document, but if you search on MKPF and MSEG with the original document details so that:

MBLNR = SMBLN
MJAHR = SJAHR
ZEILE = SMBLP

You will find the cancellation document number.
_________________
Kind Regards

Rosie Brent

Please remember to search the forum and check the FAQ before posting questions, thank you.

Tuly Idiot most of the time, part-time Guru

Answer:
RosieBrent,

Thanks for the advise. I implemented it as you stated and it works.

Thanks alot.

Shay E.
Copyright ?2007 - 2008 www.jt77.com