Solution : https://service.sap.com/sap/support/notes/532563 (SAP Service marketplace login required)
Key words : 
table <tablename> occuredorn duplicate key errors, table <tablename> occuredn represents, 1 duplicate key error, duplicate key reason, tp programs terminate, rtab interface - similar, primary key, rtab interface, tp programs, rsql interface
Related Notes : 
       
| 1074030 | R3trans: "Duplicate key" composite SAP note (as of Rel 6.10) | 
| 88656 | R3trans: Duplicate key composite SAP note (Release 4.0-4.6) |