cancel
Showing results for 
Search instead for 
Did you mean: 

Dropdown is giving access denied when theme applies

Former Member
0 Kudos

Hello Everybody,

After appying theme, my Dropdown box is giving me "Access Denied" error. I tried to search some SAP Notes on this also, but i didnt find any.

I know there were some posts on this topic earlier also. But, i didn't find any posts

If anybody has resolved this problem then please help me.

Thanks in advance,

Bhavik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Are you running your WD app as an iView in the Portal?. If so what is the SP version. Like what Walter suggested it is because of the proper theme not being applied.

In SP12 version, when you create a WD iView you have a property which will propogate the portal theme to the WebDynpro app.

Basically your SP versions should be the same and ensure you use only the standard themes bcos they are safe. We have created non-standard themes and it has worked. But cant guarantee. We were lucky :). Dont know about SP13 and SP14 themes.

Hope that helps you.

regards

Ravi

Former Member
0 Kudos

Hi Ravi,

Yes i am using standard themes only. I am not deploying or ruuning my application on Portal.

My WAS version is SP12 and i am using standard themes of WAS SP12 server, which we get from the server folder only.

So, there should not be any problem of Version mismatch.

Regards,

Bhavik

Former Member
0 Kudos

Hi

Is your NWDS also SP12. Because from the looks of it you should not face any problem if for the version mismatch in NWDS.

regards

Ravi

Former Member
0 Kudos

Hi Ravi,

No, mismatch problem is not there.

Regards,

Bhavik

Former Member
0 Kudos

Can you post the <head> section of the HTML page?

Armin

yasu_ramaiah
Explorer
0 Kudos

Hello

The problem could be with the hostname!.

for example the url for the css theme coulde be something like this...

http://localhost:50000/....(dont use localhost, I had the same error when I used localhost)

instead use the hostname or computername(incase its a WEB AS is a local instance).

so it should be like

http://<hostname>:50000/

where hostname could be dev, stg, prd etc.

-yasu

Former Member
0 Kudos

Hi Yasu,

I have used IP address in theme url.

Is it ok?

Hi Armin,

Here i have given the head part of the html generated for webdynpro page.

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="imagetoolbar" content="no">

<title>

SimpleApp</title>

<script>var SSRbaseURL="../../../resources/sap.com/tcwddispwda/global/SSR";</script>

<script type="text/javascript">

window._SSR_initialParseStart = new Date().valueOf();

</script>

<link rel='stylesheet' type='text/css' href='http://172.17.50.34:50000/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/sap_tradeshow/ur/ur_ie6.css'>

<script type="text/javascript" src="../../../resources/sap.com/tcwddispwda/global/SSR/js/sapWdSsr_ie6.js"></script>

<script type="text/javascript" src="../../../resources/sap.com/tcwddispwda/global/SSR/js/sapUrMapi_ie6.js"></script>

<script type="text/javascript" src="../../../resources/sap.com/tcwddispwda/global/SSR/js/languages/urMessageBundle_en.js"></script>

<script type="text/javascript">

ur_system = ;

{ // Domain relaxing

var hostname = location.hostname;

if( !(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(hostname)) ) {

var posBehindFirstDot = hostname.indexOf( "." ) + 1;

if (posBehindFirstDot > 0) document.domain = hostname.substr(posBehindFirstDot);

}

};

me = window;

new CSF_SSRManager();

// handle(browserEvent, browserWindow, htmlRef, controlType, urEventName, parameters, path, flushQueue, mapiCall)

me.h_ = function(browserEvent, browserWindow) {

return SSR.handle(browserEvent, browserWindow);

}

me.h_e = function(browserEvent, browserWindow, htmlRef, controlType, urEventName, parameters, path, flushQueue) {

return SSR.handle(browserEvent, browserWindow, htmlRef, controlType, urEventName, parameters, path, flushQueue);

}

me.h_m = function(browserEvent, browserWindow, mapiCall) {

return SSR.handle(browserEvent, browserWindow, null, null, null, null, null, null, mapiCall);

}

me.h_em = function(browserEvent, browserWindow, htmlRef, controlType, urEventName, parameters, path, flushQueue, mapiCall) {

return SSR.handle(browserEvent, browserWindow, htmlRef, controlType, urEventName, parameters, path, flushQueue, mapiCall);

}

</script>

</head>

Thanks,

Bhavik

Former Member
0 Kudos

Hello Everybody,

I have solved this problem. Thanks to everybody.

I have given fully qualified hostname instead of simply hostnamae and now it works.

Regards,

Bhavik

Answers (1)

Answers (1)

Former Member
0 Kudos

You must ensure that your theme was derived from a theme with the identical version number as your WebAS. For example, if you are running Netweaver04 SP14, then you MUST use the NW04Stack14Themes, otherwise you will get all sorts of weird behaviour, such as controls which do not work properly.

Walter

Former Member
0 Kudos

Hi Walter,

Yes i have used proper themes as per the WAS verson. I have not developed my own themes also. I used sap standard themes which are coming with WAS server only. These themes are located under

\usr\sap\BHD\JC00\j2ee\cluster\server0\temp\webdynpro\web\sap.com\tcwddispwda\global\SSR\themes

So, i guess these are proper themes for the server.

My WAS version is SP12.

Regards,

Bhavik