cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PO 7.50 DuplicateMessageException in SOAP XI Loop-back scenario

Former Member
0 Kudos

Dear all,

we have an integration scenario where we need to send a PI message to "ourself":

ICo #1 with SOAP XI Receiver (Adressing type “HTTP Destination”) to ICo #2 with SOAP XI Sender.

*** Update 24.04.2018 ***
In ICo #1 we want to route by OFTP virtual file name to a specific inteface for further processing in ICo #2.

ICo #1:


ICo #2:

*** End of - Update 24.04.2018 ***

But at the end of ICo #1 we get an DuplicateMessageException:

Information MP: processing local module localejbs/CallSapAdapter
Information Application attempting to send an XI message asynchronously using
connection SOAP_http://sap.com/xi/XI/System 
Information Trying to put the message into the send queue 
Error Putting message into send queue failed, due to:
com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException:
Message Id 55781766-3e4d-11e8-acf8-00000049615c(OUTBOUND) already exists in
duplicate check table:
com.sap.sql.exception.OpenSQLIntegrityConstraintViolationException: DB2 SQL
Error: SQLCODE=-803, SQLSTATE=23505, SQLERRMC=1;SAPSR3DB.BC_MSG_DUP_CHECK,
DRIVER=4.19.66 
OpenSQLExceptionCategories:
[NON_TRANSIENT, INTEGRITY_CONSTRAINT_VIOLATION]

We understand the error that the SOAP sender tries to create a new message while taking over the message ID from the original message.

Do you have any ideas how to advise the SOAP sender to generate a new message id or any other ways to realize a loop-back scenario while preserving the message context in SAP PO?

Thank you and kind regards,

Tilo Gau

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member190293
Active Contributor

Hi Tilo!

Wouldn't you please clarify the point of using SOAP adapter with XI protocol in your case?

Regards, Evgeniy.

Former Member
0 Kudos

Dear Evgeniy Kolmakov,

I understand you question that you need some more details about the context of our requirement.

Please find an update of my initial question above.

Thank you for your efforts,

Tilo Gau

former_member190293
Active Contributor
0 Kudos

Hi Tilo!

My question is about using XI message protocol instead of SOAP.

Regards, Evgeniy.

Former Member
0 Kudos

Dear Evgeniy,

we understand the XI protocol as native protocol of the SAP PO AAE/AEX and want to realize communication within

the AAE/AEX while preserving as much context as possible (message sender, receiver, interface, attributes etc.).

Therefore we choosed that.

Kind regards,

Tilo Gau

former_member190293
Active Contributor
0 Kudos

Hi Tilo!

I would suggest to use SOAP protocol since it's generic way for implementing SOAP loopback scenario.

Regards, Evgeniy.

PavanKumar
Active Contributor

Hi,

If you are facing this error for all the soap interfaces, then restarting of Server will be helpful to resolve this issue.

Regards

Pavan

Former Member
0 Kudos

Hi Pavan,

thank you for your tip. Unfortunately it restarting of the server didn't help.

Kind regards,

Tilo