on 06-30-2014 8:45 PM
After having read this and this other document I was able to modify the CSS file (/sap/public/bc/ur/nw5/themes/sap_tradeshow/ur/ur_ie6.css) and therefore change the look and feel of my Web Dynpro ABAP applications without having to use the theme editor.
But that change applies to the whole server and to every application developed in it. Is there a way to assign a CSS file to a specific Web Dynpro component?
In IE older version, you can see it by view -> source
Here, you have created your own custom theme and apply to specific WEBDYNPRO component. you can give it to other component also or you can create one or more theme for diff. WEBDYNPRO component too.
Thanks & Regards
Kishan Rana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishan,
Even i have done the same process for changing background theme for web dynpro application.
My requirement is to upload background image for the theme , i achieved it by changing the css file and uploading back to the custom folder and calling folder in application parameter.
But i am facing lot of issues listed below.
1.)In the application F4 help, pop up window and dropdown are not working
2.)Even for standard applications also facing similar situation
I don't know how to resolve this issue?
Hi VR V,
Please attach screenshot if possible.
You can check CSS class for respective F4 Help and Drop down in IE-11 by Developer Tool(F12).
Kindly render on UI Controls using Developer Tool and Know which CSS class is applied and make change in custom theme.
* Do not change in standard theme Sap Trade Show. It will be infected in all WEBDYNPRO Component
Thanks & Regards
Kishan Rana
Hi,
1) Download and extract ur_mimes_nw7.zip stored in the /SAP/PUBLIC/BC/UR folder inside SAP
2) Find the mimes/NW5/themes/sap-corbu (for example) folder inside the extracted ZIP.
3) Copy this folder into a new one, like Z_MYTHEME, this will be your new design
4) Change your styles to your liking, this is possibly the ls/ls_standards.css inside your Z_MYTHEME design.
5) In the mime repository find the /SAP/PUBLIC/BC/UR/NW5 folder and upload this entire Z_MYTHEME as a new folder under this folder
3) In the WD app use this new style, specify the external css parameter: WDTHEMEROOT = /SAP/PUBLIC/BC/UR/NW5/THEMES/Z_MYTHEME
If you have the new HTML element, like HTMLContainer/HTMLIsland, this is much easier.
Hope this helps.
Chopin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Per application by using the sap-theme URL parameter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. I have tried changing the default theme with the URL parameter like this:
http://<host><port>/sap/bc/webdynpro/sap/<application>?sap-theme=sap_chrome
and apparently nothing happened. I'm still seeing the sap_tradeshow theme no matter which theme I specify in the parameter.
This is the list of the themes currently available in my server under the path /sap/public/bc/ur
Is there something else I have to adjust in order to be able to use this parameter?
Unified Rendering is used to render WDAs and unless UI Theme Designer is used, themes are contained in ur_mimes_nw7.zip which is extracted and stored in the KPro. The directory in the screenshot isn't used for WDAs. No additional settings are required, there might be theme specific requirements for the browser, however. Try with sap_corbu, that should work. What browser are you using? Always close all browser windows before testing different themes and make sure you use &sap-theme=<theme> if there are any other URL parameters such as sap-client, language, etc.
I have tried with Internet Explorer 9 and Firefox 30.0. I have written the parameter first right after the question mark and now I have also tried after other parameter with ampersand and closed all browser windows after trying again and there still seems to be no difference.
Regardless the theme I specify in the parameter, I'm still seeing the sap_tradeshow theme. If I check the HTML code of the application with the browser's developer tools (F12), it always shows me this CSS file: /sap/public/bc/ur/nw5/themes/sap_tradeshow/ur/ur_ie6.css
Another weird thing is that if I browse that path in the MIME repository, it does not exist (as shown in the screenshot of my previous message).
I have also downloaded and extracted the file /sap/public/bc/ur/ur_mimes_nw7.zip and there is no theme called sap_corbu.
Is it possible that there is something missing in my repository?
Probably not. As I mentioned the UR themes are extracted and stored in KPro, they are not visible in the MIME repository. The fact that you don't see sap_corbu means that you are on an old AS ABAP release. Try with sap_hcb, you should see the system logon screen in reverse (high contrast) colors. If it isn't working, there is probably something wrong with your system. It would help if you shared the version details of your system including SAP_BASIS version & SP level and kernel version & patch level.
I don't see sap-theme in the documentation for your release. One workaround could be to use the WD application parameter WDTHEMEROOT to specify the theme. You could have as many Web Dynpro applications in the customer name space as you have different themes. Not an elegant solution but at least it's something. The footprint for Web Dynpro applications is very small since everything is contained in the Web Dynpro component. Another option is to use the sap-cssurl URL parameter to specify the CSS to be used, it is supported in your release.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.