cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in 1toN message mapping,payload not populated but file created

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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" .

Former Member
0 Kudos

Deepak , though there is no error in Moni..but I think your mapping is not generating any valid message.

So if you would just try testing the mapping itself in Repository referring the blog, you can confirm mapping is populating any message or not with the same input payload.

Former Member
0 Kudos

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

former_member200962
Active Contributor
0 Kudos
listcode(raise Context to the root node)--->
                                    ---->equalS--->ifWithoutElse -----> TargetMTrootNode
Constant(N0)-->                                 Then(listcode)

Similarly develop two more condition check for other two MT root nodes....

Regards,

Abhishek.

Former Member
0 Kudos

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.

Former Member
0 Kudos

Need help to resolve the issue.

Former Member
0 Kudos

Check the last reply in this thread:

As I understand you are taking test data from Repository(Mapping) and pasting it into RWB for testing.

Just edit the message as suggested in the thread and hopefully it should work.

Regards,

Manjusha.

Former Member
0 Kudos

Thanks Abhisek ,

For the suggestive steps of creating source to target mapping .

It's working now.

Former Member
0 Kudos

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

Answers (0)