cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for Physical Inventory

former_member680448
Participant
0 Kudos

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       

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

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?

former_member680448
Participant
0 Kudos

Hi Jurgen,

When i checked the status of the Physical Inventory documents for that material and plant, they all are showing "Counted / Adjusted". But in MI23, the same material has status "active", but unable to retrieve the phy inv document.

We found one OSS note, but it is only temporary solution. Dowe have any permanent solution for this.   

thanks & regards

Chaitanya Rayaprou 

JL23
Active Contributor
0 Kudos

which OSS note with a temporary solution did you find?

Have you tried finding the active documents using MI22 or MIDO?

former_member680448
Participant
0 Kudos

Hi,

Oss NOte no: 67072 is helpful in correcting the Physical Inventory indicator. I have gone through the reports MIDO and MI23, both are showing the Physical Inventory status is active for my material. Hence I have verified the status of each document for my material. All have shown "Counted/Adjusted".  

Especially the report MIDO is showing the status A_D (which indicates Phy Inv reactivated). Can you please tell me, whether there is chance of reactivation of Physical Inventory. If it so, in which scenario it will happen. 

   

thanks & regards

Chaitanya Rayaprolu

JL23
Active Contributor
0 Kudos

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 Acc.to.Stock 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.

Answers (0)