217 SAP Message of Class IW No inspection lot could be generated for order &1











217(IW) - No inspection lot could be generated for order &1

Message number 217 of class IW is used to display message "No inspection lot could be generated for order &1" and can be triggered using the following ABAP code:

DATA: lv_val1(100) TYPE C.
lv_val1 = '123'.

    MESSAGE E217(IW) WITH lv_val1. "Error message example

    MESSAGE W217(IW) WITH lv_val1. "Warning message example

    MESSAGE I217(IW) WITH lv_val1. "Information message example
See here for more options


What causes this issue

An inspection type has been defined for the order type in question. An
inspection lot should be generated when the order is released. Noinspection point field combination has been defined in any of themaintenance task lists used in the order. This is why no insepction lotcan be generated.

System Response



How to fix

If an inspection lot is to be created, the order must contain at least
one procedure which was taken from a maintenance task list and whichhas been define for one of the inspection point field combinations.This must be done before the order is released.&SYS_ADMIN&

Message text extract from SAP system. Copyright SAP SE.


Return to Message Class IW main page



Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!