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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    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 a 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?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.