
Basic Settings
To be able to create inspection plans using data from the specification database, the following prerequisites must be fulfilled:
The following environment parameters exist for the EH&S-QM interface:

You must have created the control key first in Customizing for Quality Management.

You must have created the not-OK code first in Quality Management.

The profile with default values is entered in Customizing for Quality Management under Quality Planning ® Inspection Planning ® General. The fields Usage and Status of plan in this activity are obligatory. If other fields are filled, these are used when the inspection plan is created.
The following number range intervals exist:

SAP recommends that you use the customer exit EHQM0901 to generate your own keys that contain letters, for example, making them easier to recognize. You also have the option of using the specified number range intervals as a counter for the objects in the customer exit. For more information, see the documentation on the customer exit.
They should also be in the form of Incomplete copy model or Complete copy model as they are "unlocked" by the interface as Reference characteristics.
In the material master for the relevant materials you have created the Quality Management view for the plant for which the inspection plan is to be created.
Result
When you have made all settings and fulfilled all the above prerequisites, you can create inspection plans using data from the specification database (see
Creation of Specification-Relevant Inspection Plans).