Quantcast
Channel: SCN : Popular Discussions - SAP Process Orchestration
Viewing all articles
Browse latest Browse all 1306

Messagesplit of IDOC to several XML messges

$
0
0

Hello Folks,

 

I have a following issue:

 

I want to split an INVOICE Idoc to several XML Messages with the following condition:

 

If INVOICE belongs to country  then the  xml message should be created..

 

It works only if the INVOIC.xml belongs only to one country, but if the INVOIC.xml includes several IDOCs to several countries, then the message split does not work. All needed Information are mapped only to the first message instead to split to message 2 or message 3, which is found. How can I solve this?

 

For instance salesorg in invoice belongs to UK  or Ireland, then the target-xml should be created see the mapping for the first message 1 below.

But if there several IDOCs see Picture 3 which includes IDOCs for GB, Portugal and Italy for instance, it does not work. How should the mapping step should be correct? I also change the context of the ORG field to the IDOC Segment, because it refer to E1EDK14.

 

pi_mapping.JPG

 

countries_pi.JPG

 

invoices_many.JPG

 

Thanks in advance for your help

Kind regards,

Erkan


Viewing all articles
Browse latest Browse all 1306

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>