Application Development and Automation 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: 
Read only

Know Acrobat version?

Former Member
0 Likes
735

Hi,

I would like get the version of Acrobat installed on my PC or retrieve the list of all software installed on my pc.

Do you know a FM to do this?

Thanks for advance,

Jerome

Hi... try this..

call method cl_gui_frontend_services=>registry_get_value

exporting

root = 0

key = 'AcroExch.Document\AcrobatVersion'

value = ''

importing

reg_value = adobe_version

exceptions

cntl_error = 1

get_regvalue_failed = 2

others = 3.

if sy-subrc <> 0.

endif.

Regards,

Manuel H.

5 REPLIES 5
Read only

Former Member
0 Likes
706

try these function modules

GUI_GET_DESKTOP_INFO – Returns information about the end-users desktop

GUI_RUN – Starts program with ShellExecute

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 28, 2008 3:25 PM

Read only

0 Likes
706

These FM doesn't returns Acrobat version

Read only

0 Likes
706

hi,

Use the class CL_GUI_FRONTEND_SERVICES

in this class use method file_get_verson

There are many more methods in this class which you can use to find the required info.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 28, 2008 3:25 PM

Read only

0 Likes
706

sorry, this solution doesn't work.

The objective is to get the version of Acrobat reader software and not version of file

Read only

0 Likes
706

Hi... try this..

call method cl_gui_frontend_services=>registry_get_value

exporting

root = 0

key = 'AcroExch.Document\AcrobatVersion'

value = ''

importing

reg_value = adobe_version

exceptions

cntl_error = 1

get_regvalue_failed = 2

others = 3.

if sy-subrc <> 0.

endif.

Regards,

Manuel H.