on 01-21-2009 9:22 AM
Hi all,
My question is: is there any way to get the IP address of the server?
I need it to set the igsURL-property of my BusinessGraphics, depending on which server the app is runing. If there are other ideas for this, i`ll be very thankfull.
Thanks in advance.
Z.
Hi Zdravko,
same topic, updated content for CE 711:
http://help.sap.com/saphelp_nwCE711/helpdata/EN/43/8a1a8ece230c8ce10000000a11466f/frameset.htm
Kind regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zdravko,
in this case you should not hardcode the igsURL, but let it empty and configure the igsURL on the server.
If you are on 7.0 use Visual administrator for this:
http://help.sap.com/saphelp_nw70/helpdata/EN/43/8a1a8ece230c8ce10000000a11466f/frameset.htm
kind regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As far as I know, the igsURL property of the business graphic UI element is not bindable. That means, you cannot set a context to it.
Even if you are able to get the IP sddress of the server, I would like to know how are you going to set this property dynamically.
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yeah.. You are right.
In this case, the Web Dynpro application URL must suffice for getting the server information.
You can use the WDURLGenerator.getApplicationURL(...) methods to get the application URL, and then the Server Hostname can be derieved from it.
Also, remember to put the code that you have mentioned in the if (firsttime) block in wDoModifyview, to avoid it being set at every View event.
Regards,
Alka.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.