Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Retrieve portal url dynamically.

Former Member
0 Likes
891

Hi,

Could anybody pls let us know how to identify the portal Url dynamically using a function module or SAP Table?

We want to put this URL in the notification e-mail so it is dynamic when the object is moved to Quality and production systems.

Thanks in advance.

Hi,

Could anybody pls let us know how to identify the portal Url dynamically using a function module or SAP Table?

We want to put this URL in the notification e-mail so it is dynamic when the object is moved to Quality and production systems.

Thanks in advance.

4 REPLIES 4
Read only

monalisa_biswal
Contributor
0 Likes
739

One way to make Portal URL dynamic is to create a ztable with fields ABAP system id and portal URL.

Select Portal URL from this table based on the sy-sysid.

By this way you dont have to change your code. Just change table entry on each server.

Hope this helps!

Monalisa

Read only

monalisa_biswal
Contributor
0 Likes
739

TH_GET_VIRT_HOST_DATA Function Module gives Application Server's host name and port number .

Read only

0 Likes
739

But this function module is giving the name of the ABAP application server. In our case the portal is on a different host.

Read only

0 Likes
739

This message was moderated.