Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Propose a Source Storage Unit during Picking

$
0
0

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


Viewing all articles
Browse latest Browse all 8581

Trending Articles



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