cancel
Showing results for 
Search instead for 
Did you mean: 

Background Image

Former Member
0 Kudos

Hi Experts,

I need to display background image which has to be displayed on every view of WD Application.

Is it possible? If its is not possible is there any other alternative way to do that.

Accepted Solutions (0)

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi VR,

There is no provision for setting background image directly but can be achieved using style sheets.

Please refer the below document:

also, refer to the below threads for more info.

Hope this helps you.

Regards,

Rama

Former Member
0 Kudos

Hi Ramakrishnappa,

The link which you provided is stating about the background color but i need a background image.

If we store  images on the system can we access these images in the web dynpro component thereby this will be shown in background of WD application.

former_member184578
Active Contributor
0 Kudos

Hi,

As mentioned, you need to use custom themes to set backgroud image for Web Dynpro application. You need to modify the css and set the background-image value ( as mentioned in the document instead of background-color)

hope this helps,

Regards,

Kiran

Former Member
0 Kudos

Hi Kiran,

Thanks for your reply, i have three questions here which i need more clarity.

1.)How to pass Custom themes to the theme list?

2.)Can we use a single image as the theme and pass it to the list?

Former Member
0 Kudos

Hi Kiran,

I have created a custom folder in MIME Repository.

Using the Program BSP_UPDATE_MIMEREPOS imported the custom theme of file .png type to the created folder.

I have set the URL parameter SAP-CSSURL in the paramer tab of WDapplication but i am seeinng the same SAP_TRADESHOW_Plus theme in my application.

Is my approach is correct should i do any changes

former_member184578
Active Contributor
0 Kudos

Hi,

Am just wondering what is your third question! ( jus kidding) . 

1. You can use WDTHEMEROOT application parameter to pass your custom theme.

2. Yes. (you need to add your image in the 'ls' css folder and use it)

If you have UI Add-on, you can check this document for reference:

hope this helps,

Regards,

Kiran

Former Member
0 Kudos

Kiran,

Thanks your Reply.

Now i am able to see the theme which i passed into the custom folder.

The  mistake was i didn't passed the parameter value(Folder Path) in the application parameter tab and also the theme should be saved as .css format.

Per one folder we can create only one .css file or can we create multiple .css file thereby changing the themes as we wish.

former_member184578
Active Contributor
0 Kudos

Hi,

A separate css file for each Theme.

Regards,

Kiran

Former Member
0 Kudos

I mean a single folder can have multiple css files or each css file should have seperate folder?

Former Member
0 Kudos

Kiran,

Also when i delete the old theme and created a new theme in the folder even then new theme is not getting displayed only old theme is shown.

ramakrishnappa
Active Contributor
0 Kudos

Hi VR,

You need to set the Expiration period in client cache for the MIME object.

Proceed as below:

     Use SE80, and open mime repository and find out the object inside the tree.

     Right click on the mime object, use menu path Other Functions===>Expiration Time Client Cache

     Set the  expiration seconds and also set "Individual Expiry Date"

Hope this helps you.

Regards,

Rama

Former Member
0 Kudos

Hi Ramakrishnappa,

Thanks for your reply.

Here i completely removed that theme from the MIME folder but even then i am getting the theme in my Web dynpro Application.