cancel
Showing results for 
Search instead for 
Did you mean: 

Validation on step change in GAF

Former Member
0 Kudos

Hi All,

I am developing an application using GAF component. I have to perform some validation before i move from one step to the other. I didnt not find any FPM event getting triggered on step change (or Prevoius.Next button).

Please let me know how and where i can perform this validation and also provide appropriate error message.

Thanks,

Pris.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prisford,

When ever you click on NEXT step or PREVIOUS  button then it will got to Process Event.

In the PROCESS_EVENT of the feeder class you can write code like this.

  CASE io_event->mv_event_id.

     WHEN cl_fpm_event=>gc_event_next_step.

       check_input_fields( IMPORTING ev_result = ev_result

                                     et_messages = et_messages ).

   ENDCASE.