on 04-08-2013 4:46 PM
I am calling an FPM application from another FPM application.
I created a launchpad for target application and activated suspend/resume setting.
I call target FPM by using IF_FPM_NAVIGATION->NAVIGATE( ) method
In the target FPM there is no entry for the URL (i.e.: 'sap-wd-resumeurl' ) in internal table wdr_task=>client_window->parameters of method
CALL METHOD cl_wd_runtime_services=>get_url_parameter.
I am running the application from NWBC.
Not sure why the is no entry for 'sap-wd-resumeurl' ???
Thanks
There are many OSS notes that address NWBC and Suspend/Resume. Check if these are applicable in your case: 1620576, 1746597, and 1744089. There are others but I thought these made most sense.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Raynald,
thank your for your answer again.
In the source application i'm passing the parameter table "it_application_parameter" with the key/value pair SAP-WD-RESUME-URL/generated resume url, if this is what you mean?
In the launchpad Suspend/Resume is acivated.
I also checked calling the FPM application as Web Dynpro application instead of OBN, but i still cannot see the parameter SAP-WD-RESUMEURL in the target application.
Is it probably because the parameter SAP-WD-RESUMEURL is not specified as application parameter in the target application?
Why do you need the resume url in the target application? For back navigation? Because i need it to navigate back to the source application (which is running in the same window).
Thanks and regards
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raynald,
i have the same problem and i tried to use your solution, but i still cannot see the resume url in the target fpm application. The navigation is implemented between two fpm application through OBN and i just see the parameters of the target fpm application.
Where do you retrieve the resume url in the target application?
Thanks in advance.
Regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Martin,
I manually pass the resume URL as a parameter of method lr_navigation->navigate.
example:
ls_appl_parms-key = 'SAP-WD-RESUMEURL'.
ls_appl_parms-value = wdr_task=>client_window->client->create_application_url( url_type = 'ABSOLUTE' use_contextid = abap_true ).
APPEND ls_appl_parms TO lt_appl_parms.
In the target FPM there should now be an entry for the URL (i.e.: 'sap-wd-resumeurl' ) in internal table wdr_task=>client_window->parameters of method
CALL METHOD cl_wd_runtime_services=>get_url_parameter.
Thanks
Hey Raynald,
thank your for your answer.
I do pass the resume URL as parameter of the method lr_navigation->navigate like you describe in your post.
I can see the application parameter in my source FPM application, but not in the table
wdr_task=>client_window->parameters when I'm debbugging the target FPM application.
Your FPM applications are running in which environment? Mine are running in the NWBC HTML.
Thanks and regards,
Martin
Martin,
I did a prototype using NWBC HTML.
In the source application did you specify Name/value pair in parameter table?
i.e.: SAP-WD-RESUMEURL = URL
In launchpad did you turn on Suspend/Resume switch ?
I don't recall if I used OBN or Webdynpro launchpad. Try it by using Webdynpro application in launchpad.
Thanks
Hi,
I was able to get it to work by getting the ABSOLUTE URL and passing it as a parameter:
ls_appl_parms-key = 'SAP-WD-RESUMEURL'.
ls_appl_parms-value = wdr_task=>client_window->client->create_application_url( url_type = 'ABSOLUTE' use_contextid = abap_true ).
APPEND ls_appl_parms TO lt_appl_parms.
*
lr_navigation->navigate( iv_target_key = lv_target_key
it_business_parameters = lt_appl_parms ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
see sap note 1610866. Probably this would help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It appears that if using NWBC, when suspending an FPM application the URL is not passed to the target FPM application, instead the NWBC context is passed.
Not sure how to resume without the URL.
Is Suspend/Resume possible when using NWBC?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.