Problem:
Working with Decentral EWM on S/4HANA in integration with QIE, partial UD cannot be inspected if product is lying on non Work center staging area. Stock based inspection either through QA32 in S/4 or in /SCWM/QIDPR in EWM brings a blank screen with no stock information.
Quality Inspections in Decentralized EWM Based on SAP S/4HANA:
In the standard SAP system, partial usage decision for all stock assigned to a quality inspection can only be inspected if below of the following conditions are met:
- Counting is complete for the stock
- The stock is in a work center of the type Quality Management:
Most of the customers don’t agree to make staging area as work center, hence an enhancement is required to perform UD from non work center, staging area role, i.e GR zone.
Customers have to implement a Badi /SCWM/EX_QM_STOCK_INSP_EXT, method at SET_ABILITY_TO_PERFORM_QINSP.
In Badi definition:
- IS_ICON: Structure containing the graphical objects and icons that customer want to set on the UI as a result of their own logic, this can be used to influence Stock based inspection from any location, GR Zone.
Use the code:
Following code can be used to set the traffic light and enable logistical follow-up actions to perform partial UD from non work centre based location
Quality inspection process
DATA: ls_stock_status_qaction type /SCWM/S_STOCK_QM_STATUS.
To yellow:
ls_stock_status_qaction-qstatus = is_icon-status_todo
ls_stock_status_qaction-qstatus_flg = '2'
ls_stock_status_qaction-qaction = is_icon-find_todo
This badi will help customer to influence stock based inspection from staging area whose role is not equal to work center.
These all information can be found in SAP EWM Standard badi documentation.
Note: In embedded EWM on S/4HANA, system allows to perform stock based Inspection, Partial UD from all the location. Only Decentral EWM on S/4HANA has the problem.
Thanks for reading the blog.
Thanks to author Shailesh Mishra