Link to Quality Management Through Handling Units 
Purpose
In the goods receipt process, you can also implement the decentralized Warehouse Management system (WMS) in connection with the SAP application component Quality Management (QM). In this case, both the central as well as the decentralized systems are SAP systems. You use Quality Management in the central Enterprise Resource Planning (ERP) system; here the ERP system transfers the
inspection lot number to the decentralized Warehouse Management system so that stock changes to the material based upon QM usage decisions can be followed up in the warehouse.
Prerequisites
You can activate the Quality Management component in connection with the decentralized Warehouse Management system only if you create
handling units (HUs) for the incoming inbound deliveries.In the material master, you have selected the option Inspection for HU for the indicator Inspec.Type GR.
To simplify QM processing between the two independent SAP systems, set automatic processing for
posting changes in the Customizing section of the decentralized WMS.- For this purpose, set the
output determination of the delivery so that output type WMTA is initiated when the delivery is created.
Set the Customizing in WMS so that the posting change transfer orders are automatically confirmed by the system. In the Customizing section for Warehouse Management, select the path Confirmation control ® Movement type under Activities ®
Confirmation, and set the indicator for immediate confirmation.
To ensure an immediate goods issue posting, choose the Customizing section for Warehouse Management, select the path Interfaces ®
Shipping ®
Define Shipping Control, then the section Define Shipping Control at Movement Type Level, and set the option Copy WM quantity as delivery quantity and post GR/GI. This value is automatically copied during transfer order creation and has the effect that the system automatically executes the GI posting for the delivery.
Process Flow

- In the central ERP system, you create inbound deliveries for incoming goods and post the individual items for these inbound deliveries in handling units.
- The system creates an inspection lot on the basis of the inspection data in the QM view of the material master. The stock category for the inbound delivery is Q.
- The ERP system passes on the inbound delivery to the decentralized WMS. If there are handling units in the inbound delivery for which an inspection lot has been created, the inspection lot number is copied into the decentralized WMS and stored there in the quant information.
- On the basis of the transferred inbound delivery, the decentralized WMS automatically creates a transfer order for putaway of goods as quality inspection stock.
- With the confirmation of the transfer order, you confirm the completion of the putaway as quality inspection stock.
- The confirmation of the transfer order initiates the goods receipt posting in the decentralized system and the updating of the delivery.
- The system confirms the updated inbound delivery to the central ERP system.
- On the basis of the confirmed inbound delivery, the central ERP system posts the goods receipt for the inbound delivery.
- Make the usage decision for the inspection lot in the central ERP system. On the basis of the usage decision, the central ERP system creates a posting change delivery and passes this on to the decentralized WMS. The central system does not create material documents or make any changes in stock at this point.

You may only make the usage decision after the goods receipt has been posted.
- This posting change delivery is technically a request for the decentralized WMS to execute a posting change for the stock concerned. The decentralized system creates a transfer order (which is confirmed immediately) for the posting change delivery, provided the Customizing settings are correct, and with this transfer order the system finds the stock that belongs to the inspection lot and automatically carries out the posting change for it.

As soon as the posting change delivery has been passed on to the decentralized WMS, you can change it there.
- The decentralized system posts a goods issue for the posting change delivery and thus confirms the posting change delivery and the respective quantities to the central ERP system.
- The central ERP system automatically executes the stock posting change according to the stock category of the respective goods when it receives the confirmation, and it then creates a material document that you can look at in the document flow for the posting change delivery.