Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

Need Java Mapping Code to perform structure transformation in SAP PI 7.31 !!!

$
0
0

Hi All,

 

I am working on a real time EWM Scenario wherein I have to transform a light off file from one structure to another with value mapping too.

 

Example:

Source Structure:


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

<action>

<inputs>

<input high="false" device="2.1.11"/>

</inputs>

</action>

 

Target Structure:

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

<action>

<outputs>

<output name="2.1.5" set="false"/>

</outputs>

</action>

 

Now, I need to map device values from source structure to name values in target structure. For this i have predefined table with corresponding values.

 

Can anybody let me know, how i can get "device" values in my Java mapping and use the same to get name and set attributes in target structure.

 

Thanks

Neha


Viewing all articles
Browse latest Browse all 8150

Trending Articles



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