cancel
Showing results for 
Search instead for 
Did you mean: 

How update QIWL-SENDSTAT when the inspection lot already was sending to subsystem

barros1983
Explorer
0 Kudos

Hi Dear,

I'm using QM-IDI to send the characteristics from Inspection Lot to LIMS system, I read the SAP QM-IDI documentation but I'm not getting to update the inspection lot after sending to LIMS.

First I call the BAPI QIRF_SEND_INSP_REQUIRMENTS, set the I_QAILS-SUBSYS = "Z00001", it works fine, and return all inspections lot are pending to send.

So I call the second BAPI QIRF_SEND_INSP_DATA_FOR_WL2 setting the T_QIWLTAB with the return from the first BAPI. This work fine too. I filled the follow fields:

I_IND_EVALUATE_CHARACTERISTIC = ""
I_IND_MULTI_TRANSFER_POSSIBLE = ""

I_IND_ONLY_OBLIGATORY_CHARACT = ""

I_IND_READ_PURCHASING_INFO = "X"

I_IND_READ_SALES_INFO = "X"

I_IND_READ_VENDOR_AND_PRODUCER = "X"

I_IND_READ_WORK_CENTER = "X"

I_IND_SEND_PROTOCOL_MAIL = ""

I_IND_SET_BLOCK_INDICATORS = ""

I_IND_TRANSFER_CHAR_CODES = ""

I_IND_TRANSFER_USAGE_DEC_CODES = ""

And the I call the QIRF_SEND_COMMIT_TO_QM, that don't have params.

But when I call the first BAPI again, the lots that already was sent return again and when I check on QIWL the SENDSTAT is null.

Anybody knows how to fix that?

Thank you!

Best regards,

Thiago Barros

barros1983
Explorer
0 Kudos

Hi Dear,

I'm learning about QM-IDI, for that I wrote the question above. Reading the documentation again, I understood that status 6 is correct after sending the inspection lots to LIMS, but now, I would like to know how I can update status MICs from 6 to 5.

I using the BAPI QIRF_GET_ALL_DATA_VALUES2, but when I inform the Q71, Q79 or Q51, the values are not updated, and the status keep on 6.

Anybody knows how I can work with this BAPI to fix this problem?

Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

barros1983
Explorer
0 Kudos

Hi Dear,

The problem was resolved when I've used the BAPI QIRF_GET_FEATURE_VALUES2 instead QIRF_GET_ALL_DATA_VALUES2, this way all MICs was filled and closed.

Regards,

Answers (0)