DBSQL_DUPLICATE_KEY_ERROR LV45UF0K LV45UF0KKONV_BEARBEITEN

  • A+
所属分类:Notes

错误信息:

类别 ABAP 编程错误
运行时错误 DBSQL_DUPLICATE_KEY_ERROR
异常 CX_SY_OPEN_SQL_DB
ABAP 程序 SAPLV45U
应用组件 SD-SLS

INSERT KONV FROM TABLE FXKOMV.
MESSAGE A100 WITH 'KONV' SY-SUBRC.

 

参考资料:

https://zh.scribd.com/document/363878464/154638-SQL-Array-Insert-Duprec-Lv45uf0k

https://archive.sap.com/discussions/thread/771117

https://helponabap.blogspot.jp/2009/06/sample-program-to-create-sales-order_18.html

 

解决方法:

在调用 BAPI_SALESORDER_CREATEFROMDAT2等销售订单相关的bapi前,先调用函数SD_SALES_DOCUMENT_INIT.

 

 

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: