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

Code to retrieve the SAP Kernel Version

Former Member
0 Likes
589

Hi,

is it some how possible to retrieve the current SAP Kernel version via ABAP code?

Thanks in advance.

KR

Torben

1 ACCEPTED SOLUTION
Read only

bernat_loscos
Explorer
0 Likes
497

Hi Pedersen,

You could try the following function module:

DATA: l_krelease TYPE  sysaprl,

          l_klevel      TYPE  sychar05.

CALL FUNCTION 'OCS_GET_KERNEL_VERSION'

   IMPORTING

     ev_krelease = l_krelease

     ev_klevel   = l_klevel.

Regards,

1 REPLY 1
Read only

bernat_loscos
Explorer
0 Likes
498

Hi Pedersen,

You could try the following function module:

DATA: l_krelease TYPE  sysaprl,

          l_klevel      TYPE  sychar05.

CALL FUNCTION 'OCS_GET_KERNEL_VERSION'

   IMPORTING

     ev_krelease = l_krelease

     ev_klevel   = l_klevel.

Regards,