Multiple target messages
Hello,
for our business process, we need to map a single source message to multiple target messages (of different message types).
The (ABAP)mapping takes care of this mapping, so I put a transformation step after my receiver step, that invokes this mapping.
What do I have to define after the transformation step: do I use a fork or a send-for-each-block or ... ? Since we're on SP15, can we use the "extended" option in the interface determination to facilitate our process ?
Thanks for your answers !
Kind regards,
Frederik
Hi,
What is the SP that you are using. If it is XI 3.0 and SP less than 14 then it is not possible. You need to use Abstract interface.
And why do you need Multimapping in the first place. You can do a simple mapping and in the receiver determination you can add more Business Server/System. Each Service/System you will have seprate IB interface and a separate Interface mapping.
Hope this solves your problem.
Thanks,
Prakash
Similar Messages
-
Split source message into multiple target messages
Hi Experts,
I have a scenario where a source message needs to be split up into multiple messages for the corresponding target systems.
One source system and three target systems.
Source system is a .Net application
Target systems - SAP R/3, Two webservices on different application systems
Can i implement the scenario above using BPM in the following manner?
Source->WS Adapter->PI-->RFC Adapter->SAP R/3
Source->WS Adapter->PI-->WS Adapter->Target 2
Source->WS Adapter->PI-->WS Adapter->Target 3
I could have a webservice at the source which would be called by the .Net Application
Webservice request would be passed to an integration process which would split the message for the three target systems specified.
Correct me if am wrong.
Also please get back to me if you need more inputs
Regards,
KalyanHi,
You can implement the same with out using the BPM itself...
you can use either of the below options
1. if target messages are optional like based on certain conditions if you need to route the message to the particular targets
then you can use multimappings for the same which generates the mappings based on the condition for the particular target.
2. if each incoming message needs to be routed to the three receivers each time then configure the three receivers at the receiver determinations one for each target...
3. if you are using the same business system for all the three receivers then create the three interface mappings and configure the same at the interface determination level so that for each message three target messages will be generated and send to target...
HTH
Rajesh -
Single source Multiple Target Messages
Hi All,
I have one Source DataType and 3 TargetDataTypes
I did Mappping and IterfaceMapping successfully while Iam going to Activate the Objects, the follwoing error is showing. Help me to this run successfully,
Error is
Activation of the change list canceled Check result for Interface Mapping Micro_IM | http://MicrosoftDifferentMapping.com: A multi-mapping with multiple source or target interface instances is only recommended with asynchronous interfaces, since only a mapping of this type can be used in the process editor. Message Interface Micro_OB_MI | http://MicrosoftDifferentMapping.com are not asynchronous abstract interfaces A multi-mapping with multiple source or target interface instances is only recommended with asynchronous interfaces, since only a mapping of this type can be used in the process editor. Message Interface Micro_IB1_MI | http://MicrosoftDifferentMapping.com, Message Interface Micro_IB2_MI | http://MicrosoftDifferentMapping.com, Message Interface Micro_IB3_MI | http://MicrosoftDi
Thanks & Regards,
Ashok.Hi,
What is the SP that you are using. If it is XI 3.0 and SP less than 14 then it is not possible. You need to use Abstract interface.
And why do you need Multimapping in the first place. You can do a simple mapping and in the receiver determination you can add more Business Server/System. Each Service/System you will have seprate IB interface and a separate Interface mapping.
Hope this solves your problem.
Thanks,
Prakash -
Collect multiple type of idocs in one target message
Hi,
I want to collect several idocs (WP_PLU, WP_EAN) on one target message (FILE), group by partner.
I known it's possible to to that using BPM but, because of performance reason, i can't use this option.
There is another way to do it?
Thanks,
Carme.Hi ,
Other than BPM you can do but it will be complex.
Then you drop all the IDOC XML file in a folder.
And then pick up all the file using file adapter.
File adapter can support attachments in Sender File adapter (NFS)
you can use additional Files option - http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
one file will come as a main payload otheres will come as an attachment.
Then in mapping you need read those attchment from input data and map it to target.
Check this link: /people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
Also this thread Attachment in Java mapping
http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/mapping/api/Attachment.html -
Reciever File Adapter to create multiple target files
Hi All,
I have done the mapping to create multiple output messages . I would like each of the messages to be stored as a separate file in the target .
Below is the output message with 2 separate MT_CANCELOUT messages . However, both end up in one single xml file .
How do I configure the receiver file adapter to ouput 2 separate xml files ?
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>456</id>
<name>HEY</name>
</LineItem>
</ns1:MT_CANCELOUT>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>567</id>
<name>RAT</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message1>
</ns0:Messages>Hi,
Sorry to say you that but your post show the opposite, it shows you have only one target message !
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>______<<<<<<<
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>456</id>
<name>HEY</name>
</LineItem>
</ns1:MT_CANCELOUT>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>567</id>
<name>RAT</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message1>______<<<<<<<
</ns0:Messages>
If you want two files, you should generate two Messages, and so to do that:
In MM, in your target (tab before "function"), you should have 1 source MT and in target MT, you should have two lines (even if you use the same target MT), after having changed the ouccurence 1->N.
do the same in your operation mapping: 1->N with two receiver service interface (even if it's the same)
because you should have something like:
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>456</id>
<name>HEY</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message1> _____<<<<<<<
<ns0:Message2> _____<<<<<<<
<ns1:MT_CANCELOUT xmlns:ns1="urn://gm.com:VBVTEST">
<LineItem>
<id>567</id>
<name>RAT</name>
</LineItem>
</ns1:MT_CANCELOUT>
</ns0:Message2>
</ns0:Messages>
regards
mickael
Edited by: Mickael Huchet on Dec 2, 2011 8:58 PM -
Multi-Mapping, only want to create target messages sometimes.
Hi,
I have a Multi-Mapping interface which maps a single incoming message to 3 target messages.
Based on the contents of the incoming message I only want to create a single instance of the outgoing messages.
The incoming message can have a repeating node of 3 types A, B or C. If there are multiple nodes of Type A then i need to create a single instance of one of the target messages and map the data in node A to this message, likewise for node B and node C.
I cant figure out how to do this. If I map a constant to the MT level of the target message and there are no type C nodes then the message type for this is created blank. But if I try and use the CreateIf tool then I get a MT created for each type C node.
Can anyone help with this?
If this isn't clear I will try to explain more.
ThanksHi,
Thanks for your answer, I tried what you suggested and while it is creating the MT for type A nodes correctly it is not creating the MT for type B or C nodes. I have tried messing with the context on the incoming field and not getting anywhere.
I always seem to get almost there with this mapping but never what I am looking for.
Gareth -
Empty target message in 1 to n transformation
I am using a ccBPM to handle a 1:n message scenario. I believe I have done everything right:
<li>I have created a message mapping where target message has an occurrence of u201C0..undboundedu201D. When I test the message mapping it works 100% and produces multiple messages.</li>
<li>I have created an interface mapping where the target interface also has an occurrence of u201C0..unboundedu201D. I have tested it and it also works 100%.</li>
<li>In my ccBPM I have two container elements, one representing the source message and a second container that has the correct abstract interface and which is marked as a multiline container.</li>
However, if the message is processed in the ccBPM, I can see in the workflow log that the target message is empty in the transformation step.
Can anyone tell me what I could have done wrong or how I can debug it further to tell what the source of the problem is?Hi Everyone
I found out what the problem was. When one tests the mapping in the graphical mapping tool, you will notice that SAP automatically puts your message inside two tags: <messages><message1></message1></messages>. These tags make sense of course, but the problem was that I put my message inside these tags manually before sending it to the transform. The result was that my message that had already contained the message tags was put inside yet another set of message tags. That is why my transform did not work.
I hope this will help you solve your problem if you encounter a problem similar to mine. -
Multiple Target Files as the number of times Item in source node
Hi all
I am new XI ,my scenario is File to File and my data type structures for source and target are as follows
Data type for source
Source
Header 1:unbound
Org 1:unbound
In declaration of target data type occurrence of all child nodes are 1:unbounded. And I have used it in Message type and in message mapping for my target message type occurrence is showing as 1:1.
My objective is to replicate this entire Target as the no of times the Item is occurring in source ie for multiple items in source I want multiple target files. For this I have mapped item node of source to Target(parent node). But in mapping test it is only displaying one Target structure for multiple nodes in source. Please Help me in solving this issueHi Satish,
Use Multi Mappings :
When you create message mapping change the occurence of target from 1 to unbounded. This will allow you to create multiple target structures.
Then map them accordingly as per your need and you can see multiple output in test.
Just you have to be more focused on the context and for that you have to go thro' the mapping documents.
Search related documents on SDN and go thro' them.
Regards,
Shri -
Multiple Target files as the item in source file
Hi all ,
I am new XI ,my scenario is File to File and my data type structures for source and target are as follows
_Data type for source: _
Source
Header 1:unbound
org 1:unbound
order 1:unbound
Item 1:unbound
itemno 1:unbound
matno 1:unbound
Data type for Target
Target
org 1:unbound
order 1:unbound
itemno 1:unbound
matno 1:unbound
In declaration of target data type occurrence of all child nodes are 1:unbounded. And I have used it in Message type and in message mapping for my target message type occurrence is showing as 1:1.
My objective is to replicate this entire Target as the no of times the Item is occurring in source ie for multiple items in source I want multiple target files. For this I have mapped item node of source to Target(parent node). But in mapping test it is only displaying one Target structure for multiple nodes in source. Please Help me in solving this issue .
Full Points will be awarded
Thanks & Regards
Satish.Hi,
If you want multiple Targerts you need to use UseOneAsMany.
check below link
http://help.sap.com/saphelp_nw70/helpdata/en/38/85b142fa26c811e10000000a1550b0/content.htm
Thanks,
RamuV -
File to multiple IDOC(message)
Hi
I need to map file to multiple IDoc type that means on source message have two target message . Any ideas how to achieve that
Thanks in advance
Regards
Swatantrarefer these weblogs that will give you an idea;
Multi Mapping -
BPM involved:
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
Without BPM:
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible -
Single source to create multiple target nodes
Hi Guys,
I need to create multiple target node as many occurrence of source node. how should i achieve it?
Source node (1...999999) to Target node(1..1)
please suggest.
Regards
SwapnilHi Nutan,
Sorry formatting got messed up so posting again.
Sorry for the confusion. Target structure is 0..unbounded.
Source structure ...................................... Target structure
Message 1 ...................................................Message 1
ZHRMD_A07 (1...1)..........................................MT_EMPLOYEE (0....unbounded)
E1PLOG1(1...unbounded)................................ Field1
I need to create MT_EMPLOYEE multiple times depend upon occurences of E1PLOG1.
Regards
Swapnil
Edited by: Swapnil Bhalerao on Mar 3, 2010 12:41 PM
Edited by: Swapnil Bhalerao on Mar 3, 2010 12:47 PM -
Problem in creation of target with the generated target message
Hi,
Im doing File-to-File content conversion scenario.
Im able to see successful message in SXMB_MONI. Target message also created (Request Message Mapping) according the requirement.
Im using lastfieldOptional option in source content conversion.
Adapters are running fine without content conversion failure..
But the target file is not created.
Could you pls anyone gives the reason or suggest any other things I need to verify.
Thanks,
Venu.Hi,
do you see any errors in adapter <b>message</b> monitor:
http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp
Regards,
michal -
How do you remove multiple email messages at one time
I have a iphone 4 and today it started piling up over 4000 undeliverable messages for no apparent reason. I somehow managed to stop the process but I am left with over 4000 messages that I need to delete. How do you remove multiple email messages at one time. I can "mark" all the messages at once but I cannot find the move or delete button to trash the messages. Can some one help me out.
Thanking you in advance.
PLJust figured it out - I can select multiple messages as you suggested when I am not in full screen mode.
So once I come out of full screen mode - then the multiple windows open.
QED -
How do I open multiple Mail messages at once?
I can select multiple Mail messages, but how do I get all of them to open at once? (I actually do want all of them open; I'm not just trying to mark them as Read.) If I double-click on the multiple selection, the first click un-selects all but one message, which the second click opens. I assumed there'd be an Open in the Edit menu, or a Command-O, or an Open button for the Tool Bar, or an Open on a right-click menu or other special menu, but I can't see any of those. The closest I've come so far is Forward, which quotes them all in one reply, but that isn't really what I want. What am I missing?
just make it is not junk mail
-
How to delete multiple email messages from my Iphone 5c; email folder?
How to delete multiple email messages from my Iphone 5C; email folder.
there used to be option to keep last 50,100,200 messages/emails. We need that back. This is ridiculous to delete one by one.
Maybe you are looking for
-
Can you pls help with theis OIM issue
1. How can I assign as APPROVER dynamically without using the OIM defaul approval process. Is there any way to use custom process? Any Code/Help will be hioghly appreciated.
-
How do i copy images from the web?
How do I copy images on the web for use in a powerpoint presentation?
-
How do i reinstall photos back into iphoto5?
I accidentally messed up my photo library and had to erase it to start again. I have a complete back up reinstalled on the hard drive, but dont know how to get the computer to recognize the folder and load the pictures so that i can see them when i o
-
WS Error - Planned Qty should be greater than Completed + Rejected Qty
Hi All, We've tried to close a Production Order using the ProductionOrdersService Web Service. We're doing this by setting the Production Order Status flag to closed (boposClosed). The call also requires us to re-set the due date so we do that to t
-
"Could not establish trust relationship for the SSL/TLS secure channel"
During the configuration of DUET_E , when calling the DUET Application from SharePoint, the following error is shown : "Could not establish trust relationship for the SSL/TLS secure channel with authority 'MYSAPNW702SERVER:8001'" I have already seen