Hello Experts!
I'm developing FPM Applications which should be used within NWBC for HTML. Now I have the requirement to navigate from FPM App 1 to FPM App 2 with Parameter passing. So I configured a Launchpad with type FPM_UIBB and implemented the following Code which is triggered after a FPM event:
data:
ls_navigation_key type fpm_s_navigation_key,
lr_navigation type ref to if_fpm_navigation,
lv_target like line of lr_navigation->mt_targets,
ls_app_param type apb_lpd_s_params,
lt_app_param type standard table of apb_lpd_s_params.
ls_navigation_key-key1 = 'LPD_ROLE'.
ls_navigation_key-key2 = 'LPD_INSTANCE'.
lr_navigation = wd_this->mo_fpm->get_navigation( ls_navigation_key ).
read table lr_navigation->mt_targets
into lv_target with key alias = 'APP2_ALIAS'.
if sy-subrc = 0.
ls_app_param-key = 'testparameter'.
ls_app_param-value = 'testvalue1234'.
append ls_app_param to lt_app_param.
call method lr_navigation->navigate
exporting
iv_target_key = lv_target-key
it_business_parameters = lt_app_param.
endif.
The code works fine, but the problem is that in the NWBC menu FPM App 1 stays highlighted. But when I refresh the browser after navigation event, the link still refers to FPM App 1.
I'm aware that currently I use FPM navigation and maybe this causes the problem but I couldn't find any information on NWBC specific navigation.
Is there any NWBC specific navigation function or maybe a specific launchpad configuration that will solve my problem?
Thanks in advance,
Bernd