cancel
Showing results for 
Search instead for 
Did you mean: 

Sending mail with Mail Adapter with Importance High and Low

Former Member
0 Kudos

Hi,

For sending e-mails, I'm using the specified SAP message type from note 748024, which is this one.

[https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt ]

Unfortunately, this message type does not take into account the importance of the mail. The business wants me to trigger an e-mail with importance high in case an exception occurred in the integration process and an e-mail with importance low in case of success. Is this possible within PI ?

Just to clarify it further, I read http://help.sap.com/saphelp_nw04/Helpdata/EN/6b/4493404f673028e10000000a1550b0/content.htm and I still don't get it what to specify in the message body in order for that "Mail header field for message importance" (SHeaderIMPORTANCE) to get filled.

I've also read , but I don't understand where to insert that coding (how to get to the Dynamic Configuration ).

Thanks a lot in advance and best regards,

George

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi George,

You need to create a udf in message mapping and add that code. Once you created the udf use this udf at any segment leve just to pass the importance into THeaderIMPORTANCE. Use this in your receiver communication channel. That is what he is mentioning in the other thread.

Regards,

---Satish

Answers (1)

Answers (1)

former_member335553
Active Contributor
0 Kudos

Hi

Are yuu able to get a high importance email ..If ye splease let m e know

Thanks

Anusha

Former Member
0 Kudos

Hi Anusha,

Haven't implemented this yet, still in design phase.

Regards,

George

Former Member
0 Kudos

Hi Anusha,

Refer the wiki http://wiki.sdn.sap.com/wiki/display/stage/Settinguphighimportancemailinreceivermailadapter for sending the mail with high importance.

Regards,

Pranav