Calling Views
Prerequisites
-
You are in an SAP Web AS 6.20 system.
-
You have created at least one View for your BSP application.
Procedure
-
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.
-
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' ).
-
Call the view layout:
call_view( l_view ).