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: 

I want to write code that outputs the ip address of the computer in abap, how do I do it?

Arslan1
Explorer
0 Kudos

Dear guys ,

I want to write code that outputs the ip address of the computer in abap, how do I do it?

 

ABAP Connectivity  

1 REPLY 1

jmodaal
Active Contributor
0 Kudos

Hello,

is your intention to learn ABAP or do you want to know how to get the own IP address?

 

program z_test.
data(ownIp) = cl_gui_frontend_services=>get_ip_address( ).
write:/ ownIp.

 

Kind regards

Jan