Professional Documents
Culture Documents
Step by Step To Change ABAP Webdynpro Background Color
Step by Step To Change ABAP Webdynpro Background Color
Step by Step To Change ABAP Webdynpro Background Color
background color
Theme Editor related topics on page 1
Manual change the CSS file on page 1
Step1: Download the standard theme from Mime repository on page 2
Step2: Identify the real theme currently being used on page 4
Step3: Manual change the css file on page 5
Step4: Upload and deploy the modified theme on page 8
Step5: Invalidate client and server cache on page 10
How to change other UI styles on page 11
Recently one local customer requires that they could like to change the background color from blue to others
for example green.
Unzip the zip file and we can observe several themes inside it. In the document Custom themes for Web
Dynpro ABAP applications without SAP Enterprise Portal integration it contains the steps how to create a
custom theme. However for the very case of my local customer, it is ok to directly change the standard theme.
So the next task is which of the following themes is the currently being used one?
With these information at hand now it is ready to change the CSS file ls_ie6.css, which is located in the folder
below:
The current rgb value is (234, 241, 246). I use an online tool http://rgb.phpddt.com/
to verify whether this color is just the current default background color. In this online tool after I maintain the
rgb value and click ok button, the right area of the tool is rendered with the specified color.
I plan to change the default color to rgb value (86, 255, 170) which display as green colow below:
It is very convenient to verify whether the change on CSS file could really take effect, since we could directly
change the attribute in IE development tool.
Just click the attribute "background-color" and then it will switch to edit mode. Change the value to (86,
255,170) and click enter.
However this change is not persisted, we should change the CSS file via text editor or any other CSS editor.
I just use the Notepad to change the color. Note that the development tool translates the HEX color to rgb color
automatically for us, but in the CSS file, we should maintain the corresponding HEX color #56FFAA for rgb
value( 86, 255, 170 ).
Then run report WDG_MAINTAIN_UR_MIMES( not the report BSP_UPDATE_MIMEREPOS mentioned in the
document Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration ).
Double click on Menu "Upload MIME archive to server":
Invalidate them via HTTP Plugin->Server Cache->Invalidate Globally to clear cache otherwise you might still
see the color before the change.
Global invalidation could ensure the invalidation is distributed to all other application server instances.