Skip to Content
author's profile photo Former Member
Former Member

Regarding replacement of function module 'GUI_GET_DESKTOP_INFO'

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 07: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 07: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 07: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 08: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.