Skip to Content
avatar image
Former Member

EP 7 Portal stylesheet with WD ABAP

We run a WD WD ABAP application and want to use the EP 7 stylesheet with the iView:

- we use the WD iView

- Stylesheet -> ur

- Supply Portal Stylesheet -> yes

a) What values are possible for stylesheet. "ur" does not mean anything to me. We have tried our own stylesheet there (value "demo") but it did not show any effect (we got an error).

b) I have used a personalized stylesheet, but it did not show any effect. the portal layout changed but the WD ABAP not.

Any idea.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 07, 2007 at 08:57 AM

    Thanks for the answer, already a good direction. However it does leave a couple of questions open:

    T1: From your thread Best practice creating an Corporate Design (Layout) with a web dynpro I understand that I can use WDTHEMEROOT with sap_chrome etc.

    A) These are the styles from the WebAS ABAP, right? Means the styles in the MIME repository there.

    B) What do I have to do when I want to use my own style. I have successfully imported a style sheet into the WebAS and used with sap-cssurl. Are there any restrictions where I have to import the css (the path on WebAS) so I can use it with WDTHEMEROOT

    T2: Style sheet of Portal

    I still have the style sheet value in the iView of the portal (value "ur"). I have absolutely no clue, what values I could use there. I can only tell that I have tried to set my own style there which resulted in an error.

    Is there any complete documentation about this topics, besides some SDN posts I did hardly find anything.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Frank,

      the possible themes in AS ABAP are sap_chrome, sap_hcb, sap_highcont, sap_standard and sap_tradeshow (default value). Information on this will also be availiable in the WDA documentation for NW 7.0 SP13 (soon on the help portal).

      For Portal style sheets, see <a href="/people/sap.user72/blog/2006/01/05/wd-abap-and-sap-nw04-portal-ep-60 blog</a>.

      A style sheet editor which can be used to create your own style sheets and import them into an AS ABAP system - and thus Web Dynpro ABAP - is planned, but it's not availiable yet. As soon as it will be availiable, I will update the Web Dynpro ABAP documentation accordingly.

      Regards, Heidi

  • avatar image
    Former Member
    Aug 07, 2007 at 05:50 AM

    Hi,

    The version of your AS ABAP system must correspond to the portal version to ensure no problems occur with the style sheets.

    With Portal Integration the system first checks that the portal has transferred a specification for the style sheet. If the application parameter WDFORCEEXTERNALSTYLESHEET is set, the specified portal style sheet is used. If, on the other hand, the application parameter WDFORCEEXTERNALSTYLESHEET is not set, the versions of the style sheets are compared. If the version of the portal style sheet is newer or the same as the style sheet in the SAP system, the portal style sheet is used. All four digits of the version number of each style sheet are compared. For example, the version is 7.0.0.0 or 7.1.3.0. If the version of the portal style sheet does not match the style sheet in the SAP system, that is, the portal style sheet is older, then the style sheet specified in application parameter WDTHEMEROOT is used. If no style sheet is specified here, sap_tradeshow is used.

    Regards, Heidi

    Add comment
    10|10000 characters needed characters exceeded