cancel
Showing results for 
Search instead for 
Did you mean: 

IP Address of the client/browser

Former Member
0 Kudos

In my WDA application I need to find out the IP address of the client/browser.

Is this available somewhere (attribute / method of the component controller?)??

Thanks,

Brad

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Brad,

Go to webdynpro application, of the created webdynpro component, there u find the URL ,the host name.

after that add that hostname in c:
windowssystem32\drivers\etc\hosts file.

for eg: 10.10.30.20 localhost

The ip adrress, will be either local host (if server installed in same system) or the ip adrress of the installed server system.

Cheers,

Mary

Former Member
0 Kudos

Hi Mary,

Please read my question again.

Thanks,

Brad

Former Member
0 Kudos

Hi Brad,

Sorry i had mistaken your question..

Mary

Yashpal
Active Contributor
0 Kudos

Hi ,

see the method GET_REMOTE_ADDRESS of the interface IF_WD_APPLICATION ...

Regards

Yash

Former Member
0 Kudos

Hi Yash,

On NW 7.0 I dont see a method GET_REMOTE_ADDRESS of the interface IF_WD_APPLICATION. Is it somewhere else?

Brad

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>

> Hi Yash,

>

> On NW 7.0 I dont see a method GET_REMOTE_ADDRESS of the interface IF_WD_APPLICATION. Is it somewhere else?

>

> Brad

What SP level is your NetWeaver 7.0 system? I have 7.0 SP15 and that method is present.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Incidentally that is a public API :

[http://help.sap.com/saphelp_nw70/helpdata/EN/43/036b1fdc7e22f2e10000000a1553f7/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/43/036b1fdc7e22f2e10000000a1553f7/frameset.htm]

Former Member
0 Kudos

Thanks Thomas, thanks Yash,

On the SP10 system I was looking at method GET_REMOTE_ADDRESS is not present, on a SP14 system, however, I do find it.

I found OSS note 1004925 which has the required correction to include this method. It seems that this method was released in SP11.

I'll implement the note.

Cheers,

Brad