
Creating a Controller
Prerequisites
You have created an empty BSP application for this tutorial.
Procedure
To do this, choose Create ® Controller.


.The class does not have to exist yet.

If the class does not already exist, the system asks you if you want to create it. Choose Yes so that you create a class with the specified name that is derived from
CL_BSP_CONTROLLER2.
Each controller class must be derived directly or indirectly from
CL_BSP_CONTROLLER2.
symbol to branch to the change mode in your class.
Select method
to overwrite the methods.
In this example, it is simple HTML:
|
method DO_REQUEST . write( '<html><body><H1>' ). write( 'This is my very first controller' ). write( '</H1></body></html>' ). endmethod. |
Activating and Deactivating an ICF Service).
In Transaction
SICF, select the entry for your BSP application and choose Service/Virt.Host ® Activate.
Confirm the following confirmation prompts.
Result

Continue by
creating a view.