12-12-2008 1:35 PM
Hi,
Please suggest me a BAPI or function module to delete the Physical Inventory Document.
Thanks in advance!!
12-12-2008 2:05 PM
There is no BAPI for that, read OSS [Note 849742 - Delete physical inventory documents: Mass processing|https://service.sap.com/sap/support/notes/849742].
In the standard version, you can only delete inventory documents individually using Transaction MI02. A mass transaction or BAPI currently does not exist, and none is currently planned.
Regards
12-12-2008 2:11 PM
I guess Transaction MI32 may serve your purpose, as If we blocks materials during a physical inventory.
Read the Program Document first if it suitable for you.
Before doing this first you need to change the counter for item.Because Prerequisite for blocking a material is that the material is contained in a physical inventory document but has not been counted yet.
For changing the count refer these Document:
http://help.sap.com/saphelp_45B/helpdata/en/35/b0e8a587a62488e10000009b38f9b7/content.htm
PS:But i think the best solution would be with BDC or LSMW for MI01 transaction.