BSP Only with Layout
Use
Overview
This simple BSP merely consists of the layout. This layout:
-
has the scripting language ABAP
-
contains static HTML
-
contains server-side scripting
In the Web Application Builder, the layout of this BSP looks as follows:
<%@ page language="abap"%>
<html>
<body>
<center>
<% do 5 times. %>
<font size=<%=sy-index%>>
Hello World! <br>
</font>
<% enddo. %>
</center>
</body>
</html>
Process Flow
The individual steps that are followed when processing this BSP are as follows:
-
The user calls a BSP application in the browser or enters an appropriate URL.
-
An HTTP-GET request is sent to the BSP runtime.
-
The BSP runtime determines the suitable BSP application and the BSP that is called.
-
Since the BSP only consists of the layout, the page layout that is established there is determined and the scripting code is processed.
-
The BSP runtime then generates a suitable response
-
and sends it to the browser that displays the BSP.