cancel
Showing results for 
Search instead for 
Did you mean: 

How To split large message using File Adapter

Former Member
0 Kudos

Hello everyone,

Here is my scenario FTP > XI > BI.

I got 2 questions:

(1) I am getting large message around 70 MB file.

How we can split the message into multiple files 10 MB each before processing the file into XI?

(2) Is there is any way we can find out size of file which is on FTP without contacting FTP admin?

through XI before processing the file?

Thanks

Vick

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member192295
Active Contributor
0 Kudos

HI

This link will help u try it

Former Member
0 Kudos

Hi,

Follow this link to handle the large files

former_member187587
Contributor
0 Kudos

HI Vick,

usually with XI you process information that has some buisness logic in it, thefor

it has a standard structure that repeats itslef.

1)Check the file provider design documents

2)locate the begin and end of each message type.

3)define in the file adapter with content conversion the structure of your single message.

4)define the parameter recordset per message as 1, this will send a single message for each line structured.

At the BI side I'll reccomand to use a server PROXY interface for

stability and reusability.

Good luck

Former Member
0 Kudos

hi vick,

check the blog

Zip or Unzip your Payload with the new PayloadZipBean module of the XI Adapter Framework

SAP XI acting as a (huge) file mover

Managing bulky flat messages with SAP XI (tunneling once again) - UPDATED

regards

kummari

prateek
Active Contributor
0 Kudos

U can write a script to split the file and use this script before the processing of file from the file adapter. Use the Operating System Command option in communication channel. Or else u will have to write an adapter module.

Regards,

Prateek

Former Member
0 Kudos

HI

Check below blog

here he zips file and sends.

r u can use bean :PayloadZipbean

to zip u r file and place it in target

rgds

srini