cancel
Showing results for 
Search instead for 
Did you mean: 

No inspection lot could be generated for order

Former Member
0 Kudos

Hi,

Inspection type 14 is assigned to order type ZPM1 which is used for calibration and preventive maintenence.

Due to some restriction from client i cannot use seperate orders

When preventive maintenance is performed, inspection point is not assigned to tasklist

But during scheduling it shows error message IW 217 "No inspection lot could be generated for order"

which is quiet normal.

Is there any way to restrict this message, so that the same order type works for calibration and preventive

Thanks

Jacob

Accepted Solutions (0)

Answers (1)

Answers (1)

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jacob

The message IW 217 "No inspection lot could be generated for order" is generated in the module

CO_ZR_HEADER_RELEASE

IF sy-batch is initial and sy-binpt is initial AND "note350266

g_ibapi_active = ynein. "775538

PERFORM popup_to_decide_call(saplcoih) "note350266

CHANGING l_answer. "note350266

ELSE. "note350266

l_answer = '1'. "note350266

MESSAGE w217(iw) WITH caufvd_exp-aufnr. "note350266 <<<<<<<<<<<<

ENDIF. "note350266

IF l_answer <> '1'. "note350266

It was introduced by the note 350266

The message is hardcoded and not possible to customizing .

Enda -

Former Member
0 Kudos

Hi Enda,

Thanks for your reply,

I am not good in ABAP, so my question is

If i make changes as suggested, will it cause any incosistencies in the program

Thanks