Application Development 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: 

Regarding replacement of function module 'GUI_GET_DESKTOP_INFO'

Former Member
0 Kudos

what function module is replaced by obselete function module 'GUI_GET_DESKTOP_INFO'

5 REPLIES 5

Former Member
0 Kudos

Hi,

GUI_GET_DESKTOP_INFO replaced with WS_QUERY.

The replacement for the FM WS_QUERY is CL_GUI_FRONTEND_SERVICES=>GET_TEMP_DIRECTORY and CL_GUI_CFW=>FLASH

Regards,

Satish

Former Member
0 Kudos

Instead you should use the class CL_GUI_FRONTEND_SERVICES. This class provides methods for almost all functionality that is offered by the legacy function modules.

Former Member
0 Kudos

Hi Sir ,

Please have a look below .Hope it is suitable and simpler solution for your question.

Please do reward if useful.

Thankx.

GUI_GET_DESKTOP_INFO replaces ws_query.

0 Kudos

WS_query is also obselete can you give me the solution please its urgent

Former Member
0 Kudos

Hi Naveenkumar,

For differenct fucntions specified in obselete FM

1: Host name (host name of current system) -- CL_GUI_FRONTEND_SERVICES=>GET_IP_ADDRESS

CL_GUI_FRONTEND_SERVICES=>GET_COMPUTER_NAME

2: Windows directory -- CL_GUI_FRONTEND_SERVICES=>GET_WINDOWS_DIRECTORY

3: System directory -- CL_GUI_FRONTEND_SERVICES=>GET_SYSTEM_DIRECTORY

4: Temp. directory -- CL_GUI_FRONTEND_SERVICES=>GET_TEMP_DIRECTORY

5: Domain user name -- CL_GUI_FRONTEND_SERVICES=>GET_USER_NAME

6: Platform -- use CL_GUI_FRONTEND_SERVICES=>GET_PLATFORM

7: Windows build number

8: Windows version

9: Program name

10: Program path

11: Current directory (Directory for current process) --

CL_GUI_FRONTEND_SERVICES=>GET_SAPGUI_WORKDIR

Regards,

Mohaiyuddin