on 10-12-2007 10:10 AM
Hi,expert,
I want to display an external window which contains another web dynpro component ,so I used this
IF_WD_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW ,then I meet the problem
(1)how to get the url of the embeded component (actually the url of the application which contains this component) which should be displayed in the external window. (url in the compusory parameter of the above method)
(2)if we get that url ,how to pass the parameter,just add that like this:
http://abc.com:8080/component_1?username='ray'
(3)By the way,if there is another way to achieve that?
Thanks a lot
Hi,
if you want the other component to be called by url,
you should create an application for it and look to the url provided in the attributes
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/c10aea79642ec5e10000000a11466f/frameset.htm">documentation</a> for external window via component usages
there is not really another way than these two
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,Koen,
Thanks your reply. you said 'look to the url provided in the attributes',so these
attributes belong to what object?
if you mean the attributes of the webdyn applicaion,maybe I could not get that.
because this application has to be run on different systems, I have to use code to get that,not just hard code.
Thanks
No need to hardcode the URL, just call this method:
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = p_wdappl " Application name e.g. 'Z_WDA_TEST'
IMPORTING
out_absolute_url = g_url.
If you need to get the URL for one system's application from another system, you could encapsulate the method call in an RFC function module.
Regards
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.