Entering content frameProcedure documentation Calling a View Locate the document in its SAP Library structure

Prerequisites

Procedure

  1. Create the view instance.
  2.     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' ).

    Caution

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

  3. Set the attributes of the view:
  4. l_view->set_attribute( name = 'model' value = my_model_instance ).

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

  5. Call the view layout:

call_view( l_view ).

 

 

Leaving content frame