cancel
Showing results for 
Search instead for 
Did you mean: 

Can I slow down Processing of each mesg in PI?

Former Member
0 Kudos

Hi all,

using performance tuning, we can tune message size or no of messages.

suppose if 10000 messages are coming and if we are packing them to 100 packs of each, is it the case that PI will put more burden on the target system?

Because the time interval we set will not matter and it considers only the number of messages which is true all the time. Hence it will send all the messages in a batch of 100. Correct me if I am wrong..

but I would like to slow down the way PI process it

i.e the third party is not in a position to handle the speed at which PI is sending.

How do I induce delay in the message processing between each packets?

Nikhil.

Accepted Solutions (1)

Accepted Solutions (1)

samiullah_qureshi
Active Contributor
0 Kudos

As per my understanding you are using IDOC so you will go for ALE setting instead of any sender communication channel. So delay in adapter will not help you.

You can delay your message in message mapping. Please see following thread-

Edited by: Samiullah Qureshi on May 13, 2009 9:39 AM

former_member200962
Active Contributor
0 Kudos
As per my understanding you are using IDOC so you will go for ALE setting instead of any 
sender communication channel. So delay in adapter will not help you.

forgot to mention...applicable on receiver side :(...for this scenario

You can delay your message in message mapping

thats agood one:)

Former Member
0 Kudos

This is a good idea.

I am doing following...

Thread.sleep(500);
result.addValue(" ");

and I am getting following error message.

Source code has syntax error: G:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map3d49ebb03fc711dec7b400188be5e894/source/com/sap/xi/tf/_MM_MATMAS_.java:90: cannot resolve symbol symbol : variable result location: class com.sap.xi.tf._MM_MATMAS_ result.addValue(" ");

am I missing something?

should I import some extra package for this purpose?

I am not using any input value ... now

Edited by: Nikhil A on May 13, 2009 4:18 PM

former_member181962
Active Contributor
0 Kudos

Hi Nikhil,

Try importing this package:

java.lang.Thread

Regards,

ravi

Former Member
0 Kudos

thanks all,

It was a useful new point to know to slow down the process without usage of BPM

Appreciate it.

I resolve this by using return instead of return.addValue.

Nikhil

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos
but I would like to slow down the way PI process it 
i.e the third party is not in a position to handle the speed at which PI is sending.
How do I induce delay in the message processing between each packets?

RWB --> Component Monitoring --> Adapter Engine --> Communication channel monitoring -->

The window which opens for CC monitoring will have a tab called Availability Time Planning (on the Top Right)...using this you can configure at what time the channel should poll

This feature is not available for above a certain SP.....

just search for Availability Time Planning on SDN we have a blog for this....check if this the feature that you are looking for

Hope it helps..

Regards,

Abhishek.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>i.e the third party is not in a position to handle the speed at which PI is sending.

How do I induce delay in the message processing between each packets?

1. send them from the source application slower

2. use adapter that allows polling from the target - file/ftp adapter

Regards,

Michal Krawczyk

Former Member
0 Kudos

It is for one time activity where all the data from ERP will be sent using IDOC. The current scenario with SOAP on the target is not capable of accepting at the PI is sending.

The web service is already ready and running.

Scenario is : IDOC-SOAP.

Michal, any suggestion other than using File adapter?

Nikhil.