Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8734

Re: How to Read FPM Events in WDDOBEFOREACTION

$
0
0

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


Viewing all articles
Browse latest Browse all 8734

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>