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

Getting Kernel Information

Former Member
0 Likes
707

Hi there,

I need a <b>RFC function module</b> (may more than one), which returns the following kernel information of a SAP ABAP system from release <b>4.6c upwards</b> (!):

- Kernel release

- Unicode or non-unicode

- 32 or 64 bit

Thanks in advance,

Daniel

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
578

HI,


Use the system function to get Kernal and other info. 

call function 'SYSTEM_INFO'
  exporting
    key   = '  '          " << Pass the key values to get info  
  importing
    value = value.

Values you can pass related to KEY

'SAP_VERSION'
'SAP_SYSTEM_ID'
'MACHINE_TYPE'
'DBNAME'       
'DBUSER'
'CTYPE'
'OPSYS_VERSION'
'KERNEL_KIND'
'SAP_VERSION'

To get the Unicode info use fm

TR_GET_IS_UNICODE_SYSTEM

aRs

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
579

HI,


Use the system function to get Kernal and other info. 

call function 'SYSTEM_INFO'
  exporting
    key   = '  '          " << Pass the key values to get info  
  importing
    value = value.

Values you can pass related to KEY

'SAP_VERSION'
'SAP_SYSTEM_ID'
'MACHINE_TYPE'
'DBNAME'       
'DBUSER'
'CTYPE'
'OPSYS_VERSION'
'KERNEL_KIND'
'SAP_VERSION'

To get the Unicode info use fm

TR_GET_IS_UNICODE_SYSTEM

aRs

Read only

0 Likes
578

Thanks! Problem solved