cancel
Showing results for 
Search instead for 
Did you mean: 

creating files based on IDOC segment

Former Member
0 Kudos

Hi Experts,

In my IDOC-File scenario based on IDOC segment repetition I have to generate that many files in receiver side. i.e. suppose if there are 2 segments then I have to generate 2 different files in same receiver side (only one receiver system). Without using BPM's how can we do this?

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Hi,

you can go for Multimapping. It can be easily done. You have to achieve it in mapping.

First go to messages tab - Change the target message occurrence to 0..Unbounded. Now take the IDOC segment map to Root node of the target. Do all the necessary mapping logics. Run the scenrio. Thatz it!!

Best regards,

raj.

Former Member
0 Kudos

Hi Raj,

Any related material on this kind of scenario?

Regards

M.S.Reddy

Former Member
0 Kudos

Hi,

Basically you can do this in Multi Message mapping. In your receiver determination specify file name with processing parameters add date time stamp. It will create multiple files...

Check out this blog for reference..

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Nilesh

justin_santhanam
Active Contributor
0 Kudos

Reddy,

See the link. You have to change the target structure as in the below URL.

http://flickr.com/photo_zoom.gne?id=956027877&size=o

Consider Sample_in as ur IDOC and Sample_out as ur File

Best regards,

raj.

Former Member
0 Kudos

Thanks to Paul, Raj and Nilesh for your quick response. points rewarded

Regards

M.S.Reddy

Answers (2)

Answers (2)

Former Member
0 Kudos

Here's what he's talking about in the mapping.

http://i161.photobucket.com/albums/t207/Reimius/untitled.jpg

Of course it would be in your target message, not the souce like the picture

Former Member
0 Kudos

Wont you have a problem with the file name then? Or do you want to name them accord to order or something like file1 file2 ...

Former Member
0 Kudos

Hi Paul,

Thanks for your quick response. I want files in the format file1, file2...

how can I do that?

Regards

M.S.Reddy