on 12-17-2007 7:14 AM
Hi All,
I am doing File 2 File Multimapping Scenario with out using BPM Concept but, My result was Struck at Message Mapping.
Source Target
Message Message1 Details Details
Name Name
ID ID
Message2
Details
Name
ID
I am getting Runtime Exception at Message Transfermation error if i do the one 2 one direct mapping....
so, How to do the Mapping for thei Scenario?
WIth Regards,
Mahesh
I am unable to understand it....Can you please make it in better way:-
Like go to IR--MM:
Paste the SourceMessage}
Paste the Target Message} XML Format.
Also when we say Multimapping that it is Merging? Splitting ..like it is 1:n or N;1 or N:M ?
Thanks
Farooq.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Farooq,
I am using Split and Merge.
Source XML
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
<xsd:import namespace="http://tcs.com/Demo" />
<xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Message1" form="qualified">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="p0:BPM_In_MT" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Target XML
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
<xsd:import namespace="http://tcs.com/Demo" />
<xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Message1" form="qualified">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="p0:BPM_Out_MT" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Message2" form="qualified">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="p0:BPM_Out1_MT" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Thanks
Mahesh
Hi Experts,
I could not able to deploy development components on CE 7.1 Server and i am getting the following error.
Please look into the same and help me in resolving the same.
--- Status:
Transport Exception.
--- Description:
[ERROR CODE DPL.DCAPI.1028] SocketException.
Reason: Connection reset by peer: socket write error
--- Exception:
com.sap.engine.services.dc.api.deploy.TransportException: [ERROR CODE DPL.DCAPI.1028] SocketException.
Reason: Connection reset by peer: socket write error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahesh,
did your problem solved??
if not here is my suggession.........
You said u are doing splitting and merging.
If you do splitting a message, you dont require any BPM. But if you do merging you need to go with BPM. When you do merging, you will come across the concept co-relations which supported by only BPMs. These co-relations will merge messages with respect to a field.
Suppose, in ur message structure
..Details
........Name
........ID
if you split messages there is no conflict
if you merge messages,
how do you merge??
you need to take a field and depending upon its value,( i.e, if they are same only) you can merge otherwise it will be an error( even conceptually).
I think I am clear.
Regards,
Pavani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavani,
I am doing File 2 File Multimapping Scenario with out using BPM concept .but here , i was used Enchanced Option in Interface Determination .
So, my Scenario is working properly but, small exception at Message Mapping.
Here, i was used One 2 One Direct Mapping. so, its giving error like : Split Message Created no Message.
How to do mapping uing node funtions?
With Regards
Mahesh
hi mahesh,
If you are going with only splitting of messages, as i said earlier, there is no problem you can do without BPM.
you need not use any node functions here. node functions are used for applying your logic depending on your requirement.
is your inputxml message structure is as follows?
1.
<MTO_name>
<record>
<field\>
</record>
</MTO_name>
or
2.
<ns1:messages> -
remove
<ns0:message1_...> -
remove
<MTO_name>
<record>
<field\>
</record>
</MTO_name>
<ns0:message1_...> -
remove
<ns1:messages> -
remove
if your structure is in first form your message will get splitted.
if it is in 2nd form, you need to remove those extra tags.
check your Interface mapping with multiple records.
if showing errors:
1. make occurance ...unbounded.
2. use node functions properly in mapping.
(remove context)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to implement 1 : n, n : 1 or n : m, you need to implement it using BPM only, becoz multimapping is only supported with ccBPM otherwise it will not work. if you just wanna map it try using mapping patterns.
Hope this will help you.
Regards
Aashish Sinha
PS : reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Test the message mapping with the actual message that enters it, in the case the error occurs.
Copy the message from SXMB_MONI and enter it in source mode of test tab of the message mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.