cancel
Showing results for 
Search instead for 
Did you mean: 

Using GAF within OIF?

Former Member
0 Kudos

Is it possible to have a Web Dynpro Application configured using OIF and have a page configured with OIF that has a button that calls a popup that is then configured in GAF? So the pop up would then have a new page with a new logic flow. So the popup would go through 2 or 3 pages before being closed and returning to the OIF configured application.

Thank you,

Michael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey Michael

Yes this is possible.

Please write the below code in the process_event of UIBB Feeder class.


  DATA : lo_navigate_to TYPE REF TO if_fpm_navigate_to,
               lo_fpm TYPE REF TO if_fpm.
DATA: ls_launch_wd TYPE fpm_s_launch_webdynpro,
DATA: l_s_add_fields     TYPE apb_lpd_s_add_wd_parameters.

IF io_event->mv_event_id = '**********'.   "Action ID of your button.

    lo_fpm = cl_fpm_factory=>get_instance( ).
    lo_navigate_to = lo_fpm->get_navigate_to( ).

    ls_launch_wd-wd_namespace = 'SAP'.
    ls_launch_wd-wd_application = '*******'.      "Your GAF Application Name
    ls_launch_wd-wd_configuration = '*****'.      "GAF Application configuration name
    ls_launch_wd-system_alias = 'SAP_DUMMY'.

*    l_s_add_fields-navigation_mode    = 'INPLACE'.   " If you want to display the GAF Application in the same page instead of popup

    lo_navigate_to->launch_webdynpro_abap(  
                                  EXPORTING 
                                      is_webdynpro_fields = ls_launch_wd 
*                                      is_additional_parameters = l_s_add_fields
                                                     ).
  ENDIF.

Thanks & Regards

Venkata Sudhakar

Answers (0)