cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple SAP ME PAPI calls happening at the same time

Former Member
0 Kudos

Hello,

Brief description:

We trigger notification from SAP PCo for every start and end of operation at each station. The data is received in the form of xml file to SAP MII transaction. In SAP MII we call SAP ME PAPI block to send data to SAP ME.

This end to end scenario works fine until we do not get more than one trigger at the same given instance. When we get multiple triggers at the same time calling the same PAPI the transaction fails and then continuous to fail for all the triggers coming after this.

Request your kind help or inputs for resolving the below issue on priority.

Please find attached the screenshot of the error.

Regards

Suhas

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member196557
Active Contributor
0 Kudos

HI Suhas,

1. What error is being returned from the PAPI Action block (from the Action Block Message property)?

2. How are you calling the MII transaction from PCo -- Synchronous or Asynchronous?

3. How do you have PCo notification Reliable Messaging Configured?

4. How do you have PCo Agent Instance MSMQ Exactly Once In Order enabled?

Calling ME WIP activities from MII Transactions via PCo require consideration of the results of the PAPI call and how respond back to PCo (if calling the transaction Synchronously). If the PAPI call fails because of invalid WIP conditions (not in Queue, not in Work, SFC Not Found, etc.), simply re-executing the PAPI request without fixing the WIP condition will generate another failure.

Recommend that you set up PCo Notification Reliable Messaging to execute any Agent Instance Ntofications either in EOIO or not, and to make sure that a Notification is calling the MII transactions Asynchronously, and have MII handle all exceptions and retry logic.  That way, PCo will only attempt to re-try a failed Notification if it cannot connect to MII to execute the transaction.

Regards, Steve

HariCS23
Contributor
0 Kudos

Hi Suhas, Try calling that PAPI function using Web Service action block in MII and see what happens.

Thanks

Hari