cancel
Showing results for 
Search instead for 
Did you mean: 

SAP-CSSURL parameter does not work? (apply css to WDA without portal)

Former Member
0 Kudos

Hi all,

I have read a lot of posts but still my problem is not solved.

I followed the steps in pdf "WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration":

1. I downloaded the theme tradeshow with the report BSP_UPDATE_MIMEREPOS

2. I changed some css coding parts

3. I uploaded the whole folder again using the report like in step 1 to the folder /SAP/PUBLIC/BC/UR/CustomerTheme/ZCUST_THEME

4. I also created a new subelement customerthemes with handler class CL_HTTP_EXT_WEBDAV_PUBLIC under transaction SICF

When I now open my webdynpro application with the link

[https://<host>:<port>/sap/bc/webdynpro/sap/<wda>?sap-client=100&sap-cssurl=/SAP/PUBLIC/BC/UR/CustomerTheme/ZCUST_THEME|https://<host>:<port>/sap/bc/webdynpro/sap/<wda>?sap-client=100&sap-cssurl=/SAP/PUBLIC/BC/UR/CustomerTheme/ZCUST_THEME]

the css is still loaded from /sap/public/bc/ur/nw5/themes/sap_tradeshow/

What else do I have to do?

I also tried the other parameter SAP-EP-THEMEROOT which also does not work.

Any ideas?

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

I was done the same thing followed the same pdf.

but that sicf t-code u did the some thing in the class.

What have to do.Let me kow step by step .

--

Thanks&Regards

Ramkumar

Former Member
0 Kudos

Hi Sanjiv,

my link looks like this:

https://<host>:<port>/sap/bc/webdynpro/sap/<wda>?sap-client=100&WDTHEMEROOT=/SAP/PUBLIC/BC/UR/Custom...

So I do not use the 'SAP' in front of WDTHEMEROOT. This way you should be able to use the standard themes:

sap_chrome

sap_hcb

sap_highcont

sap_standard

sap_tradeshow

sap_tradeshow_plus

See: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/af752005c92fe1e10000000a42189d/frameset.htm

If that does not solve your problem I would suggest to debug. Set an external breakpoint at CL_WDR_CLIENT_SSR_LS Method determine_themeroot. There you should see whether your URL is interpreted correctly.

I hope that helps.

Best regards,

Sebastian

Former Member
0 Kudos

Hi all,

I solved the issue myself.

I just used the parameter WDTHEMEROOT instead and that works.

Regards,

Sebastian

Former Member
0 Kudos

Thanks for your response, Sebastian!

So you're saying that you made the URL look like the following;

[https://<host>:<port>/sap/bc/webdynpro/sap/<wda>?sap-client=100&sap-wdthemeroot=/SAP/PUBLIC/BC/UR/CustomerTheme/ZCUST_THEME]

and it worked?

Well I've been trying the same and it does not seem to work for me.

Here's how and what I did

  • I downloaded the SAP themes using the program WD_THEMES.

  • I then changed the theme using the eclipse

  • The uploaded the theme in SAP using the same program WD_THEMES. The directory I uploaded it to is;

/SAP/PUBLIC/BC/UR/nw5/themes/custom/zsb

and it does not work.

Not only this, if I use any other SAP theme, even that does not show up. Where do you think could be the issue here?

Thanks for your hlpe on this Sebastien.

Regards,

Sanjiv

Former Member
0 Kudos

I too am having the same issue...

Please let me know if you find solution to this!

Thanks,

Sanjiv