Skip to end of metadata
Go to start of metadata

Purpose

The purpose of this troubleshooting Wiki is to instruct SAP customers on how to analyse ABAP dumps.

Overview

How to troubleshoot ABAP Dumps on an application server.

Troubleshooting

When looking at an ABAP system, you can sometimes come across different runtime errors in Transaction ST22:

Clicking into the "Today" or "Yesterday" tab will bring up all the ABAP Runtime errors you have encountered in the past 2 days.

You can also filter the dates for a particular dump by using the filter feature:

Here are some examples of runtime errors you might see in the ST22 transaction:

So from looking at these dumps, you can see 

1: Category

2: Runtime Errors

3: ABAP Program

4: Application Component

5: Data & Time.

The ST22 dumps do not not really give you much information here so more information will be needed.

For more information you will then look into the Dev_W files in the transaction ST11

ST11 transaction allows you to look further into the Dev_w files relating to the dumps in ST22:

To find the work Dev_w file that corresponds with the dump, you can see this is the ST22 dump.

Go to the transaction ST22 > click on the Runtime Errors for "Today", "Yesterday" or a filter. This will bring up the specific dump you wish to analyse.

Here you will see 11 columns like so:

Here you can see the columns I have mentioned. The Work Process Index number you need is in the column named WP Index.

Once you find the dev_w index number you can then go to ST11 and find further information:

In the ST11 Dev_w files you have to match the time of the dump in ST22 with the recorded times in the Dev_w process files.

If there no useable information in the Dev_W files, the next step would be to analyse the issue from the Database side.

To analyse from the Database side:

1: Open HANA Studio in SAP HANA Administration Console View

 

 2: Check the diagnosis trace files in accordance with the time stamp of the dump you saw previously in ST22. To do this we have to go to the Diagnosis Files tab in HANA Studio:

 

 3: Check the time stamp from the ST22 dump (Date and Time), and then match this accordingly with the time in either the Indexserver.trc or nameserver.trc.

Search for the corresponding time stamp mentioned above i.e. 18/11/2015 @ 10:38:46.

Searching the nameserver log files can be a good indication of whether your ST22 is related to network issues, you may see errors such as:

TrexNet  Channel.cpp(00339) : ERROR: reading from channel 151 <127.0.0.1:<host>> failed with timeout error; timeout=10000 ms elapsed [73973]{-1}[-1/-1] 2015-01-28 01:58:55.208048 e TrexNetBuffer    BufferedIO.cpp(01092) : channel 151 from <127.0.0.1:<host>>: read from channel failed; resetting buffer

If you would like to skip the scrolling to find the information you could also use the below SQL:

Select top 500 service_name, timestamp, trace_text from m_merged_traces where service_name in ('indexserver', 'nameserver') and timestamp between '2015-11-18 10:40:00' and '2015-11-18 10:59:00'

If you do find some errors similar to the above, firstly check which host the error is pointing to and check whether or not this service was available at the time of the dump.

If this does not yield any useful information, the next step is to consult your network team to look into this further. Checking the var/logs/messages is always a great place to start.

When searching through the indexserver.trc file, you could notice some irregularities recorded here. The next step is to search this error on the SAP Service Market Place for a known KBA or Note (Learn how to search more effectively 2081285 - How to enter good search terms to an SAP search? )

Related Notes / KBA's

For Database related short dumps in SAP HANA environments including references to related SAP Notes and possible analysis details and resolutions, please check the KBA below: 

2399990 - How-To: Analyzing ABAP Short Dumps in SAP HANA Environments

Troubleshooting '10108' errors

Troubleshooting '10709' errors

Related Documents

SAP HANA Platform - Documentation regarding HANA installation, upgrade, administration & development is available 

SAP Answers - Provides a powerful source of knowledge to anyone who has an unanswered question.

SAP HANA Troubleshooting WIKI - Documentation regarding Troubleshooting guides, technical information, feature KBAs/SAP Notes, and much more. 

SAP Community - Stay up to date with the latest Community news, projects, and features.

2081285 - How to get best results from an SAP search? - Learn how to search more effectively

__________________________________________________________________________________________________________

 

  • No labels