Skip to Content
avatar image
Former Member

Which BAPI to use to create inspection points using inspection lot and phsyical sample

Hi

We are using BAPI-BAPI_INSPOPER_RECORDRESULTS with BAPI_TRANSACTION_COMMIT but it is creating issues where in some random cases inspection points do not get created.

I want to know if it is better to use BAPI_INSPPOINT_CREATEFROMDATA instead?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 01, 2017 at 02:56 PM

    Why aren't you simply doing this via the standard SAP configuration and the FM's that SAP provides? Copy the provided FM's to your own "Z" version and modify the Z FM to meet your needs.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Craig,. for the time being we have found a fix we want to try.

      Upon debugging it seems that the commit being done to QPRS table is taking longer than the check inspection lot create BAPI does to confirm if physical sample is updated with inspection lot or not. We are adding a wait after this commit.

      In case this does not work i will evaluate the option you mentioned.