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: 

Find Patch level of a REMOTE system?

former_member194669
Active Contributor
0 Kudos

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

5 REPLIES 5

ferry_lianto
Active Contributor
0 Kudos

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

0 Kudos

Ferry,

I am looking for patch level of a REMOTE system, and not own presentation server. I have looked

FM RFC_GET_SYSTEM_INFO not getting patch level it is giving only version.

CL_GUI_FRONTEND_SERVICES=>GET_GUI_VERSION. can only used for find patch level of my own desktop/presentation server

0 Kudos

I thought of this probelm of current desktop limitation so, I thought of putting that into the User Exit so when the user comes and logs in the system you can have that information in the User Exit and you can save that info into some database table.

Regards,

Naimesh Patel

0 Kudos

Naimesh,

I also think of your option as final. Thanks for your reply.

Any other suggestions to get patch level?

a®s.

naimesh_patel
Active Contributor
0 Kudos

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