Show TOC

Process documentationIntegration of Quality Inspection Lot

 

You can use this process to transfer quality inspection data between SAP ERP and SAP ME to support the following scenarios.

Prerequisites

SAP ME

In Service Extension Maintenance, you have enabled the QI_ERP_EXT and SAPMEINT_DB_TRANS service extensions for the proccessInspectionGroup method the InspectionService service (see Service Extension Maintenance).

In POD Maintenance, you have verified that your POD Work List contains the Info column to display a DC icon for sample SFC numbers.

We recommend that you configure the NC Data Entry POD plug-in to open as a popup.

Process

100% Quality Inspection

In this scenario, Inspection Sample Size equals Build Qty of the Production shop order (see Shop Order Maintenance).

  1. In SAP ERP, you create a routing and assign inspection characteristics with Sampling procedure = 100% or ALLITEMS to one or more operations (see Start of the navigation path Operations Next navigation step Inspection Characteristics End of the navigation path in transaction CA01).

  2. You create a production order (transaction CO01) or update a production order (transaction CO02) using the created routing.

    An inspection lot of inspection type 03 is automatically created and assigned to the production order on release.

  3. SAP ERP sends the production order IDoc message LOIPRO to SAP MII. Here message mapping takes place.

    SAPMEINT creates a Production shop order with quality inspection lot, a routing, and a 100% Quality Inspection DC group for each operation with 100% inspection characteristics based on data received from SAP ERP (see Transfer of Production Order with Quality Inspection Lot).

  4. In SAP ME, you release the shop order using Shop Order Release (see Shop Order Release).

  5. At an operation, you select one or more SFC numbers and choose a POD button with assigned PR500 (Start).

  6. At an operation to which the 100% Quality Inspection DC group is attached, when you select one or more SFC numbers and choose a POD button with assigned PR510 (Complete) and QM030 (Sample Inspection Lot), SAP ME opens the Sample Inspection Lot plug-in (see Sample Inspection Lot).

  7. When you choose OK in Sample Inspection Lot (QM030), the SFC numbers remain in the Active status at the current operation.

  8. You enter parameter values for each SFC number using DC Collect (see Data Collection Entry).

  9. When you choose Save in Data Collection Entry, SAP ME evaluates each parametric value collected for this SFC number. If at least one critical inspection characteristic fails, then this sample is rejected. If not, the system compares the number of passed and failed characteristics. If the number of passed characteristics is greater, then this sample is accepted.

    If the inspection result for this SFC number is Sample Accepted, you can complete this SFC number at this operation.

    If the inspection result for this SFC number is Sample Rejected, you can open a nonconformance client to log an NC code and disposition this SFC number for further processing (see NC Code).

  10. SAPMEINT sends the parameter values and quality inspection result for this SFC number to SAP ERP (QM) using the message qualityInspectionMeEvalResultRecording.

    In SAP ERP, you can view the result for each characteristic in the Valuation column on the Record Results: Characteristic Overview screen (transaction QE51N).

Less than 100% Quality Inspection (BLOCK_ORDER=YES)

