Skip to Content
0

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

Dec 22, 2017 at 07:49 AM

74

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Manoj K Dec 22, 2017 at 08:52 AM
1

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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

0

Have a look at this blog

0
Frederick-Claud Dimmer Dec 22, 2017 at 08:29 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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.

1

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

1
Bhaskar mamilla Dec 24, 2017 at 05:38 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded