Skip to Content
Author's profile photo Former Member

DIY SAP HANA login screen background in 3 steps

Hi everyone, in this post I’ll share with you how to customize your SAP HANA login screen background image in just 3 steps. I got to know this new feature from SAP HANA SPS 09: New Developer Features; XS Admin Tools, but have never tried it before. Recently I’ve supported a SAP HANA PoC. Since the customer wanted to customize the login screen background image, I had the chance to use this new cool feature in SAP HANA SPS09.

As you know, in SAP HANA SPS08, we’re not able to change the background image of form login screen. So, the following background image always appear when you use form login authentication.

0.PNG

As of SAP HANA SPS09, the login screen has been changed to the following simple blue style. As you can see, the background is nothing more than light blue, but don’t worry, it’s now possible to customize your own login screen background image. You can use whatever image you like. 😎

/wp-content/uploads/2015/03/0_1_671263.png

You can find the information about this topic from SAP HANA XS Configuration Parameters – SAP HANA Administration Guide – SAP Library which is documented very clearly. Now let’s DIY our own background image.

/wp-content/uploads/2015/03/0_3_671820.png

Step 1: Upload your image and make it public

First of all you need to know one thing, the form-based login screen is identical for all SAP HANA native applications which means the background image has no relationship with your XS projects and should be placed in a “global” place. As you can see in the above example, “/sap/hana/xs/ui/Image.jpg” is a good choice. For simplicity, I just uploaded the background image to my XS project, since it’s my own SAP HANA system and I’m the only user. 😛


/wp-content/uploads/2015/03/1__671833.png

You may notice there’s a prerequisite, “No requirement for authentication and authorization”. So, we need to make the background image available to everyone. We can achieve this with the following .xsaccess file, just set null to authentication.

.xsaccess

2.PNG

Step 2: Configure xsengine.ini -> httpserver -> login_screen_background_image

Just input the path of our background image.

/wp-content/uploads/2015/03/3__671838.png

Step 3: Set the technical user

Create a technical user, e.g., “_USS” and grant the role “sap.hana.xs.selfService.user.roles::USSExecutor”

/wp-content/uploads/2015/03/4__671839.png

Assign the technical user to the artifact “/sap/hana/xs/selfService/user/selfService.xssqlcc”

/wp-content/uploads/2015/03/5__671846.png

That’s it! Visit whichever SAP HANA native applicaiton to have a test.

6_1.PNG

Hope you enjoyed reading my blog and DIY your own login screen background image successfully!

Assigned tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Thanks Wenjun for the nice blog, unfortunately parameter login_screen_background_image is missing in my system in xsengine.ini. Any idea what could be the reason behind it.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      You can add it by yourself, just right click httpserver and you'll see it. 🙂

      Author's profile photo Former Member
      Former Member

      Thanks a lot 🙂

      Author's profile photo Former Member
      Former Member

      Hi Wenjun,

      Cool blog!! can you please help me in understanding the below step, which you have mentioned in step 3.

      Assign the technical user to the artifact "/sap/hana/xs/selfService/user/selfService.xssqlcc"


      Thanks

      Author's profile photo Former Member
      Former Member

      Hi Roshan,

      You need to give below authorization to _USS user

      /wp-content/uploads/2016/04/1_935565.png

      then using same user login to below link :

      https://yourserver:port/sap/hana/xs/admin/#/package/sap.hana.xs.selfService.user/sqlcc/selfService

      And now change username to _USS and activate it. (go to edit and give _USS username and check box for activate and save.)

      Screen shot is after activating it.

      /wp-content/uploads/2016/04/2_935566.png

      Thanks,

      Kalpan

      Author's profile photo Y.Ajay kumar
      Y.Ajay kumar

      Hi Wenjun,


      superb!! explanation you kept it so simple.


      can you please help me in how to change the Text  "SAP HANA"  ,"Log on"  and  SAP logo at the bottom of the image