cancel
Showing results for 
Search instead for 
Did you mean: 

Splitting a file

Former Member
0 Kudos

Hi.

I'm doing a splitt of a file.

I will get a text file and the rows will have two different identifiers.

Some of the rows will start with the character '1' and some of the rows will start with character '2'.

All rows starting with '1' will be merged into one file and´all rows starting with '2' will be merged into a second file. Both files will be sent to the same system.

I have no proble to read the incoming file into an XML message, it is the splitting into two files that creates problems for me.

Is it possible to solve with one message mapping?

Regards

Andreas

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

You need to go for multi mapping as you have to group them separately based on the identifier.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90dcc6f4-0829-2d10-b0b2-c892473f1...

Former Member
0 Kudos

Thank you.

Will look into that instruction.

//Andreas

Answers (0)