!--a11y-->
Defining Event Handlers for the List of Authors 
Use
The content of OnInitialization is set when the
authors.htm page is called, so no user action is required. Therefore you only need the OnInitialization event handler for the author list.In the initialization the first and last name entries are to be exported from the author table into the internal
authors table.Procedure

|
select distinct authlnam authfnam from bsauthors into corresponding fields of table authors. |
The ABAP statement
select processes all first and last name entries in the bsauthors database table and inserts them into the internal table authors. When this happens, the entries are sorted alphabetically by surname.The table
authors therefore contains all the entries that must be displayed. They can be displayed in the layout with a simple loop. (see also Defining Layout for the Author List).
Now you have to declare the authors table as the page attribute.
Page Attributes for the List of Authors