Skip to Content
avatar image
Former Member

tcode ST22 & SM21??

Hello All,

I want to know what are the uses of t-code st22 & sm21??st22-ABAP dump Analysis,so what exactlly is ABAP dump??sm21-Online system log.What are the things that come inside SM21??Can we view an offline system log??

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 23, 2008 at 07:26 AM

    > I want to know what are the uses of t-code st22 & sm21??

    ST22 is used to check and analyze the abap run time errors (program errors or exceptions) SM21 is the system log where you get error related to the system.

    > st22-ABAP dump Analysis,so what exactlly is ABAP dump??

    ABAP dump as mentioned earlier is runtime error which occours due to the exception or error in abap program, Using abap dump, you will be able to find out which part of the abap code created the problem. If its in a standard program, the fix might be in an sap note which you might have to apply. you will be able to find the note using the error details in the dump. If its a custom program (z program) , the programmer will be able to understand which part of the code went wrong.

    > sm21-Online system log.What are the things that come inside SM21??

    SM21 covers the system related error like errors related to system, some database connectivity issue, network timeout etc etc.

    > Can we view an offline system log??

    Physically, you can find the file in the location mentioned in the parameter rslg/local/file in SAP. the naming convention is usually SLOG<SAPSYSTEM number>

    http://help.sap.com/saphelp_erp2005vp/helpdata/EN/1f/8311784bc511d189750000e8322d00/frameset.htm

    Regards,

    Jazz

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      ABAP dumps and runtime error happens when there is an error in the program which runs. It can be due to the problem in the Z program (custom transaction or report etc..) or if the error is in the standard SAP program, it might be a bug in which there will be solution in a SAP note which corrects the problem when implemented.

      Abap dumps can also happen due to other reason like time out, memory parameter set wrong , or if an illegal value ( which the program cannot process) is passed on to the program. there can be several reasons for abap dumps. So, from ST22, you will be able to analyze and find out what caused the error.

      Regards,

      Jazz

  • avatar image
    Former Member
    Dec 23, 2008 at 07:24 AM

    Hello Ashley,

    ST22- Abap dump analysis : this is basically used for analysing abap dumps which have occurred in system it may be a abap report getting executed and coming up with dump during execution.

    you can chek the error analysis provided by SAP in that or else check for SAP notes as per the error.

    SM21 - System log : these are system generated messages which comes as soon as the system is started. It may include user locked messages, update failures, abap dumps, network errors etc.

    let me know if you have further query.

    Cheers,Amber S

    Add comment
    10|10000 characters needed characters exceeded