Event Handlers for the Book Page
Two event handlers are required for the processing procedure for the pageshowbook.htm, OnInitialization and OnInputProcessing.
DATA cata_id TYPE bsindex.
cata_id = s_cata_id.
CALL METHOD cl_book_shop=>get_item
The methodget_item of the class cl_book_shop is called to get detailed information on the selected book. This transfers the catalog ID to the method, and the method returns the book data, unless none of the input fields contain any user input.
navigation->next_page( 'TOORDER' ).
When the user clicks the order button, the navigation requestTOORDER triggers the navigation procedure to another page. This navigation request is specified later in the context of the navigation structure.
Layout for the Error Page