In this scenario, Inspection Sample Size is less than Build Qty of the Production shop order and the QM030 activity rule BLOCK_ORDER is set to YES (see BLOCK_ORDER in Sample Inspection Lot and Block SFCs Until Inspection Finished in Routing Step Properties).

  1. In SAP ERP, you create a routing and assign inspection characteristics to one or more operations ( Start of the navigation path Operations Next navigation step Inspection Characteristics End of the navigation path in transaction CA01).

  2. You create a production order (transaction CO01) or update a production order (transaction CO02) using the created routing.

    An inspection lot of inspection type 03 is automatically created and assigned to the production order on release.

  3. SAP ERP sends the production order IDoc message LOIPRO to SAP MII. Here message mapping takes place.

    SAPMEINT creates a Production shop order with quality inspection data, a routing, and a DC group for each operation with inspection characteristics based on data received from SAP ERP (see Transfer of Production Order with Quality Inspection Lot).

  4. In SAP ME, you release the shop order using Shop Order Release (see Shop Order Release).

  5. At an operation, you select one or more SFC numbers and choose a POD button with assigned PR500 (Start).

    Note Note

    You must use a Process resource to receive a response from SAP ERP with evaluation results (see Resource).

    End of the note.
  6. At an operation to which the DC group is attached, when you select one or more SFC numbers and choose a POD button with assigned PR510 (Complete) and QM030 (Sample Inspection Lot), SAP ME adds these SFC numbers to an SFC group until the SFC group size is achieved and changes the status of these SFC numbers to Complete Pending.

  7. When you choose OK in the Sample Inspection Lot (QM030) plug-in, the system marks randomly selected SFC numbers as sample SFC numbers and closes the plug-in. The status of the sample SFC numbers at the current operation changes to Active.

  8. You enter parameter values for sample SFC numbers using DC Collect (see Data Collection Entry).

  9. When parameter values for all sample SFC numbers are collected, SAPMEINT sends the quality inspection results for each SFC number to SAP ERP (QM) for evaluation using the message qualityInspectionResultRecordingRequest.

  10. SAP ERP (QM) evaluates the results of quality inspection. Each inspection characteristic is either accepted or rejected.

    You can view the result for each characteristic in the Valuation column on the Record Results: Characteristic Overview screen (transaction QE51N).

  11. SAPMEINT automatically retrieves the quality inspection evaluation status for each characteristic and sends this data to SAP ME using the message readErpQualityInspectionResultRequest.

  12. Based on the received valuation status, SAP ME either accepts or rejects the SFC group:

    1. If at least one critical inspection characteristic fails, then a sample is rejected.

    2. If not, the system compares the number of passed and failed characteristics. If the number of passed characteristics is greater, then a sample is accepted.

    3. The system compares the number of accepted and rejected samples. If the number of accepted samples is greater, then the SFC group is accepted.

  13. If the overall status of the SFC group is Sample Accepted, the system completes these SFC numbers at this operation. If the overall status is Sample Rejected, SAP ME automatically logs the NC code QM_INSPECT_REJECT for all SFC numbers of this shop order, dispositions these SFC numbers to the INSPECTION_REJECTED routing and places them on hold.

Less than 100% Quality Inspection (BLOCK_ORDER=NO)

