Anybody know of a good way to fetch the port number of your NW instance purely in BLS? In the past I've used location.port in javascrpt, but in this application I need it to be an all BLS transaction (there's no user intereface)
It doesn't solve the issue, but it would be a good feature request for addition to /XMII/Illuminator?Service=SystemInfo&Mode=HostInfo
(assumption would be using an XMLLoader: server://XMII/Illuminator?Service=SystemInfo&Mode=HostInfo&Content-Type=text/xml)
Edited by: Jeremy Good on Oct 26, 2011 10:59 AM
You can try to use get file list actions to find the help shortcut that lives on the sever:
<install drive>:\usr\sap\<system id>\SYS\global\Help\Welcome.url
Once you get there and read the file with a Text Loader you can parse out the host and port.
Its probably kinda chuggy so I would try to cache the result somewhere.