比较有难度的问题

社区服务
高级搜索
猴岛论坛综合游戏交流反恐精英Online比较有难度的问题
发帖 回复
倒序阅读 最近浏览的帖子最近浏览的版块
2个回复

比较有难度的问题

楼层直达
h316338506

ZxID:10211908

等级: 上等兵
猴岛永远支持,支持永远的猴岛

举报 只看楼主 使用道具 楼主   发表于: 2010-03-26 0
请教个有难度的问题

用md02跑mrp时出错,显示:
Runtime errors:SAPSQL_ARRAY_INSERT_DUPREC;
Exception:CX_SY_OPEN_SQL_DB

The ABAP/4 Open SQL array insert results in duplicate database records.


发生了什么?


Error in ABAP application program.

The current ABAP program "SAPLM61U " had to be terminated because one of the
statements could not be executed.

This is probably due to an error in the ABAP program.


你能做什么?


Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.

To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.



错误分析
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
caught nor passed along using a RAISING clause, in the procedure
"INSERT_MDSBI_IN_MDSB" "(FORM)"
.
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL array insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.

(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)


如何更正此错误


The exception must either be prevented, caught within the procedure
"INSERT_MDSBI_IN_MDSB"
"(FORM)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
Use an ABAP/4 Open SQL array insert only if you are sure that none of
the records passed already exists in the database.

You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:

"SAPSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC
"SAPLM61U " or "LM61UF1T "
"INSERT_MDSBI_IN_MDSB"

If you cannot solve the problem yourself, please send the
following documents to SAP:

1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
-

2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.

3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.

4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.


请不吝赐教,不胜感激!
ー乐ハ拉面

ZxID:1693421

等级: 元老
随缘、顺其自然!

举报 只看该作者 沙发   发表于: 2010-03-26 0
真的很有难度吔!  
hq634206833

ZxID:11421395

等级: 上等兵
举报 只看该作者 板凳   发表于: 2010-03-26 0
看不懂
« 返回列表
发帖 回复