Hi,
FPM event can be captured in WDDOBEFOREACTION, but since this hook method is invoked before any events, it will throw a dump , if any action is triggered other FPM event.
So it is better to write the validation in Component controller method,(ON_PROCESS ), if we want to Validate based on prev and next buttons.
DATA io_event type cl_fpm_event.
CASE io_event->mv_event_id .
WHEN cl_fpm_event=>'NEXT'. " Global constants can be declared like gc_event_edit,etc
.
.
.
.
Endcase.
Regards,
Harsha J