cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member306381
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

manoj_khavatkopp
Active Contributor

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

former_member306381
Participant
0 Kudos

Hi Manoj,

I agree with you can you please give me a clear picture of idoc packging split how does it work exactly.

Thanks,

Bhaskar

manoj_khavatkopp
Active Contributor
0 Kudos

Have a look at this blog

former_member306381
Participant
0 Kudos

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

peakMeissner
Active Participant
0 Kudos

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

former_member190293
Active Contributor

Hi Frederick-Claud!

I guess the chunk mode is intended to be used for large file transfers but not for splitting, since the chunks get combined back at destination point.

Regards, Evgeniy.

peakMeissner
Active Participant

THX 4 the info. I was just having a first guess. But I suppose you're right.