cancel
Showing results for 
Search instead for 
Did you mean: 

PI Message Throttling

NishantChavan
Participant
0 Kudos

Hi Experts,

I have a scenario, where SAP will be sending a file/proxy with multiple records to PI and PI wants to send one record at a time to receipt system and there should be delay between 2 records. This is because the recipient system cannot handle the load.   I want to achieve this without ccBPM and we are on dual stack 7.3 installation.

Please help.

Thanks,

Nishant

Accepted Solutions (0)

Answers (4)

Answers (4)

asdasd_asdasd
Active Participant
0 Kudos

To ensure that only passes 2 rows each "X" amount of time, you should create a module with the "delay" parameter within the module should use the code Add Time Delay in message mapping - Process Integration - SCN Wiki ( using your parameter) in the receiver adapter and set the QOS as "EOIO".

arunneerolil
Contributor
0 Kudos

Nishant,

You can easily add a delay in SAP Sender itself.

Just implement ABAP wait if you are using a background program to send the data.

wait up to time seconds -> between every 2 record send/proxy call

If not, you can build a staging logic on your on in the SAP sender itself.

regards,

Arun

iaki_vila
Active Contributor
0 Kudos

Hi Nishant,

The wiki shared by Hareesh is currently offline till September. The wiki talked about the Thread.sleep java instruction in order to insert the Delay. You have a good explanation in this Anupam answer:

Regards

former_member184720
Active Contributor
0 Kudos

>>there should be delay between 2 records.

How much delay you want?

As long as you maintain the QOS as "EOIO" then there should be a delay. (may be in milliseconds).

Though it's not a good practice to handle this in middle-ware, possible option

Add Time Delay in message mapping - Process Integration - SCN Wiki