Skip to Content
0
Jul 21, 2020 at 11:11 PM

Create two different IDoc types using Multi-Mapping?

73 Views

Dear experts,

I am receiving XML files from a 3rd party.
This is the challenge: these files contain multiple business documents. I have to create ORDCHG (update sales order) and SHPCON (update outbound delivery) IDocs from these, depending on a field in the payload "DELIVERY_NO":

Is this possible? Can I do this using a multi-mapping, I looked at this blog for example: https://blogs.sap.com/2011/02/24/multi-mapping-without-bpm-for-idoc-scenarios-yes-it-s-possible/
But my target message would be 2 different IDoc types, so my structure would look like this:

<?xml version="1.0" encoding="UTF-8"?>
<DELVRY07>

<IDOC BEGIN="1">
...
</DELVRY07>
<ORDERS05>

<IDOC BEGIN="1">
...
</ORDERS05>

I appreciate any input on this. Thank you.

Best regards, Peter

.

Attachments

multipleidocs.png (16.0 kB)