Symptom
You get a dump with the exception 'SAPSQL_ARRAY_INSERT_DUPREC', when a business transaction is saved.
"DBSQL_DUPLICATE_KEY_ERROR" CX_SY_OPEN_SQL_DB
"SAPLCRM_SERVICE_H_DU" bzw. LCRM_SERVICE_H_DUU01
"CRM_SERVICE_H_UPDATE_DU"
*----------------------------------------------------------------------
* Records to Insert
*-----------------------------------------------------------------------
IF NOT it_records_to_insert IS INITIAL.
INSERT crmd_service_h FROM TABLE it_records_to_insert. <<<------------ Dump Line
IF sy-subrc <> 0.
MESSAGE a002(crm_order_misc) WITH gc_object_name-service_h.
ENDIF.
ENDIF.
Read more...
Environment
- SAP Customer Relationship Management 7.0 and higher
- SAP enhancement package for SAP Customer Relationship Management
- SAP enhancement package for SAP CRM, version for SAP HANA
Product
Keywords
ORDER_SAVE, crmd_service_h, it_records_to_insert,CRM_SERVICE_H_UPDATE_DU , KBA , CRM-BTX-SVO , Service Order , CRM-BTX , Business Transactions , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.