Transfer of Nonconformance Data to Quality Notification 
This function enables the transfer of nonconformance (NC) data from SAP ME to SAP ERP as a quality notification (QN) when a user or machine logs an NC code for an exception on the shop floor, such as product defect, process variation, or low yield when processing a Production shop order originated from SAP ERP (see NC Code and Integration of Production Orders).
This may happen any time and may not be related to a planned inspection.
Only SAP ME NC codes marked as ERP_QN_CODE are sent in the notification to SAP ERP.
Only NC codes logged against Production shop orders that originated from SAP ERP (and flagged as such) are sent to SAP ERP.
SAP ME shop orders may have batch numbers created and assigned to them. If so, a quality notification is created per shop order/batch combination.
Batch master records are created only for top level materials that are designated as batch-managed materials in SAP ERP.
You have imported the production order data from SAP ERP.
You have released the Production shop order to the shop floor (see Shop Order Release).
For batch-managed materials, you have generated a batch number using the CREATE_BATCH hook point activity (see Create Shop Order Batch Number).
You have created notification code (type D) and defect code (type 9) catalogs.
You have created user master records to be used with the mandatory partner type KU (User Responsible).
When a shop floor operator logs an NC code that is marked as ERP_QN_CODE in SAP ME, the system triggers a collaboration action.
SAPMEINT sends a QN message to SAP ERP to do the following:
Notify the process owners
Initiate a containment action
Alert an operator and a quality engineer
Create or update the quality notification in SAP ERP
SAP ERP initiates a CAPA (8D) report to rectify the quality exception captured by SAP ME.