Skip to Content
avatar image
Former Member

Inspection points not getting created in some instances

We have a custom program in which we are performing the below steps.

1) Create inspection lot and assign operations to it

2) Link physical sample to inspection lot

3) create inspection points (which are used in QE51N)

In some instances users have noticed when they do QE51N that the inspection point with physical sample details are not set up for one of the operations (it is the first operation always in the list) and in some instances even when there is a single operation it does not show up in QE51N.

We are using BAPI_INSPOPER_RECORDRESULTS and BAPI_TRANSACTION_COMMIT immediately to commit the inspection point to DB and we have also given a wait of 2 secs after the commit.

Has anyone experiences this random issue anytime before?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 01, 2017 at 09:54 AM

    Are you naming all of your inspection points differently?

    If you look at table QAPP there is a field called PPSORTKEY. You can see this is a combination of all the user fields for your inspection point. If two inspection points were named the same, and the system created them at the same time stamp, then it would be a duplicate key and won't appear in QE51N.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sara - Yes the inspection points have a unique number and we have a 2 sec wait after the BAPI_TRANSACTION_COMMIT so they are not even created together the created time shows a 2 sec difference between each.

  • Nov 01, 2017 at 02:45 PM

    Check in the operation header that the "Field key" under the "User-Specific Fields" section and make sure no field key is specified.

    If you expect to use the physical sample number for the inspection point identifier and a field key got specified it could cause an issue.

    Add comment
    10|10000 characters needed characters exceeded