Skip to Content

BAPI for Physical Inventory

Hi all,

We arre using the BAPI "BAPI_MATPHYSINV_CREATE_MULT / BAPI_MATPHYSINV_COUNT / BAPI_MATPHYSINV_POSTDIFF for posting of physcial inventory document, counting and posting the differences. Whenever i try to execute these Bapi's fwith certain data, iam getting the error " Physical Inventory document is already active..". I have searched for the document, but it is not available in open status.

One observation is that when we test, iam giving blank qty and try to post the document. By this time, it is giving error message. The next time, when i execute the BAPI's with zero qty, the error is getting appeared.

One more point, i would like to mention that we have grouped the input data by means of plant and storage location. We are unable to find any way out. Can you please let us know the reason for this kind of behaviour and the solution to be implemented.

thanks in advance

Chaitanya Rayaprolu

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 28, 2012 at 12:51 PM

    I dont believe that you get this error message in any of the 3 BAPIs. I guess only in the first, isn't it?

    how did you check if the document is already closed?

    Add a comment
    10|10000 characters needed characters exceeded

    • in general SAP proposes a material only once per fiscal year in an inventory document.

      if you do another MI31 to create a phsical inventory for the same location, the already counted materials will not be proposed.

      you have to click the button in the middle of selection screen to activly tell SAP to include already counted materials.

      these are the materials that you up as reactivated.

      All the information popping up is retrieved from IKPF and ISEG table. so it should be relativly easy to identify which indicator is different from other inventory documents.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.