cancel
Showing results for 
Search instead for 
Did you mean: 

Sending a parameter to another WDA Application in my WDA Appliction

Former Member
0 Kudos

Hi,

i have a tree and i am calling another wda application on select the item of my tree but i want to send a parameter that is value of selected item of my tree.

How can i call the wda applications with sending a parameter?

Can somebody help me pls?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can call navigate_absolute of if_wd_portal_integration.

This can be done using code wizard:

1. Select portal integration radio button of code wizard

2. Select navigate_absolute method

In navigation_target parameter, you have to pass PCD location of iView of the other application say APP2

and in business_parameters table type parameter, you can pass any number of parameters in key value format.

  
  DATA lo_api_component  TYPE REF TO if_wd_component.
  DATA lo_portal_manager TYPE REF TO if_wd_portal_integration.

  lo_api_component = wd_comp_controller->wd_get_api( ).
  lo_portal_manager = lo_api_component->get_portal_manager( ).

  CALL METHOD lo_portal_manager->navigate_absolute
    EXPORTING
      navigation_target   = 'Put PCD Location of iView ' 
*      navigation_mode     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_INPLACE
*      window_features     =
*      window_name         =
*      history_mode        = IF_WD_PORTAL_INTEGRATION=>CO_NO_DUPLICATES
*      target_title        =
*      context_url         =
*      post_parameters     = ABAP_FALSE
*      use_sap_launcher    = ABAP_TRUE
       business_parameters = lt_business_parameters
*      launcher_parameters =
      .

Former Member
0 Kudos

Hi,

First of all thank you very much,

then i tried to use "navigate_absolute" method and i searched this method but i didn't find format of parameter that "navigate_target" in method "navigate_absolute".

which format do i need to send "navigate_target" parameter to method? or what is the "navigate_target"?

Can you help me please?

Thanks again.

Former Member
0 Kudos

Hi,

navigate_target is the PCD location of the target iView. It is complete path of the iView in portal content directory.

e.g. ROLES://portal_content/ess/iViews/application2

This path is displayed in the portal catalog u2013 for instance, when you edit a page or an iView.

Also you can check the link:

http://help.sap.com/saphelp_nw04s/helpdata/en/18/f96f4132f15c58e10000000a1550b0/frameset.htm

Former Member
0 Kudos

Hi,

Thanks for your reply,

i've looked that articles.

my wda will not be used in a portal application so that method didn't solve my problem.

is there anyway else to call another wda application in a wda application?

Thanks again.