Skip to Content
author's profile photo Former Member
Former Member

Using Customer stylesheets in BSP


I would like to know how customer stylesheets can be used instead of standard BSP styles.

I use the following line on each BSP side and only use htmlB:

<abap:content id="asdf" design="classicdesign2002design2003">

Do the customer has to create his own "design" and "modify" the coding to add this design?

Do anybody know where I can find information about using customer stylesheets in BSP Applications?

Thanks in advance for your help.

Kind regards,


Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 06, 2004 at 12:16 PM

    Hello Daniel,

    indeed, for customer own design we modify the given style sheets of the HTMLB-Tablib -after we copied them of course.

    In the SAP Enterprise Portal you can define the colors and the layout of the elements. Then you can grab the css-files and images, define the folder hierarchy in the public-path of the mime-repository, and then you can set the path of the current style sheet folder via the themeroot-parameter of the htmlb-content-tag.

    Watch out: there's a difference between DESING2002 and DESIGN2003. In Design2003 you have to use the unified rendering-folders, for design2002 there are the folders 'controls' and 'xcontrols'.

    If you don't have a Portal 5.0 you can use the "ABAP Style Sheet desinger" as described in a OSS note with the same title in component "BS-BSP".

    Hope that helps a bit.

    Regards, Bernd

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello again,

      to be more precise:

      In the EP you generate a new Style in the Style Sheet Editor. You have to provide a technical name and name for the web frontend.

      The technical name is used to create a folder in EP/JE22 hierarchy. Search for this technical name and you will find the common/ur/controls/xcontrols folders.

      Create these folders in the public sector of mime repository and import all the images and CSS.

      For DESIGN2002 and CLASSIS you have to use controls/xcontrols folder, for DESIGN2003 you go for the unified rendering: UR and COMMON.

      The HTMLB-content-Tag should look like this:


      id = "OZ2_01"

      design = "DESIGN2003"

      themeRoot = "/sap/bc/bsp/sap/public/<your name>/" >

      The folder with <your name> contains the controls/controls or the ur/common folders with its content - keep the same structure and file names as in the portal.

      Regards, Bernd

  • author's profile photo Former Member
    Former Member
    Posted on Aug 19, 2004 at 07:37 PM

    This is probably a "duh" question, but just to be sure I've not missed something I'll ask it. We are not in production either in Enterprise Portal or BSP's. Our production data is in 4.6C which we access through the GUI or via the web. EP, our BSP sandbox, and our data are all on different servers -- 3 servers. Copied and modified stylesheets using the EP design tool are not accessible from the server where we're implementing our BSP's, are they? Does the BSP have to be deployed within the Portal to have access to these custom-modified stylesheets?

    Janice Ishee

    Add comment
    10|10000 characters needed characters exceeded