Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

how can i remove empty nodes from message mapping?

$
0
0

i have this result when i execute my messagge mapping, but i don't konw how i can remove the empty nodes (red color). I'vebeen testingwith variousfunctions"Nodefunctions" but i don't get solve it.

 

i have this:

 

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

<ns1:Z_RFC1 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">

   <TABLE_1>

      <item>

         <FIELD1>value1</FIELD1>

         <FIELD2>value2</FIELD2>

      </item>

      <item>

         <FIELD1>value1</FIELD1>

         <FIELD2>value2</FIELD2>

      </item>

      </item>

      </item>

      </item>

      </item>     

</ns1:Z_RFC1>

 

 

i want this:

 

 

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

<ns1:Z_RFC1 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">

   <TABLE_1>

      <item>

         <FIELD1>value1</FIELD1>

         <FIELD2>value2</FIELD2>

      </item>

      <item>

         <FIELD1>value1</FIELD1>

         <FIELD2>value2</FIELD2>

      </item>

</ns1:Z_RFC1>

 

 

can anyone help me?

thanks


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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