At times, there will be a situation where sample warehouse task is not created.
The first step, we will check the configuration of the QM note of EWM
Define and Activate warehouse IOT settings. If the sample size config is maintained there. Then check if the inbound delivery document flow is determined with doc category 'Q01', this will give you the sample size.
System still unable to determine warehouse tasks then in that situation, from technical standpoint during debugging, keep a breakpoint at the below class and Methods to troubleshoot the issue. This is the place where inspection rules will be called.
CLASS - /SCWM/CL_QGR_CONTROL
METHOD - /SCWM/CL_QGR_CONTROL~SAMPLE_SPLIT_CHECK
CLASS - /SCWM/CL_GOODS_MOVEMENT
METHOD - /SCWM/CL_GOODS_MOVEMENT~CHECK_QGR_CONTROL
METHOD - PREPARE_DLV_DATA~CHECK_QGR_CONTROL
BADI : GGR_CONTROL ~ SET_GGR_CNTRL_BY_IRULE can be leveraged in case of if business have a requirement that deviates from the standard functionality
Function module - /SCWM/GM_CREATE creates two tasks one for the sample Quantity and other for the remaining quantity.
Comments
Post a Comment