cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve portal server and port dynamically from WDA application?

Former Member
0 Kudos

Hi,

From my WDA application I need to retrieve portal server name and port number, can you please help me in this regard?

Actually from my WDA application clicking on a link I need to open a transaction iview.

I am using LinkToURL UI element and there I need to set the URL of the transaction iview dynamically, for that purpose i need to retrieve portal server name and port.

Thanks in advance,

Sonia.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, Sonia,

To retrieve the address and port number of the current server (not necessarily the Portal), you can execute the function module ICM_GET_INFO, and read the SERVLIST internal table where PROTOCOL = '1'.

IF the Portal is running at the same server, you can use FM RSWR_PORTAL_CONFIG_GET to retrieve information from the portal, including the URL.

Hope this helps!

Regards,

Andre