Skip to Content

Guys this is very simple but i’m keeping it for reference.

  1. Create a WD Component with 2 views and windows.
  2. Implement required FPM interfaces.
  3. /wp-content/uploads/2012/05/1_106171.png
  4. Embed views into required windows.
  5. Configure FPM Component. here i’m not explains about Creation of WD Component and FPM configuration. 
  6. /wp-content/uploads/2012/05/2_106238.png
  7. Write bellow logic in FPM Event OVERRIDE_EVENT_OIF to Set Default Tab.

DATA:

       lo_event_params   TYPE REF TO if_fpm_parameter,

       lr_event          TYPE REF TO cl_fpm_event,

       lo_fpm            TYPE REF TO if_fpm.

   CASE io_oif->mo_event->mv_event_id.

     WHEN ‘FPM_START’.

       CREATE OBJECT lo_event_params TYPE cl_fpm_parameter.

       lo_event_params->set_value(

         EXPORTING

           iv_key = if_fpm_constants=>gc_event_paramview_id

           iv_value = ‘TAB_2’ ).

       CREATE OBJECT lr_event

         EXPORTING

           iv_event_id   = cl_fpm_event=>gc_event_view_switch

           io_event_data = lo_event_params.

       lo_fpm = cl_fpm_factory=>get_instance( ).

       lo_fpm->raise_event( lr_event ).

   ENDCASE.

ENDMETHOD.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply