on 08-30-2010 3:54 AM
Hello
if a proxy is sending 1000 line items , how can the performance be optimised for a proxy development?
1) can it be split and send 100 line items , ten times ? if so what has to be done.
2) Generally for a proxy what are the kinds of optimization possible for high volume loads?
Thanks
> if a proxy is sending 1000 line items , how can the performance be optimised for a proxy development?
>
> 1) can it be split and send 100 line items , ten times ? if so what has to be done.
>
> 2) Generally for a proxy what are the kinds of optimization possible for high volume loads?
1000 lines can't be any issue at all in case of proxy, so I guess this is just an example.
Anyway let's say you want to split 1000 line items into 100 line items then it is very easy do inside the proxy code.
You just need to call the method inside the loop and in the loop you can put a check or count and when this count reaches to 100 it will trigger the method.
Example:
LOOP AT itab1 INTO wa_itab1.
MOVE wa_itab1 to wa_itab2.
APPEND wa_itab2 to itab2.
CLEAR: wa_itab1, wa_itab2.
count = count + 1.
IF count = '100'.
CALL METHOD MTO_TEST->execute_asynchronous
EXPORTING
output = itab2.
CLEAR: count, itab2.
ENDIF.
ENDLOOP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you are sedning 1000 lines of data to PI, first you need to find that,PI facing any troublem for to process 1000 lines, if yes , then you can split the data, split should happen at Proxy level only.
I dont think 1000 lines will cause problems and the adavtange with proxy is best perfromace..
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.