!--a11y-->
Event Handlers for the Book Page 
Two event handlers are required for the processing procedure for the page
showbook.htm, OnInitialization and OnInputProcessing.OnInitialization
|
DATA cata_id TYPE bsindex. cata_id = s_cata_id. CALL METHOD cl_book_shop=>get_item |
The method
get_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.OnInputProcessing
|
case event_id. when 'order'. navigation->next_page( 'TOORDER' ). when others. endcase. |
When the user clicks the order button, the navigation request
TOORDER triggers the navigation procedure to another page. This navigation request is specified later in the context of the navigation structure.