on 2007 Nov 29 9:02 AM
I am calling a BSP application from my WDA, I pass URL parameters too. Everything works fine, except for, that I added a parameter to the BSP Application (HAP_DOCUMENT), included it in the portal navigation, but the parameter is not available (empty) in the BSP Application. I check the resulting portal URL and it contained the parameter (DynamicParameter=...)
Any idea why the parameter is not passed to the BSP?
René
hello Rene,
How have you passed the parameter to the BSP application?
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right now I dont have access to the code. I am using the recommended portal navigation classes. Something like this:
data lr_componentcontroller type ref to ig_componentcontroller .
data l_api_componentcontroller type ref to if_wd_component.
data lr_port_manager type ref to if_wd_portal_integration.
lr_componentcontroller = wd_this->get_componentcontroller_ctr( ).
l_api_componentcontroller = lr_componentcontroller->wd_get_api( ).
lr_port_manager = l_api_componentcontroller->get_portal_manager( ).
call method lr_port_manager->navigate_absolute
exporting
navigation_target = navigation_data-target
navigation_mode = navigation_data-navigation_mode
window_features = navigation_data-window_features
window_name = navigation_data-window_name
history_mode = navigation_data-history_mode
target_title = navigation_data-target_title
context_url = navigation_data-context_url
post_parameters = ABAP_FALSE
use_sap_launcher = abap_true
business_parameters = bus_parameter_list
launcher_parameters = launcher_parameter_list.
business_parameters contains the parameters.
Rene
I dont think so BSP will understand the dynamic Parameter.
you can get the value of Dynamic Parameter using
data: lv_param type string.
lv_param = request->get_form_field( name = 'DynamicParameter' ).
Now lv_param will have the value of Dynamic Parameter. From here you can breadk the each parameter & assign it to respective variable.
OR
you need to pass the individual parameter instead of dynamic so that BSP can understand.
Raja T
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.