Skip to Content

Splitting Files into 10kb/20kb's in my case IDOC_AAE TO FILE SCENARIO

Hi Gurus,

i have a requirement lets say IDOC_AAE TO FILE here in my case have to split the files into kb's (10KB/20KB) is there any solution for this ?

Thanks

Bhaskar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 22, 2017 at 08:52 AM

    I would not suggest you to split this scenario based on the size. There is no guarantee that the file getting split has all the relevant data it may happen that data(say a Purchase order) is split into different files.

    Instead of this why not split depending on number of IDOC's using packing in that way you can control the message size as well all their is guarantee in data validation

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 22, 2017 at 08:29 AM

    Hey Bhaskar mamilla,

    I think the easiest way for you might be to create 2 scenarios. In the first scenario you would map the IDoc into the final output structure and write it to a temporary drive of the PI/PO-Server or any sort of NFS / FTP drive you have availiable. In the seccond scenario you could pick up the file and use the file receiver channel using chunking parameters as described in the following blog.

    I hope this solves your issue.

    Regards.

    Frederick

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 24, 2017 at 05:38 PM

    Thanks for the info but my doubt is there is no option of chunk mode in File reciever am i correct .or something i'm missing thanks

    Bhaksar

    Add comment
    10|10000 characters needed characters exceeded