Skip to Content

AM897 - Internal error - insert in sorted tabl ZADRT

Apr 20 at 08:42 AM


avatar image
Former Member

Hi exports!~

there have a runtime error when I use XK02 or XK03 . at the init screen(XK02,XK03), I input a vender number, and press ENTER. there must be a DUMP,like this:

and then ,when I use ST22 to view the dump detail infomation,I found the message AM897 type X:

we have patched the system note (number:436119),but it is not work.

I search this problem,and found the note number is 369091, I'm not sure.

Plz tell me how to solve it.

Thanks !!

st22-eror.png (10.4 kB)
st22-error2.png (12.9 kB)
abap | am | am897
10 |10000 characters needed characters left characters exceeded

Hello, ZADRT is a custom element; I recommend working with one of your ABAP developers to troubleshoot further and fix

Former Member
Tammy Powlas

Thank you very much!!

In SAP system,there have no data element、domai,etc.

and "ZADRT" in program :

DATA: BEGIN OF zadrt OCCURS 0. "Dateninhalt auf der DB


DATA: END OF zadrt.

so I think maybe this is a System Error.~


* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jürgen L Apr 20 at 09:59 AM

Read the first 50 lines of the dump, it has hints to approach this problem, it tells you for example the key words to search for OSS notes.

All OSS notes based on a search with either AM897 or ZADRT return notes with program fixes, except the note that you already mentioned and this note which has as well an analysis and cleansing report for inconsistencies: 412258 - SU01 : sapsql_array_insert_duprec runtime error

So if this report from 412258 does not help then open a call at SAP as the chance for another bug is high.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

thank you very much for answer my question!!

in my st22 shutdump info,there is:


If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following keywords:


"SAPLSZA1" or "LSZA1O02"


Transaktion......... "XK02 "

Programm............ "SAPLSZA1"

Dynpro.............. "SAPLSZA1 0301"

Dynprozeile......... 4

Termination occurred in the ABAP program "SAPLSZA1" - in "D0100_READ_ADDRESS".

The main program was "SAPMF02K ".

In the source code Row 1884

(after call function 'ADDR_COMM_GET')


At last,thank you very much!