Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Set custom theme as system default theme

Former Member
0 Kudos

Hello,

I used the UI Theme Designer for the first time to create my own theme for WD4A. Everything worked fine, I could also publish my theme and test it via link http://<server>:<port>/sap/bc/webdynpro/sap/z_spielwiese?sap-language=DE&sap-theme=hr_design@http://<server>:<port>/sap/public/bc/themes/~client-010/~cache-d7NjAxeQQehJIoS6bT07zPaIVS0.

Now I want my new theme to be used by default without explicitly writing it in the URL because I don't want the user to see the name of the theme. I tried to define the parameter WDTHEMEROOT of the WD application, but it didn't work. I also tried to define the parameter WDTHEMEROOT in the global parameters of the system via WD application WD_GLOBAL_SETTING, but this didn't work either.  The value I used for both WDTHEMEROOT parameters ist sap-theme=hr_design@http://<server>:<port>/sap/public/bc/themes/~client-010/~cache-d7NjAxeQQehJIoS6bT07zPaIVS0.

Is there any possibility to set my new theme as default theme for the system? Or did I do something wrong?

Thanks for any help!

Best regards

Mihaela

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Cliff,

note 1957578 solved my problem.  Thanks for your effort.

Best regards

Mihaela

2 REPLIES 2

Former Member
0 Kudos

Hi Mihaela,

     I've followed pretty much the same process as you, created the new theme based on SAP_GOLDREFLECTION, then I used the WDTHEMEROOT parameter in a custom WD ABAP application, test ran this application OK and then invoked it via portal. All Worked OK, I then used the WD_GLOBAL_SETTING application to set the label alignment and theme, both of these worked fine, including SAP standard applications like expenses. You only need to enter the theme name in the parameter as it's called in the theme designer, so if it was called my_theme, then this is all that is needed in the parameter in WD_GLOBAL_SETTING.

Cliff

Former Member
0 Kudos

Hi Cliff,

note 1957578 solved my problem.  Thanks for your effort.

Best regards

Mihaela