on 06-30-2014 7:21 AM
Hi
I have a web dynpro abap app that is tied to
an iview. Now I want to navigate to another
iview.
My question : is there a method to return the
url of the current portal server my app. is running on?
It should return something like: "http:\\mydev.com:50000"
regards
yuval
Hi,
Check if the below helps you:
CALL METHOD cl_http_server=>get_location
EXPORTING
server = cl_wdr_task=>server
IMPORTING
host = <host>
port = <port>
out_protocol = <protocol>.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can get the host and port details using class CL_URL method HOST.
DATA lr_url TYPE REF TO cl_url.
DATA lv_url TYPE string.
CREATE OBJECT lr_url.
lr_url->host( CHANGING url = lv_url ).
hope this helps u,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.