Skip to Content
0
Former Member
Oct 04, 2012 at 02:21 PM

Mail receiver with HTML table

123 Views

Hi all,

I've created a RFC to MAIL interface. Now I want to display the whole payload into the e-mail in HTML table format.

The incoming RFC is as simple as this:

<RFC>

<table>

<value1>1</value1>

<value2>2</value2>

<value3>3</value3>

</table>

<table>

<value1>1</value1>

<value2>2</value2>

<value3>3</value3>

</table>

</RFC>

This has to be mapped to the HTML table. As following:

<table>

<tr>

<td>1</td>

<td>2</td>

<td>3</td>

</tr>

<tr>

<td>1</td>

<td>2</td>

<td>3</td>

</tr>

</table>

How can this be done. Do I have to create a UDF and loop trough the record in the payload?

Thanks,

Koen