Skip to Content

Web Dynpro ABAP themes and EP6.0

It is well known that using Web Dynpro ABAP with an EP 6.0 portal provides a major limitation with the portal stylesheet not being able to be applied – the stylesheet from the mime repository on the ABAP stack must be used instead.  There are several standard SAP ones but you may also create your own.  In this instance, the theme from the portal was downloaded and then uploaded into the mime repository. 



The css files had to amended to pick up the new UI elements but this was not a major undertaking.

As in the document  WDA – Custom themes for Web Dynpro ABAP apllications without SAP Enterpirise Portal integration, the url can then be rewritten with the sap-themeroot parameter added to pick up the new stylesheet rather than use the default.   This was exactly what I was after while calling the WDA application directly. The problems occured when I needed to embed my WDA application in an iView on the portal.  

Luckily, some of the portal stylesheet was picked up automatically without any intervention from me at all, but the calendar popup, the circular – Wait… ‘egg timer’ – did not appear and a new window did not have the stylesheet applied at all, resulting in a rather bland black and white title etc.

The solution turned out to be quite simple, the url to the mime repository theme on the ABAP stack was added as an application parameter on the iView. See below.



 The standard stylesheet settings can stay put:




This results in the iView applying the correct mime repository stylesheet as below:




Until upgrading to EP 7.0, where the portal stylesheet can be applied, this should hopefully provide a useful alternative. 

Be the first to leave a comment
You must be Logged on to comment or reply to a post.