Solution : https://service.sap.com/sap/support/notes/660572 (SAP Service marketplace login required)
Key words : 
attached source code corrections, service team, service employees, processing period, termination occurs, message 5w170, agent found, solution implement, structure 01, 50013858 dispores
Related Notes : 
       
| 696262 | CRM 4.0 SP Stack 1/2004 (SAPKU40004): Release & Info. Note | 
| 677456 | SAPKU40003: Support Package 03 for CRM 4.0 |