Skip to Content

Fiori notifications - which text is shown

Hi all,

we've setup Fiori notifications for simple basis messages without any actions.

I've implemented interface /IWNGW/IF_NOTIF_PROVIDER in an own class and registered this class in SPRO. Notifications are created as expected, but I'm wondering, which of the texts is displayed in the notifications.

In method /IWNGW/IF_NOTIF_PROVIDER~GET_NOTIFICATION_TYPE_TEXT of my class for exporting parameter ES_TYPE_TEXT the following fields are available.

template_public
template_sensitive
template_grouped
description
subtitle

Within my method both, TEMPLATE_PUBLIC and TEMPLATE_SENSITIVE, are filled with values. But in the notification only the value for TEMPLATE_SENSITIVE is shown. If I leave it empty, then TEMPLATE_PUBLIC is shown.

Is there a way to show both of them in the notification?

Or is there another way to provide a header line the the notifications as shown in

https://experience.sap.com/fiori-design-web/notification-center/ ?

Thanks in advance

best regards

Thomas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 19, 2017 at 01:31 PM

    By Headline you mean the title of the notification right ?

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Tejas,

      what I want to achieve is that my notifications are looking as follows (notification_with_title.png).

      with title, picture, user name and so on. But even if I provide all necessary values (e.g. ACTOR_ID or ACTOR_IMAGE_URL) to

      /IWNGW/CL_NOTIFICATION_API=>CREATE_NOTIFICATIONS, my notifications are always looking as follows (notification_without_title.png)

      I'm not sure, which prerequisites must be fulfilled to get the full functionality of notifications.

      In SAP help I read something about SAP Jam in order to display a user picture in the Launchpad. Not sure, if this is also needed to display a user picture within the notifications (https://help.sap.com/doc/a7b390faab1140c087b8926571e942b7/7.51.4/en-US/71a403f2b55d4f33bff16b93d7672d9b.html ).

      best regards

      Thomas

  • Dec 20, 2017 at 07:34 AM

    Hello Tejas,

    what I want to achieve is, that my notifications should look as follows (notification_with_title.png)

    But in my own notifications only one text is shown, even if I provide other parameters like ACTOR_IMAGE_URL or texts as mentioned in my first post. (see notification_without_title.png )

    In SAP help I read, that you need to connect to SAP Jam in order to show the user image in the Launchpad (https://help.sap.com/doc/a7b390faab1140c087b8926571e942b7/7.51.4/en-US/71a403f2b55d4f33bff16b93d7672d9b.html). But I'm not sure if this is also needed to provide the same in notifications.

    best regards

    Thomas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 08 at 08:23 PM

    Hi Thomas,

    Did you configured your picture in SAP JAM. I mean were you able to see your photo or the the user who created notification has photo in SAP JAM and properly configured.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 22 at 08:23 AM

    Hi Madhusudhan,

    as I was not involved in the configuration of the system, I don't know how the picture was setup. Anyhow if I start the Fiore Launchpad, my profile picture is shown in the left upper corner of the page.

    I used the link from this picture in the parameter "ACTOR_IMAGE_URL" for the notification provider, but no picture is shown in the message.

    Within method /IWNGW/IF_NOTIF_PROVIDER~GET_NOTIFICATION_TYPE_TEXT I also provide text like SUBTITLE, which is also not shown in the created notification.

    Looks like in our system only the texts for TEMPLATE_PUBLIC and TEMPLATE_GROUPED are working as expected. I've still not idea what are the technical prerequisites to get the full functionality for Fiori notifications.

    best regards

    Thomas

    Add comment
    10|10000 characters needed characters exceeded