SAP ABAP Message Class /SCMB/DOCFLOW Message Number 040 (Copying of data from table &1 into &2 failed due to duplicate key)
Hierarchy
PI_BASIS (Software Component) Basis Plug-In
   SCM-BAS-DF (Application Component) Cross-System and Cross-Partner Document Flow
     /SCMB/FLOW_BASIS (Package) Document Flow, Base
Attribute
Message class /SCMB/DOCFLOW  
Short Description Document Flow: Messages    
Message Number 040  
Documentation status       Space: object requires documentation
Authorization check Error Message      
Changed On 20110908   
Message Text
Copying of data from table &1 into &2 failed due to duplicate key
Help Document

Diagnosis

There are records in the target table with the same key as records that are about to be imported from the source client.

System Response

Procedure

Since there is a duplicate key problem, compare the datasets for the given category in both the source and the target client and decide which version you want to have in the target system.

Then run the post-processing report for document flow client copy (/SCMB/FLOW_CC_POST_PROCESS) and choose the option you want to use to clean up the duplicate situation.

Procedure for System Administration

History
Last changed on/by 20110908  SAP 
SAP Release Created in   2002_1_620