cancel
Showing results for 
Search instead for 
Did you mean: 

Portal Navigation

Former Member
0 Kudos
68

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é

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

hello Rene,

How have you passed the parameter to the BSP application?

Nithya

Former Member
0 Kudos

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

raja_thangamani
Active Contributor
0 Kudos

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

Former Member
0 Kudos

I might try this, still, its working for eleven other parameters passed to the BSP application... All parameters are defined in the BSP page and they are not dynamic, the 12th parameters also isnt dynamic: I pass them in key-value pairs.

Rene

raja_thangamani
Active Contributor
0 Kudos

Thats the same thing what i mentioned. BSP will not understand the dynamic parameters. Please try my suggestion as mentioned above.

Raja T

Answers (0)