on 07-17-2009 9:48 AM
I am doing 1:N multimapping From Proxy to File scenario .Proxy send three types of data all having same stucture but depending on the value of First field we split the whole stucture in 3 parts on target side and generating three files on taget side.During testing values get Passed from the SXMB_MONI(processed) and we get whole payload data upto
"Message Branch Acording to Reciever List" .But when i check payload data in 'Request Message Mapping" we donot get any data in Payload.Taget File is generated but when we try to oen the file I get message " Unable to display the File".
can any expert help me resolve this problem.
Have you tested your mapping in the repository ?
Ref:/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have checked in SXMB_moni .It showing processed status.Payload data is coming only upto "Message Branch accoriding to Reciever List" in Pipeline.But, Failed to get populated in "Request Message Mapping" payload.But the three file are visible in target directory.But it also giving message " unable to display file" .
I need to generate 3 files each having similar structures depending upon the first field 'listcode' values whose values are 'N0','MA','MY' coming in a proxy structure.The source structure is as follows::
MT_Source
-
>Detailrecord..0..unbounded
-
>listcode..0.1...xsd:string
-
>itemcode...0.1...xsd:string
-
>description1...0.1..xsd:string
-
>description2...0.1..xsd:string
-
The target stuctures are:
MT_Target_N0
-
>Detailrecord..0..unbounded
-
>listcode..0.1...xsd:string
-
>itemcode...0.1...xsd:string
-
>description1...0.1..xsd:string
-
>description2...0.1..xsd:string
&&&&&&&&&&&&&&&&&&&&&&&&&&&&
MT_Target_MA
-
>Detailrecord..0..unbounded
-
>listcode..0.1...xsd:string
-
>itemcode...0.1...xsd:string
-
>description1...0.1..xsd:string
-
>description2...0.1..xsd:string
&&&&&&&&&&&&&&&&&&&&&&&&&&&&
MT_Target_MY
-
>Detailrecord..0..unbounded
-
>listcode..0.1...xsd:string
-
>itemcode...0.1...xsd:string
-
>description1...0.1..xsd:string
-
>description2...0.1..xsd:string
I need to do mapping of such 1:n multimapping mapping.I have done mapping but getting error in moni "Split mapping created no messages".Please suggest me some right way to do mapping
Thanks Abhishek.
I have tried with your suggestive steps.
But i found problem during processing in SXMB_MONI.
I have created mapping as per your suggestion.I tested it in repository,it's working to generate required output and takes the copy of XML generated in repository message mapping and send xml message from integration engine component monitoring test step.Now , when i checked in sxmb_moni i found system error.This error is in 'request message mapping' step
and error i am getting is as follows:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">GENERIC</SAP:Code>
<SAP:P1>Split mapping created no messages</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Split mapping created no messages</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please suggest me to resolve this issue.
Hi manjusha,
Thanks for your suggestive action for removing Tag from XML message and testing.
i followed the following link:
The points to consider is:
" copy the XML from the TEST tab of the message mapping, paste it in notepad and save it).
Can you check the source XML. Does it contain Tags like <messages> .. If yes, you need to remove them from your source XML.
As the real XML doesnot contain this tags.and try it.
How to remove tags:
ans:
Just open the file with a text editor, remove that lines and save the file.
those tags are only included when you "copy the XML from the TEST tab of the message mapping, paste it in notepad and save it." So, remove such tags and try.I works
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.