cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Dynamic host and port in SWFVISU for My Inbox Application.

tejaswikosanam
Explorer
0 Kudos
241

Hi,

We are trying to construct link for Fiori My Inbox 'Related Objects' link. We are already maintaining  object types and visualization parameters (My Inbox Generic application) in tcode SWFVISU . In visualization parameters we have 'QUERY_PARAM00' where we need to mention backend host and port. But these values will change when we move to QA and Prod. I tried maintaining relative path but it didn't work. So, is there a way/ expression to get both host and port of backend system.
With {SYSTEM} we are able to get system ID but could you provide how can we get both host and port.

Thanks,

Teja.

tejaswikosanam
Explorer
0 Kudos

Hi,

Any suggestions please.

View Entire Topic
laszlo_haladin
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

See SAP Note 2178368 - URL generation for any application (My Inbox) for additional guidelines.
You can use QUERY_PARAM00 data=/sap/opu/odata/sap/,.,;o=sid({SYSTEM}.{CLIENT}).... as an example.

Please also note that host/port can be changed dynamically with SWPA transaction parameters, like :

WORKFLOW SWF_URL UI5_BSP_HOST
WORKFLOW SWF_URL UI5_BSP_PORT
WORKFLOW SWF_URL UI5_BSP_PROTOCOL
WORKFLOW SWF_URL WD_ABAP_HOST
WORKFLOW SWF_URL WD_ABAP_PORT
WORKFLOW SWF_URL WD_ABAP_PROTOCOL
WORKFLOW SWF_URL WEBGUI_HOST
WORKFLOW SWF_URL WEBGUI_PORT
WORKFLOW SWF_URL WEBGUI_PROTOCOL

....

If the parameter is not set additionally, the default host/port  is used.

 

Best Regards
Laszlo

tejaswikosanam
Explorer
0 Kudos

Hi @laszlo_haladin, I need to make this URl when user clicks on related object link in My inbox : https://{HOST:PORT}/abc.html.

The Host and Port should be changed depending on the backend host and port. (when we move to QA and Prod)

In SWFVISU, we maintain object type with visualization parameter as  "My Inbox Generic Application". Inside the visualization parameter, how do I configure the URL which is dynamic according to the environment. I tried maintaining this WORKFLOW | SWF_URL | WEBGUI_HOST parameter in SWPA, but it's not coming in object link oData response there by unable to create dynamic link.

Please provide your suggestions.

Thank you.