cancel
Showing results for 
Search instead for 
Did you mean: 

Process SOAP outbound messages sequentially

aayushaggarwal
Participant
0 Kudos

Hi Experts,

In our project we have a IDoc to SOAP scenario, but we are facing a problem while sending the messages to the target system.

There are only a limited number of sessions that are available in the target system.

For ex: If we are sending 100 messages to the target system and the number of sessions available on the target system is 50, then 50 messages will go into error and return the SOAP fault.

Could someone please tell,

Is there a way to avoid this?

is there a way to send the messages sequentially rather than parallely?

Regards,

Aayush Aggarwal

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member190293
Active Contributor

Hi Aayush!

Another option might be to use SOAP loop with EOIO quality of service to send IDocs to receiver system one by one.

Regards, Evgeniy.

aayushaggarwal
Participant
0 Kudos

Hi Evgeniy,

I am not sure whether i can use that because the scenario is IDoc to SOAP...

Regards,

Aayush Aggarwal

former_member190293
Active Contributor

Hi Aayush!

It doesn't depend on adapter type used. You just use intermediate interface and split message flow in two parts (ICOs). And in second ICo you can set quality service to EOIO for sender SOAP adapter.

Regards, Evgeniy.

former_member194786
Active Contributor
0 Kudos

If you are on PO, you can batch IDocs up and send them sequentially from BPM.

former_member186851
Active Contributor
0 Kudos

On what process IDOC is triggered.

Try scheduling a batch job so in way that only 50 Idocs are only generated per JOB.

aayushaggarwal
Participant
0 Kudos

Hi Raghuraman,

The IDoc is getting generated through a change pointer.

Could you please tell me the steps for scheduling the background job?

Regards,

Aayush Aggarwal

former_member186851
Active Contributor
0 Kudos

Hello Aayush,

Try the below steps

1.In the partner profile select Collect IDOCs options with pack size as 1.

2.Schedule the Job "RSEOUT00" with variants -number of IDOCS as 50 and run this job based on how the IDOC are getting generated(for example in one hour 50 IDOCS means schedule the job to run for every hour).

This is one approach,You can check with ABAPer as well for any other approach.

And is it like every time if you send 100 IDOCS it is getting failed?How long a single IDOC posting takes place?

If its less you can delay each message processing using UDF else you can try BPM as well.

Also below approach might help which will process the IDOC sequentially instead of parallel processing.

https://blogs.sap.com/2013/02/04/proxy-and-idoc-serializing-techniques-in-pi/

aayushaggarwal
Participant
0 Kudos

Hi Raghuraman,

Thanks for your reply, the link you shared is for Inbound IDocs...

Also, I'll give this report RSEOUT00 to the team.

Regards,
Aayush Aggarwal