Please tell me in the below code i mentioned which is the first event that gets triggered.I think its AT-SELECTION-SCREEn event.
REPORT ZPRE_5 .
parameters:wrbtr1 type bseg-wrbtr.
at selection-screen .
if wrbtr1 is initial.
MESSAGE 'Please enter a value' TYPE 'E'.