Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

value mapping not working properly

$
0
0

Hi All,

 

I am using value mapping twice in same mapping program. But only 1 field is coming with value and other is taking same value from source payload, can you please tell me what can be issue here?

 

Value mapping 1 -

Context - http://sap.com/xi/XI

SenderParty- SenderSchema

ReceiverParty- ReceiverSchema

Designation.PNG

Value Mapping table in ID -

 

VM1.PNG

 

Value mapping at field 2 -

 

Context - http://sap.com/xi/XI

SenderParty1- SenderSchema1

ReceiverParty2- ReceiverSchema2

 

travel mode.PNG

 

Value Mapping table in ID -

VM2.PNG

 

Source payload -

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

<ns0:MT_VM_Send xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">

   <Record>

      <Emp_ID>123</Emp_ID>

      <Name>rash</Name>

      <Surname>sumit</Surname>

      <Gender>Male</Gender>

     <Grade>E2</Grade>

  </Record>

</ns0:MT_VM_Send>

 

Target Payload -

 

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

<ns0:MT_VM_Receiver xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">

<Record>

<Emp_ID>123</Emp_ID>

<Full_Name>rash sumit</Full_Name>

<Designation>E2</Designation>

<Gender>M</Gender>

<Travel_Mode>Train</Travel_Mode>

</Record>

</ns0:MT_VM_Receiver>

 

 

Here travel_mode is coming perfect, but designation is same as defined in source payload. Why here Value mapping not working???

 

 

Thanks & regards,

Rashmi Joshi


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>