cancel
Showing results for 
Search instead for 
Did you mean: 

Calling A Webdynpro Application From Another Webdynpro Application

Former Member
0 Kudos

Hi,

i want to call a webdynpro application from another webdynpro application with sending parameters.

i used this method,

CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
      application_name = lv_webapp
    IMPORTING
      out_absolute_url = lv_url.

CONCATENATE lv_url '?param1=' lv_param INTO lv_url.

data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component  type ref to if_wd_component.
data lo_window         type ref to if_wd_window.

lo_api_component  = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window         = lo_window_manager->CREATE_EXTERNAL_WINDOW(
    URL = LV_URL
    ).

lo_window->open( ).

but this method shows the parameters on the address bar.

is there a method to send the parameters to another webdynpro application without show the parameters on the address bar?

Can somebody help me pls?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you for your reply,

is there anyway else to do this?

Thanks again.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I've used a server cookie before. This was built for BSP, but it is really usable anywhere. It just writes the data temporary into the database. This way you can just pass one meaningless URL parameter - like a GUID and use this key to read the data (the server cookie) upon initialization of the new application. I generally serialize all the data that I want into one server cookie by serializing a class. I can then restore whatever attributes of the class that I want on the receiving side.

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/4cd23a09313b37e10000000a11405a/frameset.htm

pranav_nagpal2
Contributor
0 Kudos

Hi,

Check this link...

regards

Pranav