Skip to Content

Find Patch level of a REMOTE system?

Hi,

I have requirement to write a program to find what will be patch level applied in the each presentation server that login into server.

This will be my requirement. We have around 6000 terminals, some of terminals giving short dump in server due to non applying of latest GUI patch in the presentation server, requirement is to find what will be patch level of presentation server from application server.

I like to know whether it is possible to find what will be patch level applied in the

presentation server from Application server.


I am looking for way to find the patch level of remote system(presentation server / desktop)

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 29, 2007 at 10:57 PM

    Hi,

    Please check FM RFC_GET_SYSTEM_INFO.

    Also try class CL_GUI_FRONTEND_SERVICES=>GET_GUI_VERSION.

    data: v_tab type  filetable,
          v_info type file_table,
          rc type i.
     
    call method cl_gui_frontend_services=>get_gui_version
      changing
        version_table            = v_tab
        rc                       = rc
      exceptions
        get_gui_version_failed   = 1
        cant_write_version_table = 2
        gui_no_version           = 3
        cntl_error               = 4
        error_no_gui             = 5
        not_supported_by_gui     = 6
        others                   = 7.
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
                 with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    else.
      read table v_tab into v_info index 3.
      write:/ 'Patch level:', v_info(2).
    endif.
    

    Regards,

    Ferry Lianto

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 29, 2007 at 11:02 PM

    As suggested by Ferry you can use that method to get the current GUI details.

    You can use the userexit SUSR0001.. FM EXIT_SAPLSUSF_001 to trigger when user logon to system and can update the Z table with user and it's current patch.

    Hope it helps..!

    Regards,

    Naimesh Patel

    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.