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: 

Function to create WM inventory at Material level

FredericGirod
Active Contributor
0 Kudos

Hi,

I am searching a way to create a WM inventory AT MATERIAL level.

When I am trying to use the function L_INV_DOC_CREATE it doesn't work because it tries to get a new inventory number using the field T340d-NUKIQ, but this field is used for inventory at Quant level. I need a Function or a class that will find the number with T340d-NUKIV

Best regards

Fred

5 REPLIES 5

DominikTylczyn
Active Contributor

As far as I know LE-WM doesn't support physical inventory on material level. It's either storage bin or quant level.

FredericGirod
Active Contributor
0 Kudos

Thanks 3a9e4ce873a94034b33dc62b0ce600ee for your answer

I think at Storage bin level it could works

Do you know how to do it ?

DominikTylczyn
Active Contributor
0 Kudos

frdric.girod

I think that if you call the function providing a list of storage bins to be counted in the IT_LAGP and with IT_LQUA empty, then the physical inventory document will be on the bin level.

I have not tested that - the conclusion is just from looking at the function ABAP code.

FredericGirod
Active Contributor
0 Kudos

I just tried, it still try to access the interval of the range number using NUKIQ

FredericGirod
Active Contributor
0 Kudos

dominik-tylczynski Could you set your first comment as answer ?

thanks

Fred