on 11-17-2009 6:25 AM
Hello All XI experts,
I need your help to work for my scenario which is a Proxy-File .
I need to send data picked up from certain group of tables via sender proxy to XI.
The problem is that , we will be having thousands of records at the same time , so what we plan we can send the records via multiple messages in bunch of n no of messages rather sending the entire data in a single message.
Can you please help me in order to find a way by which we can achieve this in sender proxy ( to send multiple messages with each bunch having n no of messages ) .
Waiting for your expert thoughts and invaluable help.
Thanks,
Sunil
Sunil,
Can you please help me in order to find a way by which we can achieve this in sender proxy ( to send multiple messages with each bunch having n no of messages ) .
Yes, I can help you
It is fairly simple ... in your proxy code, when you are looping at the tables for moving the records, make a counter and increment it with each record. As the counter reaches "n", execute the proxy method.
A sample logic for you, change it as per your requirements -
loop at <tab1> into <tab2>.
move <>.
.
.
append <>.
add 1 to l_count.
add 1 to l_total_count.
if l_count = 500.
<Call Proxy Method>
commit work.
clear l_count.
endif.
endloop.
Hope this helps.
regards,
Neetesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.