cancel
Showing results for 
Search instead for 
Did you mean: 

QIRF_GET_INSP_POINT2 Inspection Lot Operation not found

Former Member
0 Kudos

Hi,

every day an other problem.

I have an inspection plan with inspection points and sampling.

Inspection plan header:

The Inspection Lot is created in the background.

I want to fill the Inpection Lot structure by QM-IDI

The new inspection points I would like to create with QIRF_GET_INSP_POINT2.



But it is always the error message:


I have found that the tables QAPP_QALS and QASV need to be filled.


QASV:


QASV - TO BE:


QAPP_QALS:


QAPP_QALS TO BE:



Currently, the values are missing by inspection lot  50000001329.


How can this be achieved with QM-IDI?


Best Regards,


Ulrike


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I have found my mistake.


The error message from SAP was not unique.


In the structure QAIPP the field "PLNFL" needs to be filled.


This field I had assigned the wrong value.


The actual value must be determined and assigned as follows:



SELECT SINGLE PLNTY PLNNR ZAEHL

  FROM QALS INTO (PLNTY, PLNNR, ZAEHL) WHERE PRUEFLOS = IM_PRUEFLOS.
      
SELECT SINGLE PLNFL

FROM PLFL INTO PLNFL WHERE PLNTY = PLNTY

AND PLNNR = PLNNR AND ZAEHL = ZAEHL.
     

ilQAIPP-PLNFL = PLNFL.

busyaban7
Active Contributor
0 Kudos

Hi Ulrike,

In case your operation number sorting is still having issues, please can you also double check with PLAS table (non-deleted entries), and then get the correct nodes form it validated through PLPO (non-deleted entries). This may help your sorting a bit further to identify the correct ZAEHL.

Thanks,

Arijit

Former Member
0 Kudos

Hi Arijit,

THANK you ;o)

Best Regards,

Ulrike