Friday
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
Request clarification before answering.
Hi Ganesha,
As per sap note 3467724 for the sendNotification() method to work, you must have your own email server configured in SAC. I would guess this your problem as the default SAP mail server will not work.
Cheers, Ivan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.