cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Log NC without using the POD over PAPI call

SAPSupport
Employee
Employee
0 Kudos

Hi Community,

I would like to ask you about how is it possible to log NC via PAPI call where createParametricData collects all the values from SFC then the system should create the NC automatically (same situation as over POD NC logging) if some value is not in range then ME should log the NC code if the value is in range it should do disposition, the disposition has been made by findDcGroupsForSfc.

For the NC log part I found this link Create NC via PAPI | SAP Community, I recommended to use NCProductionService’s to do NC logging but it’s not the correct PAPI service.


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

What is the exact PAPI service which can do NC logging and disposition?

Answers (1)

Answers (1)

steve_stubbs
Participant
0 Kudos

To Log and Disposition an NC via PAPI, you must call two PAPI methods from com.sap.me.nonconformance NCProductionService:

  1. createNC- creates the NC Record with the details required
  2. disposition - dispositions the NC as per the NC configuration in ME, using the ncRef object returned from the createNC response, SFC. any other specific data (defect count, etc.)

Regards, Steve