on ‎2021 Sep 14 3:18 PM
During WT Confirmation of a product WT onto a HU EWM collects GM data for all ODO related goods-issues that HU was involved in:
I would very much like to know why this (historic) goods movement data is of interest during the confirmation of a pick-WT.
The reason for the question is that we have a warehouse with returnable pallets that have a fixed HUIDENT printed on them, once a HU has been trough the warehouse 20, 30, 40 times we see the time required for product WT confirmations on those HUs increase to unacceptable levels ( > 3 seconds, up to 10 - 15 seconds). The customer retains about one years worth of /SCWM/ORDIMC_C. Despite the large data volumes the queries themselves are fast enough, it is the number of queries that is executed for HUs that have been goods issued many times that ultimately compound to a significant delay in the execution of the WT confirmation.
Any insights will be much appreciated!


Request clarification before answering.
Hi Helios,
it seems like Transit Warehouse functionality. It depends on some flags in the HU. If you are not using Transit Warehouse functionality for Pick HUs you maybe should remove these flags from HU. If you not use Transit Warehouse functionality at all, it could be that HU is created not in a proper way.
ls_huhdr-TWHUTYPE
BR,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniil
Thanks for your reply. I've run a test to double check, TWHUTYPE is initial i.e. not "TR".
The comment in /SCWM/CL_SR_TW_PACKING=>SETUP_PSHU_BY_HU (number 14 in the call stack in my initial post) seems to, sort of, suggest the observed behavior is desired/expected? In any case the reason for loading all past GI Goods Movements for my pick-to HU (and all other HUs goods-issued with the same TANUM) remains elusive...
Best regards
Helios.

Hi Helios,
do you create pick HU during WT confirmation? or is it created in advance? I would expect here return statement for normal Process.
if you do not have it, see OSS Note https://launchpad.support.sap.com/#/notes/2510013
/SCWM/CL_SR_TW_PACKING=>GET_PLANNED_HUS_BY_HU (number 15 in your stack) begins with:
CALL FUNCTION '/SCWM/HU_READ'
EXPORTING
iv_appl = 'WME'
iv_db_select = space
iv_top = abap_true
iv_guid_hu = iv_guid_hu
IMPORTING
es_huhdr = ls_huhdr
EXCEPTIONS
OTHERS = 99.
IF sy-subrc IS INITIAL.
IF ls_huhdr-twhutype IS INITIAL AND ls_huhdr-flgtwext IS INITIAL.
RETURN. "<<<<<<<<<<<<<<<<<<<<<<<<<<
ENDIF.
ENDIF.
Hello Daniil
Thank you very much! That is it, I don't have this coding in our system. Will apply note and test.
(Yes, the pick HU is created in advance)
Thanks again,
Helios.
| User | Count |
|---|---|
| 18 | |
| 16 | |
| 5 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.