Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get computername under CITRIX

Former Member
0 Likes
526

Hi,

In my program I want to get the computername. When I use the method GET_COMPUTER_NAME, I'm getting the computername.

But there is a problem when I work with Citrix, I'm working remote on a SAP server via Citrix. I don't get the computername but the citrixserver.

This is the method I'm using:

CALL METHOD cl_gui_frontend_services=>get_computer_name

CHANGING

computer_name = compname

EXCEPTIONS

cntl_error = 1

error_no_gui = 2

OTHERS = 3.

Is there another way to get the computername (pc-name) when I work with Citrix?

Kind regards,

Rita Stockmans

1 REPLY 1
Read only

Former Member
0 Likes
353

Hi

I don't believe u can do it in SAP, because SAP should see only the main workstation (so the citrixserver).

Max