cancel
Showing results for 
Search instead for 
Did you mean: 

NC Disposition via SAPME PAPI: Find Disposition Options

martinobermayr
Explorer
0 Kudos
467

We have an automated process where serval NCs can be logged via PAPI interface (CreateNC request) without disposition directly afterwards. This can be different NC codes with different dispositions. Later on the disposition for a certain NC should be done. Here the 1st step would be the request findDispositionOptions to get the right dispositionGroupMemberRef for the disposition request. Here the Input of the NCDATA BO is not considered. The findDispositionOptions request delivers all possible dispositions without considering the right NC.

martinobermayr_0-1718182068795.png

Has anyone faced a smilar problem in the past? Have you been able to solve it?

Accepted Solutions (0)

Answers (2)

Answers (2)

andrew_hopwood
Product and Topic Expert
Product and Topic Expert

Hello,

I don't know, about that PAPI, but an alternative approach could be to use  NCProductionService.dispositionMultipleSfcs() and pass only the SFC, Operation and Resource. It is the equivalent of the Done button in the POD so should pick the highest priority NC for dispositioning.

-Andrew.

martinobermayr
Explorer
0 Kudos
Hello Andrew, thanks for the answer. The usage of the NC priority is our current workaround. For a permanent solution we plan to use the Read NC Code request to get the right disposition option instead of the find disposition request.
sergiy_katerinich
Product and Topic Expert
Product and Topic Expert

Hi!

In your example, the system returned 2 Disp options in response to a single NcDataBO, however, you are saying "request delivers all possible dispositions" - does it mean that in your system you have only those 2 options for the entire site? If so, where are the rest of predefined Disposition functions - have you deleted them manually? if not, then it looks as if the system returned those 2 options out of many possible for some reason that is likely defined by the setup of your NC Code.

However, if it happened the method does not take NcDataBO into account indeed, then I would see this as a bug. And then you would submit a support ticket with a detailed description of the scenario and setup so that we can fix the issue.

 

Regards,

Sergiy

martinobermayr
Explorer
0 Kudos

Hello Sergiy,

thanks for you quick answer!

Regarding "request delivers all possible dispositions": no - this was only related to the options for the selected SFC coming from the two NC records on it. As the NcDataBO of the request has not been taken into account in the PAPI response I have opened a SAP ticket.

Best Regards

Martin