In this scenario, Inspection Sample Size is less than Build Qty of the Production shop order and the QM030 activity rule BLOCK_ORDER is set to NO. For more information, see BLOCK_ORDER in Sample Inspection Lot and Block SFCs Until Inspection Finished in Routing Step Properties.

  1. In SAP ERP, you create a routing and assign inspection characteristics to one or more operations ( Start of the navigation path Operations Next navigation step Inspection Characteristics End of the navigation path in transaction CA01).

  2. You create a production order (transaction CO01) or update a production order (transaction CO02) using the created routing.

    An inspection lot of inspection type 03 is automatically created and assigned to the production order on release.

  3. SAP ERP sends the production order IDoc message LOIPRO to SAP MII. Here message mapping takes place.

    SAPMEINT creates a Production shop order with quality inspection data, a routing, and a DC group for each operation with inspection characteristics based on data received from SAP ERP (see Transfer of Production Order with Quality Inspection Lot).

  4. In SAP ME, you release the shop order using Shop Order Release (see Shop Order Release).

  5. At an operation, you select one or more SFC numbers and choose a POD button with assigned PR500 (Start).

    Note Note

    You must use a Process resource to receive a response from SAP ERP with evaluation results (see Resource).

    End of the note.
  6. At an operation to which the DC group is attached, when you select one or more SFC numbers and choose a POD button with assigned PR510 (Complete) and QM030 (Sample Inspection Lot).

    The system displays randomly selected SFC numbers in the Sample Inspection Lot (QM030) POD plug-in and completes the other SFC numbers at this operation.

  7. When you choose OK in the Sample Inspection Lot plug-in, the system marks the randomly selected SFC numbers as sample SFC numbers and closes the plug-in.

  8. You enter parameter values for sample SFC numbers using DC Collect.

    Note Note

    You can complete sample SFC numbers at this inspection operation without entering parameters values. In this case you will have to enter parameter values at the operation with the Block SFCs Until Inspection Finished checkbox selected.

    End of the note.
  9. You complete SFC numbers at this operation.

  10. At an operation that has the Block SFCs Until Inspection Finished checkbox selected, you start SFC numbers.

  11. At this operation, you select one or more SFC numbers and choose a POD button with assigned PR510 (Complete).

    If there are sample SFC numbers for which inspection data was not collected, the system changes the status of non-sample SFC numbers and sample SFC numbers for which data was collected to Complete Pending.

    The system displays a message stating that quality inspection of sample SFC numbers is required. A DC icon appears in the Info column for these sample SFC numbers.

    If SFC group size was not achieved at the inspection operation, the system opens the Sample Inspection Lot plug-in and marks randomly selected SFC numbers as sample SFC numbers to achieve the SFC group size.

  12. You select sample SFC numbers for which quality inspection data was not collected at the inspection operation and choose DC Collect to enter parameter values

  13. When parameter values for all sample SFC numbers are collected, SAPMEINT sends the quality inspection results for each SFC number to SAP ERP (QM) for evaluation using the message qualityInspectionResultRecordingRequest.

  14. SAP ERP (QM) evaluates the results of quality inspection. Each inspection characteristic is either accepted or rejected.

    You can view the result for each characteristic in the Valuation column on the Record Results: Characteristic Overview screen (transaction QE51N).

  15. SAPMEINT automatically retrieves the quality inspection evaluation status for each characteristic and sends this data to SAP ME using the message readErpQualityInspectionResultRequest.

  16. Based on the received valuation status, SAP ME either accepts or rejects the SFC group.

    1. If at least one critical inspection characteristic fails, then a sample is rejected.

    2. If not, the system compares the number of passed and failed characteristics. If the number of passed characteristics is greater, then a sample is accepted.

    3. The system compares the number of accepted and rejected samples. If the number of accepted samples is greater, then the SFC group is accepted.

  17. If the overall status of the SFC group is Sample Accepted, the system completes these SFC numbers at this operation. If the overall status is Sample Rejected, SAP ME automatically logs the NC code QM_INSPECT_REJECT for all SFC numbers of this shop order, dispositions these SFC numbers to the INSPECTION_REJECTED routing and places them on hold.

Restrictions
  • If the QM030 activity rule BLOCK_ORDER is set to NO, and inspection data is not collected for a sample SFC number at the operation, then the SFC group will not be evaluated at the specified routing step. As a result, all SFC numbers of this SFC group and shop order will remain in the Complete Pending state at the routing step where the Block SFCs Until Inspection Finished checkbox is selected.

  • For less than 100% quality inspection (BLOCK_ORDER=NO), if SFC numbers from the SFC group were scrapped, deleted, or have the status Invalid, then the SFC group is not filled and will not be evaluated, and these SFC numbers will remain in the Complete Pending state. So the operator will not be able to complete these SFC numbers at this step.

  • A shop order can contain only one DC group with inspection characteristics at a routing step.

  • For 100% quality inspection, SAPMEINT supports only quantitative (numeric) inspection characteristics.

  • For 100% quality inspection, it is required that an operator selects only one sample SFC number at a time in the POD Work List to enter the inspection characteristic data values using DC Collect.

  • If the result of quality inspection (including critical inspection characteristics) for an SFC number is Sample Rejected but the Fail/Reject Number value has not been reached, SAP ME does not display the Log NC client automatically. The operator must choose the Log NC activity to log an NC code for the rejection.

  • Sample Inspection Lot (QM030) processes only one SFC group at a time. The plug-in does not automatically display the next SFC group that is ready for inspection. The user must choose Sample Inspection Lot again in the POD.