SAP Knowledge Base Article - Public

3516067 - No inspection plan is assigned to the inspection lot although there are multiple valid ones

Symptom

You have maintained multiple valid inspection plans for the material within the same period. However, when you post goods receipt for the production order/purchase order, there is no inpsection plan assigned to the inpsection lot generated. As a result, no result recording or usage decision is possible.

Environment

SAP S/4HANA Public Cloud

Cause

This is the standard system behavior.
If multiple valid inspection plans existing for the material, the system cannot automatically make a decision which inspection plan is used. The user has to make the decision himself. 
This means, if the inspection lot is created manually, for example in Create Inspection Lot app, the user need to select which inspection plan to use in the popup screen. However, if the inspection lot is generated in a background process, such as during the goods receipt of the production order/purchase order, since it is not possible to trigger a popup screen here, the user cannot make a choice. As a result, there will be no inspection plan assigned to the inspection lot generated.

Resolution

There are 2 solutions for the issue:

  1. Please maintain just one valid inspection plan for the material.
  2. If you have to maintain multiple inspection plans for the material, you can use BADI_INSPLOT_PLAN_ASSIGNMENT to select the inspection plan.

Keywords

inspection lot, inspection plan, cannot assign, manually, BADI_INSPLOT_PLAN_ASSIGNMENT, missing , KBA , QM-IM-IL-2CL , Inspection Lot Creation (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions