Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP Dump

Former Member
0 Likes
1,096

Hi,

What is abap dump ?

How to see runtime errors in ABAP ?

Bye,

muttu.

3 REPLIES 3
Read only

Former Member
0 Likes
623

You can check the same in Tcode ST22 (abap dump analysis ).

You can click on that particular dump and check the details .

regards,

vijay.

Read only

Former Member
0 Likes
623

Dynamic Check

Errors that cannot be detected statically and that occur at runtime are detected by the ABAP runtime environment. Such errors lead to exceptions. If an exception is not handled or cannot be handled, a runtime error occurs. If such a runtime error occurs, the ABAP runtime environment terminates the program, generates a short dump, and switches to a special screen from which you can analyze it.

Short dumps are divided into blocks describing different aspects of the error. In the overview, you can see what information is contained in the short dump, for example, the contents of data objects, active calls, control structures, and so on. The short dump overview also allows you to display the point in the program at which the termination occurred in the ABAP Debugger.

The following kinds of errors can occur:

· Internal error

The kernel encountered an error. In this case, inform SAP.

· Installation and environment or resource error

An error that occurred due to incorrect system installation or missing resources (for example, database closed).

· Error in application program

Typical causes:

Contents of a numeric field have the wrong format.

Arithmetic overflow.

External procedure does not exist.

Type conflict when passing parameters to an external procedure.

Short dumps are retained in the system for 14 days. Use Transaction ST22 to administer short dumps. If you want to retain a short dump beyond the default 14 days, use the Keep function. If you want to delete short dumps by a date criterion other than the default 14 days, choose Reorganize. If you display a short dump using Transaction ST22, you cannot branch to the Debugger.

If problems occur in an ABAP program that you cannot solve yourself, you can send an extract of the short dump to SAP. The contents of the short dump are essential to the SAP Hotline and Remote Consulting to enable them to solve your problem.

Read only

0 Likes
623

this description is good and useful. Let me make 2 small additions:

A program may issue messages of different types

Type I and S are just for information, they will not affect the program flow.

W - Warnings warn you about certain things. In online programs issued during screen processing the WARNING takes you back to the screen that you have to confirm the value entered or change it.

E - will stop program flow. In online programs issued during screen processing it takes you back to the screen where you have to change something to avoid the message

X - In some situations, especially those that are not planned to occur at all, the program issues an X message. Then it terminates and creates a DUMP. This is meant to help to analyze the situation and find out how this could happen.

If a DUMP occurs in online processing the program switches to dump list screen with a DEBUG button on the top. If you´hit the DEBUG button the debugger starts and is positioned to the statement where the dump occured. All programs are still loaded in memory allowing to check all fields values, call hierarchy, system and user tables and so on.

Regards,

Clemens