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

How do I adjust Fiori login error messages texts?

nikbereziuk
Explorer
0 Kudos
347

Hey folks,

I am developing a custom Fiori Launchpad login screen and a part of the requirements is to have slightly different error descriptions instead of the default ones ("Enter your user", "Enter a password", etc.), as on the following screenshot:

login.png

I have adjusted the login procedure as per various known guides, i.e., modified login procedure in SICF, created my custom class that inherits from /UI2/CL_SRA_LOGIN, made some tweaks in html templates, css files, INIT_DEFAULT_PROPERTIES method of my custom class, etc. - no problems with that. But it turned out that message texts aren't accessible from /UI2/CL_SRA_LOGIN or its descendants. I made some research and found out that those texts are fetched in private method 'LOAD_TEXT' of class CL_ICF_SYSTEM_LOGIN, which is a parent class of /UI2/CL_SRA_LOGIN, and the texts are pulled from textpool of that class (namely, texts 041 and 042). Since this method is private, I can't redefine it and modify the texts... Unfortunately, debugging of login screens is also quite complicated, as runtime execution is happening on client 000 (because we're not even logged in to any "normal" clients yet) and I don't have proper authorizations to do that.

Do you guys maybe know (or had the same problem) if there's a way to modify such texts? Any suggestions are welcome, even "dirty" ones.

Accepted Solutions (0)

Answers (0)