You can use this process to transfer quality inspection data between SAP ERP and SAP ME to support the following scenarios:
100% Quality Inspection
Less than 100% Quality Inspection (BLOCK_ORDER=YES
)
Less than 100% Quality Inspection (BLOCK_ORDER=NO
)
In Service Extension Maintenance
, you have enabled the QI_ERP_EXT
and SAPMEINT_DB_TRANS
service extensions for the processInspectionGroup
method of the InspectionService
service (see Service Extension Maintenance).
In POD Maintenance
, you have created a POD button that has the PR510
(Complete
) and QM030
(Sample Inspection Lot
) activities assigned to it. In this topic, we refer to this button as the Sample Inspection Lot
.
We recommend that you configure the Sample Inspection Lot
(QM030
) POD plug-in to open it as a popup.
In POD Maintenance
, you have verified that your POD Work List
contains the Info
column to display the Data Collection (DC) icon for sample SFC numbers.
We recommend that you configure the Log NC
(NC_DATA_ENTRY
) POD plug-in to open it as a popup.
In this scenario, Inspection Sample Size
equals the Build Qty
of the Production
shop order (see Shop Order Maintenance).
In SAP ERP, you create a routing and assign the inspection characteristics with the Sampling procedure
= 100%
or ALLITEMS
to one or more operations (see in transaction CA01
).
You create a production order (transaction CO01
) or update a production order (transaction CO02
) using the routing created in step 1.
An inspection lot of inspection type 03 is automatically created and assigned to the production order on release.
SAP ERP sends the production order IDoc message LOIPRO
to SAP MII. Here message mapping takes place.
SAPMEINT creates a Production
shop order with the quality inspection lot, the routing, and the 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).
In SAP ME, you release the shop order in Shop Order Release
(see Shop Order Release).
The system generates the SFC numbers.
You start and complete operations until you reach the inspection operation.
At the inspection operation to which the 100% Quality Inspection
DC group is attached, you select one or more SFC numbers and choose Start
.
When you select one or more SFC numbers and choose the Sample Inspection Lot
POD button, SAP ME opens the Sample Inspection Lot
plug-in (see Sample Inspection Lot).
When you choose OK
in the Sample Inspection Lot
(QM030
), the SFC numbers remain in the Active
status at the current operation.
You enter parameter values for each SFC number using the DC Collect
.
When you choose Save
in the Data Collection Entry
, SAP ME evaluates each parametric value collected for this SFC number. If any critical inspection characteristic fails, this sample is rejected. If there are no failed critical inspection characteristics, the system compares the number of passed and failed normal characteristics. If the number of passed normal characteristics is greater than the number of failed characteristics, 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
, the SFC number remains at this operation. SAP ME automatically opens the Log NC
plug-in and allows you to log an NC code against this SFC number.
Note
You can change the DC500
's AUTO_NC_100QI
rule setting to YES
. In this case, SAP ME will automatically log the QM_INSP_REJECT
NC code against an SFC number that has the Sample Rejected
inspection result, disposition this SFC number to the INSPECTION_REJECTED
routing, and place it on hold. For more information, see Data Collection Entry.
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 a result for each characteristic in the Valuation
column on the Record Results: Characteristic Overview
screen (transaction QE51N
).
In this scenario, the following applies:
The Inspection Sample Size
is less than the Build Qty
of the Production
shop order.
The QM030
activity rule BLOCK_ORDER
is set to YES
.
For more information, see BLOCK_ORDER
in Sample Inspection Lot and Block SFCs Until Inspection Finished
in Routing Step Properties.
In SAP ERP, you create a routing and assign inspection characteristics to one or more operations ( CA01
).
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.
SAP ERP sends the production order IDoc message LOIPRO
to SAP MII. Here message mapping takes place.
SAPMEINT creates a Production
shop order with the quality inspection data, the routing, and the DC group for each operation with inspection characteristics based on data received from SAP ERP (see Transfer of Production Order with Quality Inspection Lot).
In SAP ME, you release the shop order in Shop Order Release
(see Shop Order Release).
The system generates the SFC numbers.
You start and complete operations until you reach the inspection operation.
At the inspection operation to which the QM Inspection Group
DC group is attached, you select one or more SFC numbers and choose Start
.
Note
You must use a Process
resource to receive a response from SAP ERP with evaluation results (see Resource).
You select one or more SFC numbers and choose the Sample Inspection Lot
POD button. SAP ME adds these SFC numbers to an SFC group and changes their status to Complete Pending
. When the SFC group is full, the system opens the Sample Inspection Lot
(QM030
) plug-in.
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
.
You enter parameter values for sample SFC numbers using DC Collect
(see Data Collection Entry).
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
.
SAP ERP (QM) evaluates the results of quality inspection. Each inspection characteristic is either accepted or rejected.
You can view a result for each characteristic in the Valuation
column on the Record Results: Characteristic Overview
screen (transaction QE51N
).
SAPMEINT automatically retrieves a quality inspection evaluation status for each characteristic and sends this data to SAP ME using the message readErpQualityInspectionResultRequest
.
Based on the received valuation status, SAP ME either accepts or rejects the SFC group:
If any critical inspection characteristic fails, the sample is rejected.
If there are no failed critical inspection characteristics, the system compares the number of passed and failed normal characteristics. If the number of passed normal characteristics is greater than the number of failed characteristics, the sample is accepted.
The system compares the number of accepted and rejected samples. If the number of accepted samples is greater than the number of rejected samples, the SFC group is accepted.
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 QM_INSP_REJECT
NC code against all SFC numbers of this shop order, dispositions these SFC numbers to the INSPECTION_REJECTED
routing and places them on hold.
In this scenario, the following applies:
The Inspection Sample Size
is less than the Build Qty
of the Production
shop order.
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.
In SAP ERP, you create a routing and assign inspection characteristics to one or more operations ( CA01
).
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.
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).
In SAP ME, you release the shop order in Shop Order Release
(see Shop Order Release).
The system generates the SFC numbers.
You start and complete operations until you reach the inspection operation.
At the inspection operation to which the QM Inspection Group
DC group is attached, you select one or more SFC numbers and choose Start
.
Note
You must use a Process
resource to receive a response from SAP ERP with evaluation results (see Resource).
You select one or more SFC numbers and choose the Sample Inspection Lot
POD button.
The system displays the randomly-selected SFC numbers in the Sample Inspection Lot
(QM030
) POD plug-in and completes the other SFC numbers at this operation.
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.
You enter parameter values for the sample SFC numbers using the DC Collect
.
Note
You can complete the 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. If the SFC group size was not achieved at this inspection operation, it will be achieved at the operation with the Block SFCs Until Inspection Finished
checkbox selected.
You complete the SFC numbers at this operation.
At an operation that has the Block SFCs Until Inspection Finished
checkbox selected, you start the SFC numbers.
At this operation, you select one or more SFC numbers and choose the Sample Inspection Lot
POD button.
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 the quality inspection of sample SFC numbers is required. The DC icon appears in the Info
column for these sample SFC numbers.
If the 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.
You select sample SFC numbers for which the quality inspection data was not collected at the inspection operation and choose DC Collect
to enter parameter values.
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
.
SAP ERP (QM) evaluates 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
).
SAPMEINT automatically retrieves the quality inspection evaluation status for each characteristic and sends this data to SAP ME using the message readErpQualityInspectionResultRequest
.
Based on the received valuation status, SAP ME either accepts or rejects the SFC group:
If any critical inspection characteristic fails, the sample is rejected.
If there are no failed critical characteristics, the system compares the number of passed and failed normal characteristics. If the number of passed normal characteristics is greater than the number of failed characteristics, the sample is accepted.
The system compares the number of accepted and rejected samples. If the number of accepted samples is greater than the number of rejected samples, the SFC group is accepted.
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 QM_INSP_REJECT
NC code against all the SFC numbers of this shop order, dispositions these SFC numbers to the INSPECTION_REJECTED
routing and places them on hold.
For less than 100% quality inspection (BLOCK_ORDER=NO
), if the SFC numbers from the SFC group were scrapped, deleted, or have the status Invalid
, then the SFC group is not full and it will not be evaluated. These SFC numbers remain in the Complete Pending
state, so the operator will not be able to complete them at this routing step.
A shop order can contain only one QM Inspection Group
DC group at a routing step.