Entering content frame

Procedure documentation Layout for the Search Page Locate the document in its SAP Library structure

The layout for the page search.htm, which you set using the tab page Layout, looks like this:

<%@ page language="abap" %>

<%@ include file="head.htm" %>

    <h3>Search</h3>

    <p>

    Fill out one or more of the fields below to search for a book.
    You can use the wildcard characters '+' for one letter and '*'
    for any number of letters.

    <form method="POST">
      <table>
        <tr><td
width="180"> Author (last name) </td>
          <td> <input type="text" name="author" size="80"></td> </tr>
        <tr><td>Title </td>
          <td> <input type="text" name="title" size="80"></td></tr>
        <tr><td>Publisher </td>
          <td> <input type="text" name="publisher" size="40"></td></tr>
        <tr><td>Keyword </td>
          <td> <input type="text" name="keyword" size="20"</td></tr>
        <tr><td>ISBN </td>
          <td> <input type="text" name="isbn" size="13"></td></tr>
      </table>

      <p>

      <input type=submit name="onInputProcessing(search)" value="search book">
      &nbsp;&nbsp;&nbsp;&nbsp;
      <input type="reset" value="Reset" name="B2">

    </form>

  </body>

</html>

The page fragment head.htm is also included in this page.

Just like in the second tutorial, HTML is used here to create a form for the various search fields. This allows the end user to search by author, title, publisher, ISBN number, and keyword. The above code also creates two buttons, one for the search and one to reset the input fields.

This graphic is explained in the accompanying textPage Attributes for the Search Page

 

 

Leaving content frame