cancel
Showing results for 
Search instead for 
Did you mean: 

proxy optimization

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

> 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.

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

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