Entering content frame

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

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

<%@ page language="abap" %>

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

    <table width="500">

      <tr><td><h1><%= s_bookdata-title %></h1><%= s_bookdata-subtitle %> </td></tr>

      <tr><td><p align="right"><b>

        <% DATA author_wa TYPE bsauthors.

        LOOP AT s_bookdata-authors INTO author_wa. %>

          <%= author_wa-authfname %>&nbsp;<%= author_wa-authlname %><br>

        <% ENDLOOP. %>

        </b></p></td></tr>

      <tr><td><p><b><%= s_bookdata-publisher %></b> - <%= s_bookdata-series %></p><br></td></tr>

      <tr><td><p>In this demo, no long book description text is used.</p><br></td></tr>

      <tr><td><p>Our Price: <%= s_bookdata-our_price %> <%= s_bookdata-catal_curr %>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delivery time: <%= s_bookdata-delivery %> day(s)

        </p><br></td></tr>

      <tr><td><form method="POST" action=corder.htm>

        <p><input type=submit name="onInputProcessing(order)" value="I want to order this book">

      </form></td></tr>

    </table>

  </body>

</html>

 

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

The selected book is displayed along with all the relevant information, for example, price and publisher. The user can order the book by clicking a button. The button is created using HTML.

This graphic is explained in the accompanying text Page Attributes for the Book Page

 

 

Leaving content frame