Entering content frameProcedure documentation Creating Page after.htm Locate the document in its SAP Library structure

Use

Once you have created your new BSP extension with the two new elements, you can use this new extension already in a new page in your BSP application.

All elements are defined, and empty standard implementations were generated by the system for each element. As a result, the elements can be used already, even if they do not create any tasks.

Procedure

  1. In the Web Application Builder, use the context menu to copy the existing page before.htm to the name after.htm.
  2. Change the layout coding:
  3. <%@page language="abap"%>
    <%@extension name = "HTMLB"                 prefix = "htmlb" %>
    <%@extension name = "BSP_TUTORIAL_COMPLEX" prefix = "sf" %>

    <htmlb:content>
      <htmlb:page>
        <htmlb:form>
            <sf:SimpleForm         id             = "sf" >
             <sf:SimpleFormItem    id             = "name"
                                     label         = "Name:"
                                     value         = "
    <%=name%>" />
             <sf:SimpleFormItem    id             = "password"
                                     label         = "Password:"
                                     value         = "
    <%=password%>"
                                     password        = "TRUE" />
             <sf:SimpleFormItem    id             = "email"
                                     label         = "Email:"
                                     value         = "
    <%=email%>" />
            </sf:SimpleForm>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

  4. Save, activate and test your BSP application.

Result

Everything runs as usual, although there is no output.

In the next step, implement dynamic BSP element processing

 

 

Leaving content frame