Skip to Content
author's profile photo
Former Member

Questions to support on logon page, notificationsText

Hi SDN.

In the Support function on the logon page to the SAP Portal when users have problems with fx password, the text in the mail to administrator comes from the file notificationTexts_en.properties.

TEXT_USER_LOGON_PROBLEM_REQUEST=Dear ,\nUser experiences problems to log on.\n Sap help says is Salutation of the receiving user

is First name of the receiving user

is Last name of the receiving user

but where is this 5 6 7 set?

I have looked at Direct editing but could'nt find it there.

Thanks in advance

Peter

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Oct 05, 2007 at 05:52 PM

    if using Portal, the you should use MessageFormat. This will help to pass the arguments.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Peter and everybody else stumbling over this,

      The process is as follow (everything coded in com.sap.security.core.util.notification.SendMailAsynch):

      If an eMail is to be sent to an admin, a double check takes place. First, the admins of the requesting user are determined. Technically, these are the users with UMAdminPermission MANAGE_ALL_COMPANIES or USER_CREATE (the last for the company the requesting user belongs to). I cannot say exactly which user gets which permission under which circumstances; also see http://help.sap.com/saphelp_nw04/helpdata/EN/5f/670db7939b8e48999d65f8a05ad611/frameset.htm and around.

      Anyhow, a simple answer probably will be that all users are found which are UserAdmins with no further restriction.

      Now assume this routine determins 3 admins. Then a second parameter gets into the game: If "ume.notification.admin_email" is set (see http://help.sap.com/saphelp_nw04/helpdata/EN/41/080aab7cefe34d8acb04861a467efc/frameset.htm), the mail only will be sent to this one given mail address. But: 5/6/7 nevertheless will be taken from the first admin found in the routine given above (the users UME admin).

      This is a bug. I checked the coding of SPS14 or 15; but I expect that this has never changed. So, as a workaround,

      - remove the entry for "ume.notification.admin_email"; check if admins will be found then...

      - or remove the named user (5/6/7) from the user admin role and go on until the user found is the user set via "ume.notification.admin_email" (but that might get you in trouble, for you may need other admins, too)

      - or, better, raise an OSS message... 😊

      Hope it helps to understand the mechanics,

      Detlev