cancel
Showing results for 
Search instead for 
Did you mean: 

How to Configure Single Threading of Interface Messages

ChadRichardson
Participant
0 Kudos

Good day, Experts

We have an ABAP job that accumulates a large amount of data within ECC that will translate into 500 messages to PI.

The first message that is sent translates to a DELETE ALL type message that clears the resulting database tables on the other end of the interface in preparation for the next 499 INSERT_UPDATE type messages.

Problem is that in PI 7.0 we have not found a way to ensure that the first message sent which is the DELETE message executes before the following INSERT_UPDATE messages.

We're finding the that all of the messages are landing in mulitple XBTO8___00xx parallel queues which are processing independantly.

Any help you could offer would be greatly appreciated.

Thanks,

Chad

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>We're finding the that all of the messages are landing in mulitple XBTO8___00xx parallel queues which are processing independantly.

if you want to see them in one queue call the proxy from ECC like this:

/people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies

Regards,

Michal Krawczyk

ChadRichardson
Participant
0 Kudos

Thank you for the quick response Michael.

Problem. The code example from the link does not work.

I keep getting...

Field "PRXY_ASYNC_MESSAGING" is unknown.

Any ideas???

MichalKrawczyk
Active Contributor
0 Kudos

hi,

this is the same piece of code from help.sap.com (in terms of functionality)

http://help.sap.com/saphelp_nw04/helpdata/EN/65/40c9a4a1fa476288ac61b5fcc6bbde/content.htm

Regards,

Michal Krawczyk

ChadRichardson
Participant
0 Kudos

BINGO!!! The missing piece was the delcaratoin of the messaging object (See below).

DATA:

lo_async_messaging TYPE REF TO if_wsprotocol_async_messaging.

  • specify queue id

lo_async_messaging ?=

client_proxy->get_protocol( if_wsprotocol=>async_messaging ).

lo_async_messaging->set_serialization_context('RMS0000062').

Thanks again Michal!!!

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Richard,

send the first message synchronous or all in modus Exactly Once In Order.

Regards,

UDo

ChadRichardson
Participant
0 Kudos

Thank you for the response UDO.

How do I configure an ABAP proxy message being sent out of ECC to PI as EOIO???