2025 Feb 02 11:31 PM - edited 2025 Feb 03 8:27 AM
Hello Experts,
I have implemented a custom notification provider as per https://community.sap.com/t5/technology-blogs-by-members/fiori-launchpad-notification-configuration/...
I see notification in Launchpad. But i see that values are not filled in Notification text. This is filled by template values. It shows like--- Leave Request by {requestername} from {begda} to {endda} requires your approval.
The text in curly braces should be filled by parameters passed when calling notification api. I see that my parameters are passed correctly. Did any one face this issue? Any pointers please.
Thanks,
Pradeep
Request clarification before answering.
I have solved it by writing a Query to table /IWNGW/NPROP with Notification id imported under class method /IWNGW/IF_NOTIF_PROVIDER~GET_NOTIFICATION_PARAMETERS. Table /IWNGW/NPROP holds parameter names passed when notifications are created. I then added below code.
APPEND VALUE #( name = 'begda' value = value string( lt_params[ prop_key = 'begda' ]-prop_value OPTIONAL )
type = value string( lt_params[ prop_key = 'begda' ]-prop_type OPTIONAL ) is_sensitive = abap_false ) TO et_parameter.This worked. Not sure if that's approach. As i have no further suggestion, i will proceed like this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.