Skip to Content
0
Former Member
Oct 11, 2010 at 05:11 AM

Problem in MI04 BAPI

454 Views

Dear all,

I am trying to do physical inventory correction.

My program has BAPI's for MI01, MI04 AND MI07.

Bapi for mi01 is executing successfully and creating the document number say 100000399.

then even after bapi_transaction_commit and commit work and wait and wait for 5 seconds.

when it comes to MI04 Bapi it is throwing error

'Document 100000399 does not exist in calendar year 2010'

I know this error will come when document number 100000399 does not exist.

any one has idea about it?

Bapis i am using

BAPI_MATPHYSINV_CREATE for MI01

BAPI_MATPHYSINV_COUNT for MI04.

Regards,

Kiran