‎2009 Aug 20 11:39 AM
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...
‎2009 Aug 20 1:23 PM
‎2009 Aug 20 11:44 AM
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
‎2009 Aug 20 11:57 AM
Hi Shweta,
Thanks for the quick response. Unfortunately, I didn't get correct parameter/key value for getting kernel release & patch number ..
Thanks,
Arvind...
‎2009 Aug 20 12:33 PM
‎2009 Aug 20 12:44 PM
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...
‎2009 Aug 20 12:56 PM
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 .
‎2009 Aug 20 1:07 PM
Hello
You are unattentive.
'RFC_SYSTEM_INFO' returns table RFCSI_EXPORT. RFCSI_EXPORT-RFCKERNRL - Kernel Release.
‎2009 Aug 20 1:17 PM
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
‎2009 Aug 20 11:45 AM
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'
‎2009 Aug 20 1:23 PM
‎2009 Aug 20 1:55 PM
Hi Raymond,
FM TH_SAPREL2 is working fine. Thanks for ur solution.
Cheers,
Arvind...