on 05-15-2014 10:25 PM
Hello All,
the requirement I am stuck at is the ability to cancel the process during any of the steps before completion of the GAF component.
For example, the user should be able to cancel the process, preferably using a CANCEL button on toolbar, during the process of the steps in GAF. The data in the completed steps may not be saved for future retrieval. The user does not want to use the CLOSE option of the window to completely close the browser.
Please let me know if there is a standard functionality available in GAF or any possibility to make this.
Thanks,
Krishna Teja Peddada
once you capture CANCEL event triggered by that button, you can do anything you want with that - like cleanup, aborting any temporary table entries etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
What is your expected behavior when user click on Cancel? If the expected behavior is to navigate to overview page without saving data, you can programmatically trigger a launchpad navigation using IF_FPM_NAVIGATION_API in event handler of the Cancel button.
For example:
*** On Cancel button clicked ***
data: lr_fpm_navigation type ref to if_fpm_navigation,
lv_key type string,
lt_appl_param type apb_lpd_t_params,
ls_appl_param type apb_lpd_s_params,
lt_business_param type apb_lpd_t_params,
ls_nav_key type fpm_s_navigation_key.
*_ Navigate to Overview Screen
ls_nav_key-key1 = <<launchpad_role>>
ls_nav_key-key2 = <<launchpad_instance>>
lr_fpm_navigation ?= wd_this->go_fpm->get_navigation( is_key = ls_nav_key iv_instance_sharing = abap_false ).
lv_key = lr_fpm_navigation->get_key_from_alias( iv_alias = <<launchpad_alias>> ).
lt_business_param[] = lt_appl_param[].
lr_fpm_navigation->modify_parameters(
exporting
id_target_key = lv_key
it_application_parameter = lt_appl_param
it_business_parameter = lt_business_param ).
lr_fpm_navigation->navigate( lv_key ).
Hope it helps. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.