Application Development 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: 

Get IP address of the machine

Former Member
0 Kudos

Hello Experts,

I am writing one program, in my program i want whenever it runs on any machine i got the IP adress of that machine in my program output,

Is it possible with which function i can get the IP address of the machine...........

Please revert back me soon........

1 ACCEPTED SOLUTION

Former Member
0 Kudos

check this link

5 REPLIES 5

Former Member
0 Kudos

check this link

Former Member
0 Kudos

Hi

try function module

ARFC_GET_TID - This will give the IP address of the terminal in hex.

Regards

MD

0 Kudos

Dear Expert,

How i will get in 172.16.20.32...... After getting in hex......

Please reply me.......

0 Kudos

Pls check the forum you may get.

I checked and found this link

You may get more examples

Regards

MD

Former Member
0 Kudos

HI

go to the t-code sm04 . press the F1 button for the ip address field -> technical attributes and get the field name with that corres table.

note : refer your basis team .

declare the table in ur zprog.

and retrieve the ip data.

thx

regards

suren.s