Skip to Content
Dec 15, 2016 at 11:46 AM

Email alert notification: how to condition message text


Hi all,

is there a way to configure the email alert notification in SAP PI dual stack using ALRTCATDEF and condition the text message?

For example I want to send different text messages based on a container element like SXMS_MSG_GUID. I thought something like this: two container elements, one is SXMS_MSG_GUID and a second one is (let's say) TEXT which I populate somewhere else based on the previous container SXMS_MSG_GUID (if it begins with '1' TEXT wil be 'AAA' else 'BBB'). So in my Long Text tab I could write only my second container element TEXT. Or is there a way to write some abap code into the Long Text tab in ALRTCATDEF?

Thanks for your help!