Skip to Content

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

Split Source Message to Multiple Files

I would like generate a new file in the File Adapter for each instance of the <Payload> in the source XML message. The source XML message has a looping <Payload> field.


Incoming XML Message sent via SOAP over HTTP (SOAP Adapter):


Expected Output:

2 fixed width files - one for each Payload (FCC in the File Adapter)

These are the changes Iu2019ve done so far:

1. In the IR, Message Mappingu2019s Message tab, change the occurrence of the message type from 1 (by default) to 0........unbounded

2. In the IR, Interface Mapping, change the occurrence of the target interface from 1 (by default) to 0........unbounded

3. In the ID interface determination, change the type of interface determination from Standard to Enhanced


But it's only generating one file in the output for the first instance of the <Payload>. What am I doing wrong? Do you have any other solutions?

Thanks in advance!

Former Member
Not what you were looking for? View more on this topic or Ask a question