01-31-2008 7:20 AM
what function module is replaced by obselete function module 'GUI_GET_DESKTOP_INFO'
01-31-2008 7:24 AM
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
01-31-2008 7:24 AM
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.
01-31-2008 7:30 AM
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.
01-31-2008 8:37 AM
WS_query is also obselete can you give me the solution please its urgent
01-31-2008 8:54 AM
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