Hi, Vijay:
Try user exit for picking strategy.
IMG: WM - Storage type --> mark storage type as "user exit for picking is active"
Trans. SE38 --> program ZXLTOU07
(data declaration)
data: wa_lqua type lqua.
data: wa_lqua_vb type lqua_vb.
data: ilqua type lqua occurs 0 with header line.
Get relevant data from structures I_LTAK (TO header) and I_LTAP (TO item) --> material, plant, st.loc, etc.
Then search for relevant quants in LQUA table:
" sample code
select * from lqua into wa_lqua where
matnr eq i_ltap-matnr and
lgnum eq i_ltap-lgnum and
werks eq i_ltap-werks and
lgort eq i_ltap-lgort and
skzua ne 'X' and
verme eq 50. "quantity must be 50 pcs
" move to internal table of relevant quants
move-corresponding wa_lqua to wa_lqua_vb. | ||
append wa_lqua_vb to t_qmat. |
" if no such quant exists - means no full pallete avaialble for picking 50 pcs --> proceede to the storage type for partial picking and do similar ....
Best regards,
Primoz