Start of Content Area

Procedure documentation Creating after.htm Pages  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 on a new page in your BSP application.

All elements are defined, and empty standard implementations have been generated by the system for each element. As a result, the elements can be used right away, even if they do not yet generate any output.

Procedure

In the Web Application Builder, use the context menu to copy the existing page before.htm to the name after.htm.

...

       1.      Change the layout coding:

<%@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>

 

       2.      Save, activate and test your BSP application.

Result

Everything runs as usual, although there is no output.

In the next step, you carry out dynamic processing of BSP elements

 

 

End of Content Area