Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

IP Address

Hi,

Is ther any way to find the IP address of a computer using ABAP.

Regards

Ahasan

Tags:
Former Member
replied

data: ip_address(50).

call method cl_gui_frontend_services=>get_ip_address

receiving

ip_address = ip_address

EXCEPTIONS

CNTL_ERROR = 1

ERROR_NO_GUI = 2

NOT_SUPPORTED_BY_GUI = 3

others = 4

.

write:/ ip_address.

Refer above code.

Regards,

Ravi

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question