Application Development and Automation 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: 
Read only

Function to create WM inventory at Material level

FredericGirod
Active Contributor
0 Likes
2,381

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
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
2,319

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

Read only

FredericGirod
Active Contributor
0 Likes
2,319

Thanks 3a9e4ce873a94034b33dc62b0ce600ee for your answer

I think at Storage bin level it could works

Do you know how to do it ?

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes
2,319

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.

Read only

FredericGirod
Active Contributor
0 Likes
2,319

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

Read only

FredericGirod
Active Contributor
0 Likes
2,319

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

thanks

Fred