/SCWM/TO_CREATE_WHR Create Putaway Warehouse Task for inbound delivery

1 week ago 3

Hi Experts, 

I person a occupation erstwhile utilizing FM /SCWM/TO_CREATE_WHR for creating Putaway warehouse task. 

Scenario is similar below

  1. There's an inbound transportation which has 1 point but this point is packed successful the >1 HU (in my case, there're 2 HUs, each HU stored successful the antithetic Bin and there's a regularisation that 1 Bin couldn't person much than 1 HU).
  2. I lone filled this 6 parameters to IT_CREATE_WHR. This is moving good for 1 HU for 1 delivery.  
<ls_create_whr_putaway>-rdoccat "(Inbound Delivery Doc Cat) <ls_create_whr_putaway>-rdocid "(Inbound Delivery Doc ID) <ls_create_whr_putaway>-ritmid "(Inbound Delivery Item ID) <ls_create_whr_putaway>-nlpla "(Target S.Bin) <ls_create_whr_putaway>-nltyp "(Target S.Type) <ls_create_whr_putaway>-nlber ​ "(Target HU) CALL FUNCTION '/SCWM/TO_CREATE_WHR' EXPORTING iv_lgnum = '0100' iv_process = wmegc_whr_proc_pu iv_to_init = 'X' iv_bname = sy-uname it_create_whr = lt_create_putaway_single iv_update_task = ' ' iv_commit_work = abap_true IMPORTING ev_tanum = lv_wt_result et_ltap_vb = lt_ltap_vb et_bapiret = lt_bapiret ev_severity = lv_severity.

However, it doesn't worked for the lawsuit which 1 transportation point has much than 1 HU, which each HU has stored successful the antithetic bin.


The mistake is:
No mixed retention permitted successful retention benignant WH00. Maximum 1 HU per bin.

  • I've cheque the selected bin that passed to the FM are empty.

anyone person an thought which parameter that I mightiness request to maintain, successful bid to make a putaway warehouse task for each HU?

Thanks!
Fanuel

Read Entire Article