Skip to Content
0
Former Member
May 11, 2018 at 07:15 AM

how to send HTML code in AlertConsumerJobV2 in SAP PO7.5

216 Views Last edit May 11, 2018 at 07:35 AM 3 rev

In AlertConsumerJobV2 in SAP PO7.5 we have option to select email format to send alerts in Formatted email body . I want to try and incorporate HTML code in email template in template file so that when we receive email it will be in Formatted view. Kindly provide any useful inputs. Used below HTML code in template but its yielding raw output

code:

<html> <head> <style> table, th, td { border: 1px solid black; border-collapse: collapse; } </style> </head> <body> <p>Hi,</p> <p>This is an alert for failure of IDOCs in SAP PO for interface. Please find more details below.</p> <p> <table style="width:70%"> <tr> <td>Alert creation time:</td> <td>$timestamp{replace16}lt;/td> </tr> <tr> <td>scenario Name:</td> <td>$scenario_name{replace20}lt;/td> </tr> </table> </p> </body> </html>

Output:

Attachments

output.png (9.2 kB)