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

Set suitable page in frame after OnInputProcessing


I have written simple BSP aplication which contain 3 pages. It looks like below:

frame01   frame02
page01  | page02, |
Button01| page03  |

After click button01 I would like to change pages in frame02 dynamically. I can catch event responsible for click button01 (OnInputProcessing), but I do not know how to set suitable page in frame02.

I have tried to use

navigation->goto_page( 'page02.htm' )

but it is not working correct for me.

Could anyone help me how to do it.

Kind regards


Message was edited by: Marcin Bobowski

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Feb 21, 2006 at 10:53 AM

    here the issue is not pagename , but specifying the target frame.

    declare a page attribute lets call it buttonclicked type string.

    in oninputprocessing when the button click event happens

    set the attribute buttonclicked = 'X' and build the url for the page to be navigated into a another variable say target_url.

    now in the layout of page01 write the following code.

    <% if buttonclicked = 'X' . %>

    <script><%= target_url %>, target="frameid of frame02");


    <% endif . %>

    Hope this is clear.



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2006 at 09:06 AM

    HI Marcin

    You can do one thing...

    Declare an Attrinute of type STRING say it PAGENAME.


    When you handle the button event...There change

    You enter the Page name inside this Attribute..


    PAGENAME = 'Page3.htm'.

    and In side Layout..instead of directly giving the Page Name...Assign this variable to your frame as a page....

    I think, Probably it will solve your problem...or Do revert back...



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 11, 2008 at 12:13 PM

    hi friends,

    Even i am facing same problem but it's some wat different to this.

    I am new to BSP applications. I have one problem in my BSP Application.

    I have created 5 BSP pages with flow logic. just see the design...



    Frame 2 Frame 3

    Link 1

    Link 2

    Link 3


    This is main page.

    Here in Frame 1 i displayed one BSP page ( TITLE.htm )

    In Frame 2 i Displayed one more BSP page, It contains 3 links every link having source page to display. ( LIST.htm )

    Now here what i want is, when i clicked any LINK of Frame 2 that link corresponding page has to display in Frame 3.

    But as per my code it's not showing in Frame 3. Instead of this it's showing in Newwindow

    My Main Page Layout code is as followed.


    <frameset id="rowss" rows = "17%,*" frameborder="yes" border="2">

    TITLE.htm" scrolling="no" noresize border="4" frameborder="yes">

    <frameset id="column" cols = "20%,*" frameborder="yes" border="2">

    LIST.htm" scrolling="no" border="4" frameborder="yes">

    <frame id="page" name="page" scrolling="yes" scrolling="no" noresize border="4" frameborder="yes">




    Here is the my Frame 2 BSP page Code

    <%@page language="abap"%>

    <%@extension name="htmlb" prefix="htmlb"%>

    <htmlb:content design="design2003">

    <htmlb:page title = "LIST OF HTML PAGES ">


    <htmlb:tree id = "PERNRDETAILS"

    title = "PERNR DETAILS"

    tooltip = "EMPLOYEE DETAILS"


    toggle = "X" >

    <htmlb:treeNode id = "PERSONNELDETAILS"

    text = "PROFILE"

    tooltip= "EMPLOYE DETIALS"

    isOpen = "true" >

    <htmlb:treeNode id = "EMPLOYDETLS"

    link = "PERSONEL.htm"

    target = "page"


    tooltip= "EMPLOYEE DETAILS"

    isOpen = "true" />

    <htmlb:treeNode id = "TASKS"

    link = "TASKS.htm"

    target = "page"

    text = "TASKS TO DO"

    tooltip= "TASKS"

    isOpen = "true" />

    <htmlb:treeNode id = "TASKSCOMPLETED"

    link = "TASKSC.htm"

    target = "page"

    text = "TASKS COMPLETED"

    tooltip= "COMPLETED TASKS"

    isOpen = "true" />








    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.