cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Application.sendNotification() method does not work for sending email notifications.

Ganesha
Participant
0 Likes
42

Hi Team,

We have a requirement to send dynamic email notifications to users based on certain conditions. To achieve this, we used the Application.sendNotification() method; however, it did not work as expected., no email triggered, no error as well.

Here is an example of the code:

Application.sendNotification({
         title: "Test",
         content: "The quantity sold is below estimation. For more details, please check it out.",
         receivers: ["GBA3KOR"],
         mode: ApplicationMode.Present,
         isSendEmail: true
});

As per this blog, the pre-requisite is enabled, email notifications are enabled in SAC -> User Profile -> Setting 

https://community.sap.com/t5/technology-blog-posts-by-members/how-to-tri

Accepted Solutions (0)

Answers (0)