on 08-23-2011 3:38 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.