Skip to Content

Querying table for content in ST22.

Dear all,

I have a requirement to gather certain abap short dump e.g. like only Error Id is TIME_OUT into an xls sheet. System throws out nearly 100+ TIME_OUT error each day and we want to put that into an xls sheet. So I?m thinking to write an abap but I need help with getting started with it. Can someone out there show me the way? thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Apr 22, 2008 at 04:37 AM

    This is the query which will help you pull up the report.

    select * from snap_beg into wa_snap_beg
                where seqno = '000'
                and   datum in s_datum
                and   uzeit in s_uzeit
                and   ahost in s_ahost
                and   modno in s_wpid
                and   uname in s_uname
                and   mandt in s_mandt
                and   xhold in s_xhold
                order by datum descending uzeit descending.

    Please reward points,



    Add comment
    10|10000 characters needed characters exceeded

    • there you go...

      btw, since i'm writing to you again, table SNAP_BEG doesnt really provide alot details does it?

      i need additional info from section User, transaction like Transaction, program and user Id and also details from Information on where termination occurred

      any help on this?