Skip to Content
author's profile photo
Former Member

splitting of messages

Hi

I have a 80MB file and want to split that into 4 files (20MB each). Is it possible to split the message using file-xi-file scenario ?? I mean 4 files to be printed in target folder.

Regards

Kumar

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 08:14 PM

    Hi Kumar !

    Yes. You should set the "Recordsets per Message" parameter of the File adapter SENDER. It should be the amount of recordsets you want XI to put per XML message. If your source file has 80mb and that is for example aprox. 1.000.000 recordsets/records, then you should do the math to set the amount of recordsets to match aprox. 20mb (aprox. 250.000 recordsets will be about 20mb!!!).

    To use this feature, you must activate the file content conversion in message protocol of the comm channel settings. Also set "Recordset Structure" as "your_recordset_name, 1". Create a data type/message type according to your recordset structure. You also can process the file as raw, that is, all record data, as only one big field.

    check this:

    /people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi

    Regards,

    Matias.

    PS: please award points if helpful!

    Message was edited by:

    Matias Denker

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 08:20 PM

    Hey

    u can use any open source file splitter(just search google for any file splitter) to break the file into smaller chunks(20MB in ur case) and then feed one by one.

    just by XI its not possible

    Thanx

    Aamir

    Add comment
    10|10000 characters needed characters exceeded