Quantcast
Channel: SCN : All Content - ABAP Connectivity
Viewing all articles
Browse latest Browse all 1442

Errors from BAPI_MATPHYSINV_COUNT

$
0
0

Hello All,

 

My current requirement is to create a z-program with similar functionality to that of MI04.  The user needs to do counts on materials with multiple serial numbers (in some cases 30,000).  MI04 restricts the user to 19 serial numbers, they are unable to copy and paste from an excel or text document with all the serial numbers. 

 

I have created the program and used BAPI_MATPHYSINV_CREATE to make the inventory document.  I then pass the inventory document and appropriate item information to BAPI_MATPHYSINV_COUNT along with the list of serial numbers for that material.  I am getting 2 errors in the Return table:

 

1) No data changed.

2) Item requires exactly                                  # serial numbers for the asset.

 

I have searched not only this site but others trying to find similar issues or documentation on the BAPI and so far have come up with nothing. Does anyone have any insight on this?  Or dealt with an issue similar?

 

I appreciate any help you can provide.

 

Regards,

 

C


Viewing all articles
Browse latest Browse all 1442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>