cancel
Showing results for 
Search instead for 
Did you mean: 

change the layout of webdynpros with stylesheets

Former Member
0 Kudos

Hi all!

I have a question and hope somebody can help me!

We use an Enterprise Portal 6.0 on NW2004s.

We use webdynpros (abap + java) and we want to change the layout with stylesheets.

My question is where can i find the stylesheet (where are stored on the server, maybe what url is to use to call them…) and how can i change the layout of the webdynpros. (in particular webdynpros for java).

Thank you in advanced for the help!

Best regards

Thomas

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member189631
Active Contributor
0 Kudos

Hi Thomas,

Go though this link,

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75...

Award Ponts if your problem solved.

Regards,

Ramganesan K

Former Member
0 Kudos

Hi!

Is there an editor for webdynpro's/abap available to create own style sheets?

I know Neweaver Developer Studio has an editor, the Portal has an editor (but it seems the format is different - í think there are no css files....)

We need to create css independent from the portal but for webdynpro for abap.

Best regards

Thomas

Former Member
0 Kudos

There does not seem to be a tool for WD ABAP. You can use good HTML/CSS editors . ..there are loads of them these days.like Macromedia Dreamweaver.. etc., they provide options to edit .css files.. Am not sure how user friendly it would be.. !

Former Member
0 Kudos

Yes I know.

May be it is possible to use the netweaver developer studio.

But the download link in the document don't work - and in the download forum i don't find the plugin's what are mentioned. I downloaded the NW04SP10EclipseThemesEditor.zip - but I can't open it, maybe damaged...

but I will check this again.

Best regards

Thomas

Former Member
0 Kudos

Hi!

The archive is working - only download was corrupted!

Regards

Thomas

Former Member
0 Kudos

Hi!

Ugly ugly...

One plugin is missing.... com.sap.ur.previeweditor_1.1.6 is not in the archive of the theme editor.

Did anybody know where i can get this?

Best regards

Thomas

Former Member
0 Kudos

Open OSS message (BC-WD-UR).

Armin

Former Member
0 Kudos

Hi Armin!

A call? According Note 854870 SAP do not support the editor.

I mean the archive what you can download from sdn - i did it but one plugin isn't there - may be i can find it on a different place.

Best regards

Thomas

Former Member
0 Kudos

I think you will get the fastest solution of that issue via OSS.

Armin

Former Member
0 Kudos

Hi!

Meanwhile i got everything working - so i edit a theme. Now i try to run a webdynpro on java with my style.

I do it according the guideline and i try to paste it directly into url because at first i have nothing to change on server.

But the WD will shown without any style...

I use this url:

http://sapportal.alicesoftware.net/webdynpro/dispatcher/local/Alice_Webportal_contract/Contract_Crea...wddispwda/global/SSR/themes/thomas

The style is on the server in the path you can see.

Can someone help me...

Thank you!

Best regards

Thomas

Former Member
0 Kudos

Cos the Url is incorrect !


http://<server name>:50000/webdynpro/resources/sap.com/tc~wd~dispwda/global/SSR/themes/<theme name>.

Try this instead !

Regards

Bharathwaj

Former Member
0 Kudos

I cannot access this URL without giving credentials.

Armin

Former Member
0 Kudos

Hi Armin!

Correct because the server is not public - in local lan it is no problem - the WD is running but with default style

@Bharathwaj

Hi!

Yes i know - the point is i have not the directory "../resources/sap.com/.." - only "../web/sap.com/.." in the filesystem

of the server. It's different from the guide, i know!

Maybe I do have to upload the theme, so that the server knows the new theme - at this point I have only copied the theme to place in the url.

I don't restart the server + I don't changed anything in the VA... because of pasting the url directly in the browser.

Best regards

Thomas

Former Member
0 Kudos

Try to enter the CSS URL directly in the browser address field. Does the server delivers your stylesheet correctly? If not, upload the theme to the correct place in the server filesystem.

Armin

Former Member
0 Kudos

Hi!

I’am sooo happy!!!! It work’s!!

http://sapportal.alicesoftware.net/webdynpro/dispatcher/local/Alice_Webportal_contract/Contract_Crea...wddispwda/global/SSR/themes/thomas

This URL work!

My mistake was the following:

At first I don’t check that “/resources/sap.com/” is an essential needed part of the URL!

Second; in guide on page 12 Sect. “Application Specific Themes” – it’s described to paste the URL of the theme in the URL of the WD. It’s described to do this without any changes with the visual admin.

But you must change! The branch --> Server -> Configuration Adapter -> Propertysheet default, you have to set the property “sap.useWebDynproStyleSheet” from “false” to “true”.

If you use the parameter sap-cssurl in call this change has to made at least!! Then it will work!!!!

Uff…

Thank you very much all of you for all valuable help!!

Best regards

Thomas

Former Member
0 Kudos

Hi ,

If the application is running in portal, you can set a parameter in VA to make WebDynpro apps take the portal theme.

To change the portal themes, log in to portal and navigate to System Administration -> Portal Display

Change the themes here and do the change in VA property as per my document.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ccb6bcf4-0401-0010-e3bc-ec0ef03e13d1">Themes in WD</a>

This should help you in creating a WD theme(style sheet) adn applying it.

The links mentioned in this docu wont work. You can find them in SDN downloads section.

Regards

Bharathwaj

Former Member
0 Kudos

Hi!

Thank you for the information!

I check this.

I'am not sure but i guess that are two different thing's

1. Running Webdynpro's in a portal

2. Running Webdynpro's itself independend from a portal

At this point i think we want only to change the style of the webdynpro itself.

Best regards

Thomas

Former Member
0 Kudos

Hi,

Yes . Its possible by both ways.. If its standalone.. please follow the document and use the theme editor and create style sheets and use them..

Former Member
0 Kudos

Hi!

This document is quite good but the webdynpro is for ABAP - how can i use styles with webdynpro's for abap.....

Best regards

Thomas