on ‎2020 Jul 13 9:37 AM
Hi everyone,
I use the function POC_GET_COMPUTER_NAME to get the computer name.
CALL FUNCTION 'POC_GET_COMPUTER_NAME'
IMPORTING
ex_computer_name = compname
EXCEPTIONS
gui_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE 'Errore lettura hostname' TYPE 'I' RAISING err_hostname.
ENDIF.
This doesn't work though if I use an internet service. I am stuck on this screen.

When I press enter to go beyond the variable it is not valued.
Can someone help me?
Ty so much.
Request clarification before answering.
Hello,
Have you tried to use cl_gui_frontend_services=>get_computer_name directly?
The FM you mentioned is not released for customers, so should be avoided.
Regards,
Cris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.