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: 

how to provide a single document with BAPI_MATPHYSINV_COUNT

shiz0frenik
Participant
0 Kudos

how to provide a single document with BAPI_MATPHYSINV_COUNT or with similar FM?
when i trying to do it returns me an error.
'Item 001 requires exactly 2 serial numbers for the asset'

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Just provide two records in the table parameter SERIALNUMBERS for the item with quantity 2.

0 Kudos

if I provided 2 serial numbers:
"Item 001 requires exactly 4 serial numbers for the asset."
I think the problem is inside the "items" parameter, it only has one entry when there should be two.
But if they exist, is there another FM that will allow me to play only one record?
Or do I need to add something else to the other parameters 'BAPI_MATPHYSINV_COUNT'