‎2008 Nov 14 9:19 AM
Dear All,
I need to know about the field name of system ID(ie.,Full computer name).......
Regards!
Micheal
Everything is Possible when we are working as unity..........
‎2008 Nov 14 9:30 AM
Hi
Use the class cl_gui_frontend_services. See all the other methods
DATA : system_ip TYPE string.
CALL METHOD cl_gui_frontend_services=>get_ip_address
receiving
ip_address = system_ip
* EXCEPTIONS
* cntl_error = 1
* error_no_gui = 2
* not_supported_by_gui = 3
* others = 4
.
IF sy-subrc EQ 0.
write system_ip.
ENDIF.Regards
‎2008 Nov 14 9:27 AM
‎2008 Nov 14 9:30 AM
Hi
Use the class cl_gui_frontend_services. See all the other methods
DATA : system_ip TYPE string.
CALL METHOD cl_gui_frontend_services=>get_ip_address
receiving
ip_address = system_ip
* EXCEPTIONS
* cntl_error = 1
* error_no_gui = 2
* not_supported_by_gui = 3
* others = 4
.
IF sy-subrc EQ 0.
write system_ip.
ENDIF.Regards
‎2008 Nov 14 9:39 AM
Call FM GUI_GET_DESKTOP_INFO with Type = 1.
This will return the Full computer name you are working.
Regards
Karthik D
‎2008 Nov 14 10:27 AM
Hi John
use system variable SY-SYSID.
This stores the sysytem id.
Thanks,
Krishna.