
Input Processing of Measured Values in Results Recording
Use
During results recording, the BAdI, which is assigned to the inspection characteristic for input processing of the measured values, is run. The input value can be processed, for example, as follows:
The value that was entered originally (including the decimal places entered) is also saved (original value).

When the control indicator Input Processing is set, it is not possible to perform automatic conversion (
The process is the same for planned and for unplanned characteristics.
Prerequisites
Input processing must be planned in the master inspection characteristic or in the inspection plan.
Features
Standard Results Recording (QE01, QE11, and so on)
If a BAdI for input processing exists for an inspection characteristic, the BAdI that has been defined for that inspection characteristic will be called when a measured value or mean value is entered or changed. Apart from the actual measured value, the BAdI, depending on the screen, can change the attribute, the mean value, and, if necessary, the results data origin. The value you entered is saved before the BAdI is run and it is displayed in the Original Value field.
QM-IDI Interface
The following fields have been added to the IDI structures QAIMR, QAISR and QAISE:
|
Field |
Category |
Length |
Text |
|
ORIGINAL_INPUT |
CHAR |
25 |
Original value before input processing |
|
INPROC_READY |
CHAR |
1 |
Input processing run successfully |
|
DIFF_DEC_PLACES |
INT2 |
5 |
Different number of decimal places |

The field INPROC_READY is initial in the confirmation structures when input processing has not yet been performed. In this case, input processing will be performed at the time of confirmation. If the subsystem has already performed input processing, the result and the fields DIFF_DEC_PLACES, ORIGINAL_INPUT and INPPROC_READY will be copied from the confirmation structure.
The BAdI can interrupt the normal input processing procedure by outputting messages. If you are using IDI, these messages will be saved as log entries.
If you enter an inspection result that has a number of decimal places that differs from the number of decimal places defined in the inspection plan, the difference in the number of decimal places will be written to the field DIFF_DEC_PLACES. This is important because it ensures that the correct number of decimal places is output when the inspection result is output.
There are 2 decimal places planned in the task list, but in results recording, you enter 5 decimal places. The system will then note the difference of 3 decimal places in the field DIFF_DEC_PLACES.
BAPIs in Results Recording
The BAPI structures BAPI2045D2 (characteristic result), BAPI2045D3 (sample result) and BAPI2045D4 (individual result) have been enhanced by adding the following fields:
|
Field |
Category |
Length |
Text |
|
ORIGINAL_INPUT |
CHAR |
25 |
Original value before input processing |
|
INPROC_READY |
CHAR |
1 |
Input processing run successfully |
|
DIFF_DEC_PLACES |
INT2 |
5 |
Different number of decimal places |

The confirmation is the same as with QM-IDI.
The field DIFF_DEC_PLACES is the same as with QM-IDI.
Process-Optimized Results Recording (QE71, QE72, QE73)
For process-optimized results recording, you can enter the attribute on the same screen as the measured value. Input processing is performed immediately after input. To prevent input processing being run again when saving, the system sets the indicator Input Processing Run.
When you save using QM-IDI or BAPI, the determined values are copied directly.
Activities
See also:
Plan Input Processing for Measured Values in the Master Inspection Characteristic Plan Input Processing for Measured Values in the Inspection Plan Plan Input Processing for Measured Values in the Engineering Workbench