cancel
Showing results for 
Search instead for 
Did you mean: 

Replacing values in a message

Former Member
0 Kudos

Hi,

I receive a message in PI from ERP which which has name, adress etc. nodes.

Now , need to send an email out where I replace the name , adress etc in the template email the client has provided me.

Exp :

receive , thierry dagnino, adress1

Message template = Hello <name>, is <adress> your adress ?

Result :

Hello thierry, is adress1 your adress ?

Now I know I can define a udf in a message mapping to do the job but I'm wondering what would be the best way to do this ?

For example, I could use an xlst mapping ... is there a way to keep the message template in a separate file , accessible to PI and easily maintainable ?

Ideas ?

This should be a simple case... I'm just wondering if there is a better way to do it than with UDF of XSLT where the message template is directly in the xls transformation file.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Thierry,

You can certainly place a propties file, provide access of that to super user.

http://wiki.sdn.sap.com/wiki/display/XI/File%20Lookup%20in%20UDF

Have a look at the above wiki for more details.

Regards,

Venkat.