on 09-27-2008 11:19 AM
Hi,
I have an web dynpro application which will not use in Portal! I want to get the URL of this application because i will send this URL with e-mail. How can i get all of the URL with host and port.
Thanks
Have a look at method CL_WD_UTILITIES=>CONSTRUCT_WD_URL.
Regards, Silke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone.
I have found that the following statement can get current protocol for Web Dynpro application:
CALL METHOD cl_http_server=>get_location
EXPORTING
server = cl_wdr_task=>server
IMPORTING
host = lv_host
port = lv_port
out_protocol = lv_protocol.
Thanks,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Is there anyone who wanna help?
Thanks,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Silke,
Your information is very valuable.
Thanks a lot.
I still have a question:
How to get the current protocol?
As you know, the function module TH_GET_VIRT_HOST_DATA requires an importing parameter: protocol.
But my application can be accessed in either http or https protocol.
I have tried that if I pass in (protocol=1) or (protocol=2), I can get correct port number.
But how can I know the current protocol?
Thanks & Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.