Skip to Content
avatar image
Former Member

How to get error messages from SM35 log. How to get this from TemSe objects

Hi can any body say how to get SM35 error log from TemSe objects? Is there any function modules which an give error messages of a session.

Thanks and Regards

Harish

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    May 24, 2006 at 12:41 PM

    chk this FM

    'DSVAS_PROC_SESSION_ERRORS_GET'

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 24, 2006 at 12:43 PM

    try this

    1.BDL_GET_SESSION_INFO_LOG
    2. CALL FUNCTION 'RSTS_OPEN_RLC'
        EXPORTING
          NAME         = LOG_NAME
          CLIENT       = LOG_CLIENT
          AUTHORITY    = 'BATCH'
          PROM         = 'I'
          RECTYP       = 'VNL----'
        EXCEPTIONS
          FB_CALL_HANDLE =  4
          FB_ERROR       =  8
          FB_RSTS_NOCONV = 12
          FB_RSTS_OTHER  = 16
          NO_OBJECT      = 20
          OTHERS         = 24.
    
      IF SY-SUBRC > 0.
         EXIT.
      ENDIF.
    
      CALL FUNCTION 'RSTS_READ'
        TABLES
          DATATAB  = LOG_TABLE
        EXCEPTIONS
          FB_CALL_HANDLE =  4
          FB_ERROR       =  8
          FB_RSTS_NOCONV = 12
          FB_RSTS_OTHER  = 16
          OTHERS         = 16.
    
      IF SY-SUBRC > 0.
         EXIT.
      ENDIF.
    
      CALL FUNCTION 'RSTS_CLOSE'
        EXCEPTIONS
          OTHERS = 4.
    
      IF SY-SUBRC > 0.
        EXIT.
      ENDIF.
    
    *  describe table plain_log lines line_count.
    *  if line_count = 0.
    *    raise log_is_empty.
    *  endif.
    
     

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 24, 2006 at 01:02 PM

    Hi

    try these FM

    <b>BP_JOBLOG_READ</b>

    <b>BDL_GET_SESSION_INFO_LOG</b>

    plz reward if useful

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 24, 2006 at 01:15 PM

    hii

    check the package SLOG..you will find useful function modules

    Add comment
    10|10000 characters needed characters exceeded