Symptom
When you try to post goods issue for an outbound delivery, you get the error message VL171 "Status of inspection lot & / partial lot & does not allow good issue".
More specificly, every time you reproduce the issue, the inspection lot number in the error mesage is different and you cannot find the corresponding inspection lot in Display Inspection Lot app.
Environment
SAP S/4HANA Public Cloud
Reproducing the Issue
- Create a sales order.
- Create an outbound delivery based on the sales order.
- Post goods issue in the outbound delivery.
- Get the error message.
Cause
If QM is active for the material, the GI posting of the delivery is only allowed if an accepted usage decision for corresponding Inspection Lot is made.
In this scenario, the inspection lot was not yet created when creating Outbound Delivery due to missing data. For example, the batch was not maintained. After adding this data to outbound delivery and then immediately posting goods issue, the system will create an inspection lot in backend (this is why you can see an inspection lot number in the error message), but of course without any usage decision which finally led to the error message.
Resolution
To overcome this you may either maintain all necessary data in sales order to get Inspection Lot created during the outbound delivery creation based on that sales order. Or you have to maintain data in outbound delivery, then save it first without posting the goods issue. But in both cases, you have to decide on quality first and make a usage decision otherwise error message will persist when posting GI.
See Also
Keywords
VL171, outbound delivery, post goods issue, inspection lot, batch management, quality management, sales order , KBA , QM-IM-IL-2CL , Inspection Lot Creation (Public Cloud) , Problem