cancel
Showing results for 
Search instead for 
Did you mean: 

Handle the process_event based on Road map steps

former_member184958
Active Participant
0 Kudos

Welcome to All,

          How can i handle the the road map steps using process_event?.

Example:

     CASE io_event->mv_event_id.


     WHEN io_event->gc_event_next_step.


     wd_this->validate( ).


    ENDCASE.

    

    method.****(Validate)****

    case road_map_steps.

    when "MAINSTEP_1'.

      ****************************************************

      ******Do our coding for road map step 1*******

      ****************************************************

     when 'MAINSTEP_2'.

     *****************************************************

     ********Do our coding for road map step 2******

     *****************************************************

     when 'MAINSTEP_3'.

   

     *****************************************************

     ********Do our coding for road map step 1******

     *****************************************************

     endcase.

    endmothod.

   Is it possible using fpm_gaf_component?

Warm Regards,

John.

Accepted Solutions (1)

Accepted Solutions (1)

julia_bender
Active Participant
0 Kudos

Hi John,

just get the current FPM-instance and ask for the current roadmap-step via the floorplan info.

See our developer's cookbook http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c01204ee-d5c1-2f10-a4b2-dbcb41607...

page 236

lo_gaf_info->get_current_state( ). In here you get the info on which step you are at the moment.

Cheers, Julia

former_member184958
Active Participant
0 Kudos

Hi Bender,

    Whenever we do the validation on webdynpro view based on FPM should we write the coding in  WDDOMODIFYVIEW method or we can write only on fpm hook method.

And also it show the following error,

Answers (0)