2008 Nov 19 1:08 AM
hI
Can any one explain me the key feautres in analyzing short dumps if we get for any ABAP program.
Thanks.
Venkat.
hI
Can any one explain me the key feautres in analyzing short dumps if we get for any ABAP program.
Thanks.
Venkat.
2008 Nov 19 1:26 AM
2008 Nov 19 1:44 AM
Hi,
For me, I will read the error description and go to the error code line to see whether I make the mistake.
Regards,
Chris Gu
2008 Nov 19 1:56 AM
write the short dump error completely here then we can suggest u which porblem is that..
2008 Nov 19 6:57 AM
ABAP Dump Analysis (ST22)
All the data saved in SNAP table. & text messages saved in SNAPT.
ABAP Dumps is the default workspace for the Logs and ABAP Dumps navigator group. The ABAP Dumps workspace provides status information for each mySAP ABAP dump generated for the mySAP managed system that you are monitoring. ABAP Dumps is a predefined workspace that contains the following specific information for each dump:
u2022 Program associated with the dump
u2022 Host computer where the dump originated
u2022 User who created the dump
u2022 Date and time the dump was created
u2022 Names of the instances associated with ABAP dumps
u2022 Summary count of dumps by program
u2022 Summary count of dumps by user
You can use the data for specific dumps for the following purposes:
u2022 Identify the number of ABAP dumps generated for a specific mySAP instance
u2022 Identify runtime problems that are occurring on your system
The workspace table view has predefined launch definitions. You can use the launch definitions to run the following transactions on the mySAP system:
Some common dumps : -
1) COMPUTE_INT_TIMES_OVERFLOW
Whole number overflows on multiplication & addition operation.
Always Declare Result field Larger.
per = ( act / budget ) * 100.
bal = it_out1-balance + bal .
pr = it_out1-t_wtext_pr + pr
2) COMPUTE_BCD_OVERFLOW
A value does not fit in a calculation field.
You may need to define the result field to be larger.
1. Showu2019s error on internal table. (multiplication & addition)
3) Time out
Reason for error:-
After a certain time, the program terminates to free the work process
for other users who are waiting.
2. The current setting is 1800 seconds.
3. Primary Index not Used & Sequencing not proper.
4. Avoid Nested Loops.
5. Avoid to use select single in loops
6. Avoid using INTO CORRESPONDING TO
7. Avoid using SELECT in loops.
8. SORT the internal table always and use BINARY SEARCH.
9. for all entries that time check SY-TFILL.
4) DBIF_RSQL_INVALID_RSQL
The data read during a SELECT access could not be inserted into the
target field.
Check the Sequence of the select Query field & internal table fields.
5) DBIF_DSQL2_OBJ_UNKNOWN
Because of Database is not properly connected to Level 2 server.
1) when ur using set Connection command to connect Level 2 server
That time check the value of Sy-subrc = 0 .
6) SAPSQL_ARRAY_INSERT_DUPREC
Its show the Error when you are going to insert duplicates record in database using
Insert command.
There are three ways to solve this problem.
1 Delete adjacent duplicate.
ii. Insert ACCEPTING DUPLICATE KEYS
iii. modify command
7. CONVT_NO_NUMBER
Solution:-The program attempted to interpret the value "RTGS " as a number, but
since the value contravenes the rules for correct number formats,
this was not possible.
1. put Input Validation using If Query
2. when programmer try to pass the Char value to num field
3. or trying to perform Pack or unpack operation on Char. Fields.
8. CALL_TRANSACTION_NOT_FOUND
Transaction " " is not listed in the table of transaction codes
The current ABAP/4 program uses CALL TRANSACTION to call the Transaction
& Leave to Transaction
" ".
Table TSTC (Transactions) contains no entry for the Transaction " ". This could be due to a program error (incorrect transaction code specified).
Ensure that upper/lower case is correct.
1. Use capital Values because itu2019s case sensitive.
9) Table_invalid_index.
When you are going to perform Read Insert, update, Delete operation Using index Value & index value = 0. That time it shows this error.
Check the index value is less then or equal to zero.
10) DATASET_CANT_OPEN
OPEN DATASET / TRANSFER / CLOSE DATASET
Check Sy-subrc = 0.
11 LIST_TOO_MANY_LPROS
At present, the maximum permitted number of nested screen levels is
restricted to 50.
Set by BASIS.
Use leave to transaction u2018Tcodeu2019 to close all Screens at the end of the program.
12 . DBIF_DSQL2_SQL_ERROR
Because of Database is not properly connected to Level 2 server.
1 when ur using set Connection command to connect Level 2 server
That time check the value of Sy-subrc = 0 .
2008 Nov 19 7:01 AM
Hi
feautres in analyzing short dumps
It will be giving exact exception name
it will give in which program and at which line the error had occured
and it suggest you to change the code and if not possible like SAP standard program it will give search critieria for serive market place.
2008 Nov 19 7:03 AM
hi,
The best option is to read the short dump message most of the time it gives the reason which we can understand and will be able to solve
If ur unable to then go for dump analysis st22
shiva
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |