Skip to Content
avatar image
Former Member

How do I check system uptime through ABAP

Hi,

Is there any way to find system uptime during a particula interval using any ABAP fucntion module ?

I guess it can only be achieved by reading SM21 log . If so , what is the ABAP Function module to read the system log ?

Please help .

Thanks,

Suman

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Feb 07, 2009 at 12:46 PM

    Hi Chittaranjan,

    I found one function module BP_JOBLOG_READ it fetches the job log execution.

    Further more for Application logs On the Pattern give APPL_LOG* and press F4 you will get the long list for logs.Hope your query will be resolved.

    Have a best day ahead.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 09, 2009 at 10:45 AM

    Hi,

    there is a file loggin the uptime and downtime. The file is called available.log and you should

    be able to see it with transactions AL11 or ST11. It is located in the work directory where

    the developer trace files are located.

    hope this helps.

    kr,

    andreas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 09, 2009 at 12:20 PM

    Hi,

    You can try function module SAPTUNE_GET_SUMMARY_STATISTIC

    From a bunch of results about SAP buffers, you will get the ABAP stack Startup date and Startup time.

    Regards,

    Olivier

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 10, 2009 at 02:29 AM

    Hi All,

    Thanks evrybody for all your reply .

    My sap version is 4.6 C . the file availabale.log is not vaialable in this version .

    I am am able to get the downtime by checking the system log thorugh ABAP .

    Just need to find the messages for system stop ans start .

    Following FMs will help in reading the syslog .

    CALL FUNCTION 'RSLG_FILEINFO_INIT

    CALL FUNCTION 'RSLG_READ_FILE'

    Thanks,

    Suman

    Add comment
    10|10000 characters needed characters exceeded