Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to create one file to 2 output files with a condition?

hello friends,

i have a scenario to split one file into two different files using a condition.

based on the account number ( 100's of accounts) i have to split the file into two. ex: acc# 1, acc#2, acc#3 goes into one file rest of the account number records goes into another file how to build the logic.



Former Member
Former Member replied

Hi Sri,

One way-

You can achieve this with the help of Java Mapping..

In the Java Mapping, read input, parse the input while parsing the document , group the data into 2 structures and in the Interface Mapping use this java mapping. So here you have 2 target message interfaces..

Hope this helps,



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question