‎2008 Jul 10 8:37 AM
hi,
i want to know the class cl_gui_frontend_services=>get_computer_name ..
plz help me
‎2008 Jul 10 8:42 AM
Hi,
Pls Follow the link.
http://iorboaz.blogspot.com/2008/03/sap-abap-uploaddownload-file-using.html
Foe sample code-
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_codesamples&query=frontend
Regards,
Sujit
Edited by: Sujit Pal on Jul 10, 2008 9:44 AM
‎2008 Jul 10 8:42 AM
Hi,
Pls Follow the link.
http://iorboaz.blogspot.com/2008/03/sap-abap-uploaddownload-file-using.html
Foe sample code-
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_codesamples&query=frontend
Regards,
Sujit
Edited by: Sujit Pal on Jul 10, 2008 9:44 AM
‎2008 Jul 10 8:45 AM
‎2008 Jul 10 8:59 AM
It Give the Frontend Operating System Computer Name.
data: compname type STRING.
cl_gui_frontend_services=>get_computer_name(
CHANGING
computer_name = compname
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
).
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.