Solution : https://service.sap.com/sap/support/notes/602138 (SAP Service marketplace login required)
Key words : 
special sort statement, source code corrections, idoc data correctly, terms idoc, segment editor, transaction we31, documentation tool, transaction we60, segment fields, table edsappl
Related Notes : 
       
| 1381112 | |
| 392165 | iSeries: Known problems under V5R1M0/V5R2M0 |