cancel
Showing results for 
Search instead for 
Did you mean: 

File Size issue during processing from SAP to PI7.4

0 Kudos

Hello All,

Interface scenario : Proxy to File

System : SAP PI 7.4  (java stack only)

we are facing File size issue when sending huge file around 140 MB from SAP to PI 7.4 . Message are failing SAP  SXMB_Moni with Bad request error.

Same interface was working fine in PI 7.1 and after migrating to SAP PI 7.4 we start getting this issue and not able to send any file to target system as file is not coming to PI and it's failing SAP itself.


Please suggest what configuration setting we need to do to resolve this issue in PI 7.4 .

Any quick help will be appreciable as this is also impacting  Production system's file .



Regards,

Rajeshwar Singh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

Increase the value for  "icm/HTTP/max_request_size_KB"  parameter in ECC. By default, request upto 100 MB can be allowed by the SAP system, but in ur case the request size is 140 MB as a result system is throwing bad request error.

But having said so, u should never design an interface in this manner. Even if u pass message from SAP, ur request would cause performance issues in PI.

Thanks

Amit Srivastava

nabendu_sen
Active Contributor
0 Kudos

Hi Rajeshwar,

I am little bit confused now. You have mentioned SAP is sending message as Proxy communication. Then how "File" is failing at SAP side?

Bad Request is more about Timeout issue to Proxy call. You can increase the time out:

400 Bad HTTP request : when calling proxy from SAP | SCN

140 MB is big amount of data, may be you could split and send in chunks:

It is more preferable to reduce the size of the Proxy message over Increasing the Timeout. 

Another possible soultion:

Regards,

Nabendu.