
Issue: Many products are discovered in incorrect storage bins.
In the course of storing items, individuals frequently misplace products into incorrect destination bins. To address this issue, following the system confirming of the putaway warehouse task, it is essential to present the destination bin to the user to which the product was dropped off via a message. Additionally, to ensure user attentiveness and accuracy, manual acknowledgment through pressing a button should be required, thereby disabling the automatic enter function of the RF device when scan button is pressed.
Below video explains - How auto enter works in RF Devices
Solution:
Step 1: Create a new structure:
and add it as a application parameter:
Step 2. Copy one of the RF screen to a new screen 907:
Step 3: Create a new step
Step 4: Create a new function code:
Step 5: Configure the Logical transaction step flow as below
Step 6: In the wrapper function of the warehouse task confirming PAI function module, populate the destination bin where the product was placed into a custom message.
FUNCTION _rf_pt_hu_dest_pai.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" CHANGING
*" REFERENCE(CS_PTWY) TYPE /SCWM/S_RF_PTWY
*" REFERENCE(CS_ADMIN) TYPE /SCWM/S_RF_ADMIN
*" REFERENCE(CT_PTWY) TYPE /SCWM/TT_RF_PTWY
*" REFERENCE(CT_LGPLA) TYPE /SCWM/TT_LGPLA
*" REFERENCE(CT_SERNR) TYPE /SCWM/TT_RF_SERNR
*" REFERENCE(CT_SERNR_DIFF) TYPE /SCWM/TT_RF_SERNR
*" REFERENCE(CS_SN) TYPE /SCWM/S_RF_SN
*" REFERENCE(TT_NESTED_HU) TYPE /SCWM/TT_RF_NESTED_HU
*" REFERENCE(ZCS_CUSTOM_MESSAGE) TYPE ZEWMS_CUSTOM_MESSAGE
*" OPTIONAL
*"----------------------------------------------------------------------
DATA:
lv_fcode TYPE /scwm/de_fcode,
lv_msg1 TYPE symsgv.
DATA:
ls_ptwy TYPE /scwm/s_rf_ptwy_att.
* Get actual function code
CALL METHOD /scwm/cl_rf_bll_srvc=>get_fcode
RECEIVING
rv_fcode = lv_fcode.
MOVE-CORRESPONDING cs_ptwy TO ls_ptwy.
CALL FUNCTION '/SCWM/RF_PT_HU_DEST_PAI'
CHANGING
cs_ptwy = cs_ptwy
cs_admin = cs_admin
ct_ptwy = ct_ptwy
ct_lgpla = ct_lgpla
ct_sernr = ct_sernr
ct_sernr_diff = ct_sernr_diff
cs_sn = cs_sn
tt_nested_hu = tt_nested_hu.
CLEAR zcs_custom_message.
IF lv_fcode = 'ENTER'.
SELECT SINGLE tanum
FROM /scwm/ordim_c
INTO (lv_tanum)
WHERE tanum = _ptwy-tanum.
IF sy-subrc IS INITIAL.
/scwm/cl_rf_bll_srvc=>set_screen_param( iv_param_name = 'ZCS_CUSTOM_MESSAGE' ).
zcs_custom_message-text01 = TEXT-t01. "'Confirm the putaway'.
zcs_custom_message-text02 = TEXT-t02. "'of the product in'.
CONCATENATE TEXT-t03 ls_ptwy-nlpla INTO zcs_custom_message-text03 SEPARATED BY space.
/scwm/cl_rf_bll_srvc=>set_prmod( '2' ).
/scwm/cl_rf_bll_srvc=>set_fcode( 'PBO1' ).
ENDIF.
ELSE.
/scwm/cl_rf_bll_srvc=>set_fcode( 'ZENTER' ).
/scwm/cl_rf_bll_srvc=>set_prmod( '1' ).
ENDIF.
ENDFUNCTION.
Step 7: Create a Function Group and create PBO and PAI functions declared above
PBO: _RF_CUSTOM_MESSAGE_PBO
*-- If changing parameter contain message then execute message display screen else execute in backgound
IF zcs_custom_message-text01 IS INITIAL.
/scwm/cl_rf_bll_srvc=>set_prmod( '1' ).
ELSE.
/scwm/cl_rf_bll_srvc=>set_prmod( '2' ).
ENDIF.
PAI: _RF_CUSTOM_MESSAGE_POST
DATA:
lv_fcode TYPE /scwm/de_fcode.
* Get actual function code
CALL METHOD /scwm/cl_rf_bll_srvc=>get_fcode
RECEIVING
rv_fcode = lv_fcode.
*-- Raise error message if user click on other than Enter key
IF lv_fcode <> 'ZENTER'.
MESSAGE "'Please click on Enter'
ENDIF.
Step 8: add the ZENTER button on the new screen
Step 9: map logical transaction step to sub-screen
OUTPUT:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
14 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |