Entering content frame

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

Specify the processing procedure that will be carried out as a result of the end user’s actions. To do this, use the event handler OnInputProcessing.

case event_id.

  when 'search'.

    navigation->set_parameter( 'author' ).
    navigation->set_parameter( 'title' ).
    navigation->set_parameter( 'publisher' ).
    navigation->set_parameter( 'isbn' ).
    navigation->set_parameter( 'keyword' ).

    if not ( author is initial and
      title is initial and
      publisher is initial and
      keyword is initial and
      isbn is initial ).
      navigation->next_page( 'TORESULTS' ).
    endif.

  when others.

endcase.

When the user starts the search, each individual input field is analyzed. If at least one field contains user input, this triggers the navigation procedure to the results page.

This graphic is explained in the accompanying text

Because of this IF query, the page attributes must be flagged as automatic, even though the parameters were not transferred from a previous page.

This graphic is explained in the accompanying textLayout for the "Invalid ISBN" Page

 

 

Leaving content frame