‎2008 Oct 24 10:53 AM
Hi all,
I have SAP Material management landscape and user gets short dumps with exception.
here are the detils.
Information on where termination occurred
The termination occurred in the ABAP/4 program "SAPLYMQX " in
"Y_INSERT_TO_YMTOES_INT_DTLS".
The main program was "YM_DATA_FLEX_TO_DEMAND ".
The termination occurred in line 73
of the source code of program "LYMQXU06 " (when calling the editor 730)
========
code extract
========
insert into YMTOES_INT_DTLS values wa.
if sy-subrc <> 0.
raise insert_error.
==========
Need help in how to see why this occuring.
Edited by: Vijay Dhamera on Oct 24, 2008 11:53 AM
‎2008 Oct 24 10:55 AM
Hi,
Is wa has same structure as YMTOES_INT_DTLS.
There is a problem with insert statement.
Thanks & Regards,
Navneeth K.
‎2008 Oct 24 11:17 AM
‎2008 Oct 28 3:38 AM
User complaints some time it works and some times it does not. He said he has to keep trying.
is there any issue with SAP Buffer?
or only the programmer should look at this.
‎2008 Oct 28 8:49 AM
Hi analys the Tcode ST22 and find out the actual reason.. sometime the exception may occur if you have duplication entry in the DB table of the data u insert. or elese some DB Access problem it normally not occur;.
Try.
Thanks.
Rgds,
Jey
‎2008 Oct 28 9:03 AM
ST22 details as follows
-
Error analysis
A RAISE statement in the program "SAPLYMQX " raised the excep
condition "INSERT_ERROR".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
ERROR DURING INSERT
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
-
‎2008 Oct 28 9:06 AM
why are you raising the exception..?
insert into YMTOES_INT_DTLS values wa.
if sy-subrc ne 0.
raise insert_error.use modify instead of insert.