cancel
Showing results for 
Search instead for 
Did you mean: 

Issue when processing the more than 100 MB data (Proxy to File)

Former Member
0 Kudos

posted Mar 28, 2013 1:43 PM


Hi All,

I am getting  the following error when I tried process huge data(more than 120 MB) from proxy to file (PI 7.1 version) .

400 Bad HTTP request

Bad HTTP request

Error:

-21

Version:

7200

Component:

HTTP_PLG

Date/Time:

Fri Mar 22 09:58:35 2013

Module:

http_plgrt_mt.c

Line:

2045

Server:

corpp01_WD1_51

Error Tag:

{000b7aff}

Detail:

request too big

Accepted Solutions (1)

Accepted Solutions (1)

allamudi_loordh
Active Participant
0 Kudos

Hi Uday,

Either user Integration Engine Configuration -> Specific Configuration -> Runtime ->Http Time out to set Max value for example "10000"

OR

Set the profile parameter icm using SMICM -> Profile -> icm/server_port_0     = PROT=HTTP, PORT=8024, TIMEOUT=900, PROCTIMEOUT=3000 (Set this parameter all http nodes)

Increase time out and process time out.

or check with basis team about the web dispatcher.

Regards,

Loordh

Answers (3)

Answers (3)

Former Member
0 Kudos

This is a recurring problem while processing high volume data in SAP PI. You can refer the following blog post for handling large volume data: http://scn.sap.com/people/smasanta/blog/2012/12/21/how-to-handle-large-volume-of-data-for-proxy-to-f....

Hope this helps you. Post further queries,if any.

Former Member
0 Kudos

Hi Uday,

Ask ABAP developer to reduce the data size into smaller chunks and call the proxy for every chunk. In PI you can use the append mode in the receiver file channel to write as a single file. But make sure you are using EOIO while calling the proxy by setting the queue name.

Below apab code will help you to sett the queue name and process in EOIO

CREATE OBJECT l_proxy.


  TRY.

      l_asyn_msg ?= l_proxy->get_protocol(
        if_wsprotocol=>async_messaging ).
      l_asyn_msg->set_serialization_context( c_queue_name ).   

 

  CALL METHOD l_proxy->PART_MASTER
       
EXPORTING
         
output = wl_proxy_out.

Former Member
0 Kudos

Hi, Rav,

I get the same error too.

how did u resolve the problem? cut the message into small pieces?

Regards

Rene

abhay_aggarwal
Participant
0 Kudos

Hi Rav , Rene,

You can add one field as flag and ask your abaper to send this flag value first time as 0 and second time onwards 1 . Create 2 communication channel for file adapter. when you get 0 in flag field 1st channel will create file with first 20k records and second time when you will get 1 in flag field 2nd communication channel will active and append the next recods in same file.

you have to schedule a job to run this proxy program at every 5 mins. hope this will help..

Regards,

Abhay

Bhargavakrishna
Active Contributor
0 Kudos

Hi Rene,

Try to increase the HTTP time out.

http://scn.sap.com/thread/1164139  (Must read)

Refer below links and notes

Related SAP Notes-824554, 906435, 783515, 910649, 706563

http://scn.sap.com/thread/2120565

https://scn.sap.com/thread/807753

Regards

Bhargava krishna

Former Member
0 Kudos

Thank u a lot!

I got it and ask the ABAP Developer to reduce the volumne of the message. I do not prefer to increase HTTP Timeout.

Regards

Rene

Bhargavakrishna
Active Contributor
0 Kudos

Hi Rene,

thanks for the update. reward if helpful. if your issued is resolved, close the thread.

former_member303666
Active Participant
0 Kudos

Hi dong,

Through proxy, possible to send large volume of data.

try to increase the (XPI Adapter) default time in NWA and check it.

Regards,

Kesava.

Former Member
0 Kudos

Hi Kris,

I cannot close this thread, because i am not the initiator.

Regards

Rene