Use Case Scenario

When Heli, the quality engineer, makes a usage decision for an inspection lot, the quality score is determined for the lot. A quality score is an integer value that describes the quality of an inspection lot. Heli can use it for further analysis and a quality management evaluation. The quality score can be calculated by a procedure that Petra and Marco predefine for an inspection type in the material master. The SAP S/4HANA system can then automatically assign a quality score to an inspection lot.
Review the related process in SAP S/4HANA below.
Process in SAP S/4HANA

Petra, the quality planner, selects a method for the calculation of the quality score on the inspection settings defined in the inspection type of the material master of the inspected material. For example, the quality score is calculated based on the usage decision code. When Heli, the quality engineer, makes a usage decision by selecting an appropriate usage decision code, the system automatically assigns a quality score to the inspection lot. Marco, the application consultant, assigned this quality score to the usage decision code (UD code) before when he customized the system.
In most of our customers systems, the worst quality score is 1 and the best quality score is 100. If the quality score is based on the usage decision code, a rejection corresponds to 1 and acceptance corresponds to 100. Some customers also define an usage decision code for acceptance with minor deviations and assign, for example, a quality score of 80 to this usage decision code.
As you can see in the figure, there are other methods available to calculate the quality score, for example:
- Calculating from a minimum quality score of characteristics: If all characteristics are accepted, the quality score will be 100 (or the defined maximum in your system). Otherwise, the quality score depends on the weighting of the rejected characteristics. The higher the weighting, the lower is the quality score.
- Calculating weighted from a quality score of characteristics: If all characteristics are accepted, the quality score will be 100 (or the defined maximum in your system). Otherwise, the quality score is calculated as a weighted sum of the UD code of the individual characteristics. In this case, the quality score is lower if a high amount of critical characteristics is rejected.
Irrespective of the chosen procedure to calculate the quality score, the score is always calculated by the system when the quality engineer executes a usage decision. Later, the quality engineer can generate a time-series plot of the quality score, for example, for a material/supplier combination, to see whether the supplier quality changed over time.
Note
The formula used to calculate the quality score are defined in a quality score procedure that is set up by the Application Consultant and a developer in Customizing. You can either use standard formulas provided by SAP or develop your own function modules.