DATA computer_name TYPE string. START-OF-SELECTION. cl_gui_frontend_services=>get_computer_name(
CHANGING computer_name = computer_name EXCEPTIONS cntl_error = 1 error_no_gui = 2 not_supported_by_gui = 3 OTHERS = 4 ). CALL METHOD cl_gui_cfw=>update_view.