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

How to do DUMP Analysis ?

Former Member
0 Likes
6,572

How to do DUMP Analysis ?Can anybody explain me the steps to solve the dump step by step ?

thanks

Naresh

4 REPLIES 4
Read only

Former Member
0 Likes
3,261

use ST22 trans.

click error analysis...

U will know what has cuased the dump.

if it's a standard program search SAP notes to find any relevant

notes.

if it's a standard program go to the source code extract and analyze.

place the break point at the statement and debug.

reward if it helps or revrt if any issues.

thanks

krishna

Read only

Former Member
0 Likes
3,261

Hi

A dump analysis is a comprehensive list that should enable you to identify the causes and possible solutions of program errors. The ABAP Workbench generates a short dump whenever a report or transaction terminates due to a serious error. The system enters the error in the system log and writes a snapshot of the program at the moment when it terminated into a special database table called SNAP.

Dump analyses give the user or programmer information about the causes of the error that has caused the program to terminate. Experienced users can use them to identify very quickly where and why this occurred. He or she can them solve the problem.

The snapshot contains the following information:

Why the program has terminated

What caused the program termination

Where in the program code the termination occurred

What you can do to correct the error

The values of the relevant system fields when the program terminated

The calls or events that were active when the program terminated

Any other programs that are affected.

http://help.sap.com/saphelp_nw70/helpdata/en/c6/617d0ce68c11d2b2ab080009b43351/content.htm

Index: Technical key of a database table.

Primary index: The primary index contains the key fields of the table and a pointer to the non-key fields of the table. The primary index is created automatically when the table is created in the database.

Secondary index: Additional indexes could be created considering the most frequently accessed dimensions of the table.

Structure of an Index

An index can be used to speed up the selection of data records from a table.

An index can be considered to be a copy of a database table reduced to certain fields. The data is stored in sorted form in this copy. This sorting permits fast access to the records of the table (for example using a binary search). Not all of the fields of the table are contained in the index. The index also contains a pointer from the index entry to the corresponding table entry to permit all the field contents to be read.

When creating indexes, please note that:

An index can only be used up to the last specified field in the selection! The fields which are specified in the WHERE clause for a large number of selections should be in the first position.

Only those fields whose values significantly restrict the amount of data are meaningful in an index.

When you change a data record of a table, you must adjust the index sorting. Tables whose contents are frequently changed therefore should not have too many indexes.

Make sure that the indexes on a table are as disjunctive as possible.

(That is they should contain as few fields in common as possible. If two indexes on a table have a large number of common fields, this could make it more difficult for the optimizer to choose the most selective index.)

Accessing tables using Indexes

The database optimizer decides which index on the table should be used by the database to access data records.

You must distinguish between the primary index and secondary indexes of a table. The primary index contains the key fields of the table. The primary index is automatically created in the database when the table is activated. If a large table is frequently accessed such that it is not possible to apply primary index sorting, you should create secondary indexes for the table.

The indexes on a table have a three-character index ID. '0' is reserved for the primary index. Customers can create their own indexes on SAP tables; their IDs must begin with Y or Z.

If the index fields have key function, i.e. they already uniquely identify each record of the table, an index can be called a unique index. This ensures that there are no duplicate index fields in the database.

When you define a secondary index in the ABAP Dictionary, you can specify whether it should be created on the database when it is activated. Some indexes only result in a gain in performance for certain database systems. You can therefore specify a list of database systems when you define an index. The index is then only created on the specified database systems when activated

Read only

0 Likes
3,261

Hi,

I´m searching a guide that explained the topics about the dump. I had a dump recently and tried understand it. But has a fields and topics that are strangers. For me, of course.

For example, I tried analyzed the contents of some field at THE MOMENT OF DUMP. But there are many contents. See is:

LC_PRECO                                                                                         
    ######D$gY#i####                                                                             
   0000004265860000                                                                             
   000000447949000D

What´s each one these contents(Hexadecimal?). What´s mean letter "D" at the final of number?

Have you got any documents with explanations? How do I read the fields and its contents?

Thanks a lot and of you wish I put an attachment.

Read only

0 Likes
3,261

Hi Demetrio,

The reason for the dump caused is given in the analysis only.

An overflow was discovered in an ongoing arithmetical operation with                         
    operands of type P. Possible causes are:                                                     
   
    1. The result field of type P is too small for the result.                                   
   
    2. The result or a intermediate result has more than 31 decimal places.

please check the size of variable in which your value is coming. the value may be exceeding the size defined. Hence the Dump is coming. put a breakpoint there while execution and see the value.

if value is greater than declared size, please use a bigger variable.

Thanks

Gaurav