Show TOC

Calling ViewsLocate this document in the navigation structure

Prerequisites

  • You are in an SAP Web AS 6.20 system.

  • You have created at least one View for your BSP application.

Procedure


  1. Create the view instance:

    data: l_view type ref to if_bsp_page. l_view = create_view( key = navigation_key ).

    or

    l_view = create_view( view_name = 'next.htm' ).

    Note that you can call views only from your own application.

  2. Note that you can call views only from your own application:

    l_view->set_attribute( name = 'model' value = my_model_instance ).

    or

    l_view->set_attribute( name = 'hugo' value = 'Hugo-Text' ).

  3. Call the view layout:

    call_view( l_view ).