Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Suggest BAPI or function module to delete the Physical Inventory Document

Former Member
0 Kudos

Hi,

Please suggest me a BAPI or function module to delete the Physical Inventory Document.

Thanks in advance!!

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

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

former_member181995
Active Contributor
0 Kudos

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.