cancel
Showing results for 
Search instead for 
Did you mean: 

Split mapping created no messages

Former Member
0 Kudos


hi Frnds,

iam doing file to file split mapping interface but iam getting  Split mapping created no messages in SXMB_MONI, Iam using PI7.31 Dual stack SP1,please any one help on this.

Regards,

Rajendar K

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Rajendar

This error indicates that there was no root node generated on the target side.

Most often this might be because the source payload does not match the source schema, therefore the message mapping generates an empty body.

Check the source payload against your schema, in particular check for typo errors or namespace mismatch. If you paste the payload into the test tab for mapping and switch back to Tree mode, if you see the nodes are in red, then there is a mismatch.

Rgds

Eng Swee

Former Member
0 Kudos

  Hi Eng.,

  Thanks for your reply i was checked as for your response but its working fine. still iam getting same error.

Regards,

Rajendar K

Former Member
0 Kudos

HI Eng,

please find my Source Payload below please help on me.

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

   <ns0:Message1>

      <ns1:MT_E10522_f2f_MT_S xmlns:ns1="http://E10522_f2f_MT">

         <EmployeedDetails>

            <Name>

               <Fname>Rajendar</Fname>

               <Lname>K</Lname>

            </Name>

            <Location>INDIA</Location>

         </EmployeedDetails>

      </ns1:MT_E10522_f2f_MT_S>

   </ns0:Message1>

</ns0:Messages>

Regards,

Rajendar K

engswee
Active Contributor
0 Kudos

Hi Rajendar

Please provide screenshot of your source data type definition, and also payload of the message having this error.

Also, please provide screenshot of the mapping for the target root node.

Rgds

Eng Swee

Former Member
0 Kudos

HI Eng,

Please  find  the mapping logic to target note.

Regards,

Rajendar K

engswee
Active Contributor
0 Kudos

Hi Rajendar

The context between the two inputs to your IF function is not the same. You are comparing two elements that are at different level in the hierachy. Please change the context of the Location field to be same as the source root node (MT_xxx).

If you are still having errors after this, please provide a screenshot of the "Display queue" on the IF function.

Rgds

Eng Swee

Former Member
0 Kudos

Hi eng,

i did the change but still am getting dame error please find the Dis play queue.

Regards,

Rajendar K

engswee
Active Contributor
0 Kudos

Rajendar

Please provide Display queue on the IF function.

Rgds

Eng Swee

Former Member
0 Kudos

HI Eng,

thnx for your helping please find the IF function Display queue.

Regards,

Rajendar K

engswee
Active Contributor
0 Kudos

Hi Rajendar

It looks correct. Can you execute the mapping in the test tab and provide screenshot (should have both source and target payload in text format)?

Rgds

Eng Swee

Former Member
0 Kudos

Hi Eng,

i did the test tab its showing success but file didnot reached to target folder.

please find the source and target payloads

Sourec paload:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

   <ns0:Message1>

      <ns1:MT_E10522_f2f_MT_S xmlns:ns1="http://E10522_f2f_MT">

         <EmployeedDetails>

            <Name>

               <Fname>Rajendar</Fname>

               <Lname>K</Lname>

            </Name>

            <Location>INDIA</Location>

         </EmployeedDetails>

      </ns1:MT_E10522_f2f_MT_S>

   </ns0:Message1>

</ns0:Messages>

Target Payload:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

   <ns0:Message1>

      <ns1:MT_E10522_f2f_MT_R1 xmlns:ns1="http://E10522_f2f_MT">

         <EmployeedDetails>

            <Name>

               <Fname>Rajendar</Fname>

               <Lname>K</Lname>

            </Name>

            <Location>INDIA</Location>

         </EmployeedDetails>

      </ns1:MT_E10522_f2f_MT_R1>

   </ns0:Message1>

   <ns0:Message2/>

</ns0:Messages>

Regards,

Rajendar K

engswee
Active Contributor
0 Kudos

Hi Rajendar

It looks like the mapping issue has been resolved. Testing from the ESR test functionality WILL NOT generate actual runtime messages.

You will have to execute the interface (end-to-end) and trace the corresponding message through the Adapter Engine and Integration Engine.  If you find any error, please provide the details here for further analysis.

Alternatively, you should also be able to Restart the original message that was in error (the one shown in the original screenshot) and see if it goes through successfully or not.

Rgds

Eng Swee

Former Member
0 Kudos

Hi Eng,

i did the test configuration test am getting below error, please find the screenshot below.

Regards,

Rajendar K

engswee
Active Contributor
0 Kudos

Hi Rajendar

Did you activate the changes on the mapping and tried to send a new file? The screenshot you are showing is for configuration test in ID. Do try out with an end-to-end testing.

Rgds

Eng Swee

Former Member
0 Kudos

Hi eng,

thank you for helping issue solved, i removed tags in source payload do the end to end test its working fine.

source payload:

<?xml version="1.0" encoding="UTF-8"?>

      <ns1:MT_E10522_f2f_MT_S xmlns:ns1="http://E10522_f2f_MT">

         <EmployeedDetails>

            <Name>

               <Fname>Rajendar</Fname>

               <Lname>K</Lname>

            </Name>

            <Location>INDIA</Location>

         </EmployeedDetails>

      </ns1:MT_E10522_f2f_MT_S>

Regards,

Rajendar k

engswee
Active Contributor
0 Kudos

Hi Rajendar

Glad to know that your issue has been solved.

Please close the thread if there are no outstanding issues.

Rgds

Eng Swee

Muniyappan
Active Contributor
0 Kudos

Please close this thread.

Answers (0)