cancel
Showing results for 
Search instead for 
Did you mean: 

How to send fixed number of Sync requests in SAP PI 7.3(Java stack)?

Former Member
0 Kudos

Hi All,

We are working on SAP PI 7.3 (java stack).We have a Sync Scenario say WebService-PI-Proxy.

There can be large number of sync requests(say 600) with PI, but due to infrastructure constraints, SAP ECC can handle maximum of 15 requests at a time. In this scenario, Is there any way to hold all the sync requests in PI and send only 15 requests to SAP ECC at a time? As soon as any thread is free, another request from PI will be taken for processing.

I understand that we might have to increase the timeout parameter for request from Webservice which is acceptable in our case.

Can this be achieved (sending only fixed number of Sync requests to SAP ECC while rest are waiting in PI) ?

What is the maximum value for time out can be set for request from webservice?

Accepted Solutions (0)

Answers (2)

Answers (2)

udo_martens
Active Contributor
0 Kudos

Hi,

i think you should do a performance test. Java Only provides actually a good performance, it is good possible that a message only needs a second to be processed, at least at PI if the message is not too big and the mapping not too complex. I guess most time will be consumed by the ECC receiver system, you should quantify that.

Depending from the result you can change the timeout parametes (one would not be enough). In 7.3 you can set timeout individual for each adapter.

Of course Praveen is 100% right, if the sender system is able to send them one by one, the hole solution would be much more stabil.

Regards,

Udo

Former Member
0 Kudos

Martens/Praveen,

Thanks for the Response.

Actually, Sender system would be a web page and it can have many no of users sending the multiple requets at a same time.Pi is acting as a middleware b/w front end (web page) and SAP ECC.

Hence we cannot control request at sender system. 

former_member181985
Active Contributor
0 Kudos

>>SAP ECC can handle maximum of 15 requests at a time

I am not sure, if max 15 request can be limitation on ECC end. As far as I know there is nothing you need to do in PI since limitation is from ECC end. Even if some thing can be done in PI, chances are high for time-out's.

I think, you do not require even PI in this case, as proxies can be called directly either using inbound plain HTTP service in ECC (or) by exposing proxy as a webservice in ECC.

former_member181985
Active Contributor
0 Kudos

Hi,

Ideally this approach should be controlled in source sender system.