Showing results for 
Search instead for 
Did you mean: 

BSP - Frame creation

Former Member
0 Kudos

Hi everybody,

i would like to know how can we create some kind of frame in BSP.

I've created my layout with HTML.

i've separated my layout in 3 parts: Head part, left part and right part.

When i try to insert some <htmlb> elements ( treeView) in my HTML layout in a particular part (left part for example), it doesn'work. My element appears correctly but I cannot use it.

It works only if i open a new window when calling HTMLB.

I think that it's not possible to mix html and htmlb elements.

So how can i divide my layout in several parts and how can i use htmlb in each parts of them?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos


I´d use HTML tags only for the frame and the content of the pages with HTMLB, because it gives more functionality. Anyway, you can do as follows:

create a default.htm page with the following code.

<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" controlRendering="sap">
  <htmlb:documentHead title="FC">
      <frameset cols="16" frameborder="0" border="0">
        <frameset id="mainframeset" rows="55" frameborder="0" border="0" >
           <frameset cols="230,*" frameborder="0">
            <frame src="LEFT.htm" name="left">
            <frame src="RIGHT.htm" name="right">

now in LEFT.htm when you fill the itab for htmlb:treeView set the onclientclick property like below

CONCATENATE `'` right.htm `',target='right');` INTO wa_tree2-clientclick .

Hopefully this is what you need.

Former Member
0 Kudos

Thank you Jorge

i've tried your example and it's exactly what i'm looking for.

Answers (0)