on 12-11-2013 6:19 AM
Hello Experts,
I have developed a web dypro application using SAP ABAP. Now client wants to change the feel & look of UI elements such has chang background color from blue to white, look of table & introduce dynamically color like red, blue, yellow & green for specific column or column of a row. I have gone through many link before posting but not able to find a suitable one. Many link say we can not perform such changes and other say about themes. If we have to use themes then how we can do so?
Thanks
Faiz Khan
Hello Faiz,
I have written one document Step by step to change ABAP webdynpro background color, please check whether it can help you.
Best regards,
Jerry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Faiz,
Have you tried the "WDFORCEEXTERNALSTYLESHEET" parameter in your WDA Application? Also, you may have to use the Eclipse Theme Editor to create your own custom themes.
Regards,
Shafique Shaikh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Regarding your requirement of having specific colors for UI elements, the logic has to be implemented in the application. With theming you can only change the predefined styles. With tables you can use cell design and with other elements background design although there are only a few choices for the latter. If you are interested in setting the background design dynamically, see this document.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Samuli,
The style of UI Application developed using webdynpro abap is very restrictive compare to the one developed using webdypro java because on portal we can apply custom theme to them.
I have one query regarding themes: Can custom theme be applied only to applications that are developed using webdynpro java or they can be applied to applications developed using webdynpro abap? And if yes then how we can to it.?
My query, seems to be pitiable but i am really confused.
Thanks
Faiz Khan
No, custom themes can be also applied to Web Dynpro ABAP applications. You will have to install the SAP NetWeaver UI Add-On 1.0 and use the UI Theme Designer to create a custom theme that can be used with Web Dynpro ABAP applications. Since you are accessing WDAs via the portal you can either use the UI Theme Designer for SAP NetWeaver Portal ("standalone") or the backend (ABAP) version. However, I was recently told by someone working for the SAP Development Support of UI Theme Designer that the standalone version is not really meant for theming UR applications so maybe you should look into using the backend version instead.
Hi Faiz,
Are you launching the webdynpro app with the portal?
The look and feel, color and themes can be rendered with the help of css style sheets via portal.
check with your portal team for creating style sheets.
one the application is launched via portal iview it will use portal style sheets which can provide required themes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Khan,
In order to change the background colour from 'Blue' to 'White' we need to change the UI element property 'design' to 'sapcolor'.
Let me know if you need more information
Regards,
Kushi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kushi,
Thanks for your response, but i don't want to only change the blue color but most of look & feel of UI elements so that they can look similar or exact that of webdypro java development application on which themes are applied at portal side.
The step that ylou have said is only possible for few UI element such has tray, Group etc and i am aware of that.
Thanks
Faiz Khan
Hi Faiz,
What I figured out is that there are 2 major requirements in your question, First is changing the theme of the ABAP WD Application and the other is related to WDA ALV.
1. For changing the theme please refer the below document -
2. For displaying the WDA ALV columns in colour you can make use of "CL_WD_TABLE_COLUMN" Class. For ex - To display your column as RED - you can create one more field in your final internal table as " cell_color type WDY_UIE_LIBRARY_ENUM_TYPE " and then set the value as " cl_wd_table_column=>e_cell_design-badvalue_dark".
Regards,
Shafique Shaikh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.