Solution : https://service.sap.com/sap/support/notes/88022 (SAP Service marketplace login required)
Key words : 
clearing brings error g4016, additional key words jva, set thedebit/credit indicator, fi integration manager    20c_hp4, symptom transaction f-04, positive transaction currency, integration manager, wrong indicator, local currency, prerequisites solution
Related Notes : 
       
| 134590 | G4016/G4017 in posting with clearing. | 
| 93554 | @3Z@ 4. collective oil fixes/transports after HP34 |