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

Table in which Kernel Info

Former Member
0 Likes
2,847

Hello,

In my report program, I need to fetch the kernel info of a system. We ususally get this from release notes in SM51 transaction or from the menu System->status then click on the 'right' arrow which is next to navigate button. Small window opens with Kernel info, DB info & system info.

I am looking for the first one - KERNEL INFORMATION section data. In which table does it exists?? I am looking for two fields particularly - SAP KERNEL RELEASE and PATCH/SUP. PKG.LVL.

Application help doesn't exists.!!

Thanks,

Arvind...

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,938

Try the FM TH_SAPREL2 (behind you find the old good one C ThSysInfo as in RFC_SYSTEM_INFO)

Regards,

Raymond

10 REPLIES 10
Read only

Former Member
0 Likes
1,938

hii,

table UVERS for sy-ssprl(sap release)

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

rgrds,

Shweta

Edited by: Shweta Joon on Aug 20, 2009 12:53 PM

Read only

arvind_aj
Product and Topic Expert
Product and Topic Expert
0 Likes
1,938

Hi Shweta,

Thanks for the quick response. Unfortunately, I didn't get correct parameter/key value for getting kernel release & patch number ..

Thanks,

Arvind...

Read only

0 Likes
1,938

Hello

For kernel release use FM 'RFC_SYSTEM_INFO'

Read only

arvind_aj
Product and Topic Expert
Product and Topic Expert
0 Likes
1,938

Hello Dzed Maroz ,

FM 'RFC_SYSTEM_INFO' gives the same details mentioned above. I am looking for the kernel information & not the details of OS, DB.

Regards,

Arvind...

Read only

0 Likes
1,938

goto se11.

structure name : syst.

you will get all the fields as needed by you here.

and in your program: check sy-<that field name from SYST> will give you the value of that .

Read only

0 Likes
1,938

Hello

You are unattentive.

'RFC_SYSTEM_INFO' returns table RFCSI_EXPORT. RFCSI_EXPORT-RFCKERNRL - Kernel Release.

Read only

arvind_aj
Product and Topic Expert
Product and Topic Expert
0 Likes
1,938

I am very much attentive. I tried the FM 'RFC_SYSTEM_INFO' which give kernel info but not the corresponding patch/Sup.Pkg lvl number!!!

Edited by: Arvind Arakotaram on Aug 20, 2009 5:47 PM

Read only

Former Member
0 Likes
1,938

Hello


call function 'SYSTEM_INFO'
  exporting
    key   = '  '
  importing
    value = value.

Key may be:

'SAP_VERSION'

'SAP_SYSTEM_ID'

'MACHINE_TYPE'

'DBNAME'

'DBUSER'

'CTYPE'

'OPSYS_VERSION'

'KERNEL_KIND'

'SAP_VERSION'

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,939

Try the FM TH_SAPREL2 (behind you find the old good one C ThSysInfo as in RFC_SYSTEM_INFO)

Regards,

Raymond

Read only

arvind_aj
Product and Topic Expert
Product and Topic Expert
0 Likes
1,938

Hi Raymond,

FM TH_SAPREL2 is working fine. Thanks for ur solution.

Cheers,

Arvind...