Show TOC

Example documentationBSP Only with Layout Locate this document in the navigation structure

 

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:

Syntax Syntax

  1. <%@ page language="abap"%>
    <html>
    <body>
      <center>
      <% do 5 times. %>
        <font size=<%=sy-index%>>
        Hello World! <br>
        </font>
      <% enddo. %>
      </center>
    </body>
    </html>
End of the code.
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.